1. scp hdq\\[email protected]:/home/HDQ/guo/dm
2、cd work
3、mount -o loop sm8_.iso /home/work/dmdb
4、ll
5、cd dmdb
6、rm -rf dmdb
7、
[root@localhost ~]# groupadd dinstall
[root@localhost ~]# useradd -g dinstall -m -d /home/dmdba -s /bin/bash dmdba
8、
[root@localhost ~]# cat >>/etc/security/limits.conf <<EOF
dmdba soft nproc 2047
dmdba hard nproc 16384
dmdba soft nofile 65536
dmdba hard nofile 65536
dmdba soft stack 10240
EOF
rm -rf /home/work/dmdb
9、
Character interface installation ( also need to modify the three parameters in the above dm.ini file and restart the database )
install software
chmod +x DMInstall.bin
Run install
./DMInstall.bin -i (In this process, default values are used in many places, so just press Enter )
Initialize the database
cd /home/dmdba/dmdbms/bin
./dminit db_name=DMDB path=/home/dmdba/dmdbms/data page_size=16 extent_size=16 case_sensitive=1 charset=1
Registration Service
(Executed as root)
----DM 7 version
/home/dmdba/dmdbms/script/root/dm_service_installer.sh -t dmserver -p DMSERVER -i /home/dmdba/dmdbms/data/DMDB/dm.ini -m open
---DM 8 version
/home/dmdba/dmdbms/script/root/dm_service_installer.sh -t dmserver -p DMSERVER -dm_ini /home/dmdba/dmdbms/data/DMDB/dm.ini
Change parameters
* Modify the three parameter configurations of the dm.ini file (very important) (use /user to find the corresponding field, use i to modify, esc to exit writing, and wq to save the modification)
vim /home/dmdba/dmdbms/data/DMDB/dm.ini
COMPATIBLE_MODE = 2
PK_WITH_CLUSTER = 0
EXCLUDE_RESERVED_WORDS = link,array,list
COMM_VALIDATE = 0
1. Stop all applications, databases, and database sessions first
2. The database starts and stops normally,
3. If the dmap service is not started, you need to start it
./DmAPservice start under bin
After that, backup according to Lu Xiao's, and then put the data in the springboard according to the far head, and then take it off from the springboard
Note: The installation and deployment paths of the main and standby machines must be exactly the same
dm.ini is under data