<DATABASE>
<LANGUAGE>enLANGUAGE>
<TIME_ZONE>+08:00TIME_ZONE>
<KEY/>
<INSTALL_TYPE>0INSTALL_TYPE>
<INSTALL_PATH>/dm8/dmdbmsINSTALL_PATH>
<INIT_DB>YINIT_DB>
<DB_PARAMS>
<PATH>/dm8/dmdbms/dataPATH>
<DB_NAME>DAMENGDB_NAME>
<INSTANCE_NAME>DMSERVERINSTANCE_NAME>
<PORT_NUM>5236PORT_NUM>
<CTL_PATH>/dm8/dmdbms/data/DAMENG/dm.ctlCTL_PATH>
<LOG_PATHS>
<LOG_PATH>/dm8/dmdbms/data/DAMENG/DAMENG01.logLOG_PATH>
<LOG_PATH>/dm8/dmdbms/data/DAMENG/DAMENG02.logLOG_PATH>
LOG_PATHS>
<EXTENT_SIZE>16EXTENT_SIZE>
<PAGE_SIZE>8PAGE_SIZE>
<LOG_SIZE>256LOG_SIZE>
<CASE_SENSITIVE>YCASE_SENSITIVE>
<CHARSET>0CHARSET>
<LENGTH_IN_CHAR>0LENGTH_IN_CHAR>
<USE_NEW_HASH>1USE_NEW_HASH>
<SYSDBA_PWD/>
<SYSAUDITOR_PWD/>
<SYSSSO_PWD/>
<SYSDBO_PWD/>
<TIME_ZONE>+08:00TIME_ZONE>
<PAGE_CHECK>0PAGE_CHECK>
<EXTERNAL_CIPHER_NAME/>
<EXTERNAL_HASH_NAME/>
<EXTERNAL_CRYPTO_NAME/>
<ENCRYPT_NAME/>
<RLOG_ENC_FLAG>NRLOG_ENC_FLAG>
<USBKEY_PIN/>
<BLANK_PAD_MODE>0BLANK_PAD_MODE>
<SYSTEM_MIRROR_PATH/>
<MAIN_MIRROR_PATH/>
<ROLL_MIRROR_PATH/>
<PRIV_FLAG>0PRIV_FLAG>
<ELOG_PATH>/dm8/dmdbms/data/DAMENGELOG_PATH>
DB_PARAMS>
<CREATE_DB_SERVICE>YCREATE_DB_SERVICE>
<STARTUP_DB_SERVICE>YSTARTUP_DB_SERVICE>
DATABASE>root执行DMInstall
执行DMInstall.bin
要注册数据库服务和启动数据库服务,故root执行
[root@dmdb1 dmiso]#
[root@dmdb1 dmiso]# ./DMInstall.bin -q /home/dmdba/db.xml
Extract install files.........
2022-05-07 16:11:42
[INFO] Installing DM DBMS...
2022-05-07 16:11:43
[INFO] Installing BASE Module...
2022-05-07 16:11:45
[INFO] Installing SERVER Module...
2022-05-07 16:11:45
[INFO] Installing CLIENT Module...
2022-05-07 16:11:45
[INFO] Installing DRIVERS Module...
2022-05-07 16:11:45
[INFO] Installing MANUAL Module...
2022-05-07 16:11:46
[INFO] Installing SERVICE Module...
2022-05-07 16:11:47
[INFO] Move log file to log directory.
2022-05-07 16:11:47
[INFO] Change the power of installtion directory successfully.
2022-05-07 16:11:48
[INFO] Starting DmAPService service...
2022-05-07 16:11:48
[INFO] Start DmAPService service successfully.
2022-05-07 16:11:48
[INFO] Installed DM DBMS completely.
2022-05-07 16:11:51
[INFO] Creating database...
2022-05-07 16:11:54
[INFO] Create database completed.
2022-05-07 16:11:54
[INFO] Creating database service...
2022-05-07 16:11:55
[INFO] Create database service completed.
[root@dmdb1 dmiso]#
[root@dmdb1 dmiso]#
[root@dmdb1 dmiso]#
[root@dmdb1 dmiso]#
验证部署
[dmdba@dmdb1 dmiso]$ disql
disql V8
username:
password:
Server[LOCALHOST:5236]:mode is normal, state is open
login used time : 2.019(ms)
SQL> select sysdate from dual;
LINEID SYSDATE
---------- -------------------
1 2022-05-07 16:13:29
used time: 1.876(ms). Execute id is 53700.
SQL> select * from v$version;
LINEID BANNER
---------- -------------------------
1 DM Database Server 64 V8
2 DB Version: 0x7000c
used time: 0.712(ms). Execute id is 53701.
SQL> exit
[dmdba@dmdb1 dmiso]$
[dmdba@dmdb1 dmiso]$
[dmdba@dmdb1 dmiso]$ ps -ef |grep 76313
dmdba 76313 1 5 16:12 ? 00:00:03 /dm8/dmdbms/bin/dmserver path=/dm8/dmdbms/data/DAMENG/dm.ini -noconsole
dmdba 76405 2274 0 16:13 pts/1 00:00:00 grep --color=auto 76313
[dmdba@dmdb1 dmiso]$
更多资讯 达梦社区 https://eco.dameng.com
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)