在达梦数据迁移工具中,对迁移字符集描述正确的是:--sybase迁dm,可以在url指定字符集
DM8数据守护故障自动切换,当备机实例故障时,通过监视器看到主机守护进程的状态变化为:--OPEN>FAILOVER>OPEN
DM8数据守护故障自动切换,当主机实例故障时,通过监视器看到主机守护进程的状态变化为:--OPEN>STARTUP
DM8数据守护故障自动切换,当备机实例故障修复后,重加入DM数据守护时,通过监视器看到备机守护进程的状态变化为:--STARTUP>OPEN
DM8数据守护故障自动切换,当主机内部网络发生故障时,通过监视器看到备机守护进程的状态变化为:--OPEN>FAILOVER>OPEN>OPEN>RECOVERY>OPEN
DM8数据守护故障自动切换,当备机公共网络发生故障时,通过监视器看到备机守护进程的状态变化为:--不变化
DM8数据守护中,监视器的作用不包括:--重启数据库服务
DM8数据守护故障自动切换,当主机实例故障时,通过监视器看到备机守护进程的状态变化为:--OPEN>FAILOVER>OPEN
DM8数据守护故障自动切换,当备机实例故障修复后,重加入DM数据守护时,通过监视器看到主机守护进程的状态变化为:--OPEN>RECOVERY>OPEN
执行dimp逻辑导入操作时,以下哪个参数必须在FAST_LOAD为Y时有效?--TABLE_PARALLEL
/dm8_new/bin/dminit path=/dm8_new/data2 db_name=DAMENG instance_name=DM2 port_num=6236
/dm8_new/script/root/dm_service_installer.sh -t dmserver -p DM2 -dm_ini /dm8_new/data2/DAMENG/dm.ini
PS:NO START TWO DATABASES NOW.
2.SCP BACKUP FILE FROM PRIMARY DATABASE TO STANDBY DATABASE:
/dm8_new/bin/dmrman
backup database '/dm8_new/data/DAMENG/dm.ini' full to backup_file1 backupset '/dm8_new/backup'
scp /dm8_new/backup/* root@x.x.x.x:/dm8_new/backup2/
restore database '/dm8_new/data2/DAMENG/dm.ini' from backupset '/dm8_new/backup2'
recover database '/dm8_new/data2/DAMENG/dm.ini' from backupset '/dm8_new/backup2'
recover database '/dm8_new/data2/DAMENG/dm.ini' update db_magic
vim dmmal.ini
MAL_CHECK_INTERVAL = 5
MAL_CONN_FAIL_INTERVAL = 5
[MAL_INST1]
MAL_INST_NAME = DMSERVER
MAL_HOST = 192.168.23.81
MAL_PORT = 55101
MAL_INST_HOST = 192.168.23.81
MAL_INST_PORT = 5236
MAL_DW_PORT = 65101
MAL_INST_DW_PORT = 45101
[MAL_INST2]
MAL_INST_NAME = DM2
MAL_HOST = 192.168.23.81
MAL_PORT = 55121
MAL_INST_HOST = 192.168.23.81
MAL_INST_PORT = 6236
MAL_DW_PORT = 65121
MAL_INST_DW_PORT = 45121
mkdir /dm8_new/arch
vim dmarch.ini
[ARCHIVE_REALTIME]
ARCH_TYPE = REALTIME
ARCH_DEST = DM2
[ARCHIVE_LOCAL1]
ARCH_TYPE = LOCAL
ARCH_DEST = /dm8_new/arch
ARCH_FILE_SIZE = 128
ARCH_SPACE_LIMIT = 0
vim dmwatcher.ini
[GRP_SVR]
DW_TYPE = GLOBAL
DW_MODE = AUTO
DW_ERROR_TIME = 10
INST_RECOVER_TIME = 60
INST_ERROR_TIME = 10
INST_OGUID = 453331
INST_INI = /dm8_new/data/DAMENG/dm.ini
INST_AUTO_RESTART = 1
INST_STARTUP_CMD = /dm8_new/bin/dmserver
RLOG_SEND_THRESHOLD = 0
RLOG_APPLY_THRESHOLD = 0
SP_SET_PARA_VALUE(1,'ALTER_MODE_STATUS',1);
sp_set_oguid(453331);
SP_SET_PARA_VALUE(1,'ALTER_MODE_STATUS',0);
alter database primary;
5.CONFIG STANDBY DATABASE FILES:
vim dm.ini
MAL_INI = 1
ARCH_INI = 1
vim dmmal.ini
MAL_CHECK_INTERVAL = 5
MAL_CONN_FAIL_INTERVAL = 5
[MAL_INST1]
MAL_INST_NAME = DMSERVER
MAL_HOST = 192.168.23.81
MAL_PORT = 55101
MAL_INST_HOST = 192.168.23.81
MAL_INST_PORT = 5236
MAL_DW_PORT = 65101
MAL_INST_DW_PORT = 45101
[MAL_INST2]
MAL_INST_NAME = DM2
MAL_HOST = 192.168.23.81
MAL_PORT = 55121
MAL_INST_HOST = 192.168.23.81
MAL_INST_PORT = 6236
MAL_DW_PORT = 65121
MAL_INST_DW_PORT = 45121
mkdir /dm8_new/arch2
vim dmarch.ini
[ARCHIVE_REALTIME]
ARCH_TYPE = REALTIME
ARCH_DEST = DMSERVER
[ARCHIVE_LOCAL1]
ARCH_TYPE = LOCAL
ARCH_DEST = /dm8_new/arch2
ARCH_FILE_SIZE = 128
ARCH_SPACE_LIMIT = 0
vim dmwatcher.ini
[GRP_SVR]
DW_TYPE = GLOBAL
DW_MODE = AUTO
DW_ERROR_TIME = 10
INST_RECOVER_TIME = 60
INST_ERROR_TIME = 10
INST_OGUID = 453331
INST_INI = /dm8_new/data2/DAMENG/dm.ini
INST_AUTO_RESTART = 1
INST_STARTUP_CMD = /dm8_new/bin/dmserver
RLOG_APPLY_THRESHOLD = 0
7.CREATE WATCHER SERVICE:
/dm8_new/script/root/dm_service_installer.sh -t dmwatcher -p DMWATCHER -watcher_ini /dm8_new/data/DAMENG/dmwatcher.ini -m mount -p DMSERVER
systemctl start DmWatcherServiceDMWATCHER
/dm8_new/script/root/dm_service_installer.sh -t dmwatcher -p DMWATCHER -watcher_ini /dm8_new/data2/DAMENG/dmwatcher.ini -m mount -p DM2
systemctl start DmWatcherServiceDM2.service
8.CONFIG MONITOR FILE:
vim dmmonitor.ini
MON_DW_CONFIRM = 1
MON_LOG_PATH = /dm8_new/data2/log
MON_LOG_INTERVAL = 60
MON_LOG_FILE_SIZE = 32
MON_LOG_SPACE_LIMIT = 0
[GRP_SVR]
MON_INST_OGUID = 453331
MON_DW_IP = 192.168.23.81:65101
MON_DW_IP = 192.168.23.81:65121
/dm8_new/bin/dmmonitor /dm8_new/data2/DAMENG/dmmonitor.ini
/dm8_new/script/root/dm_service_installer.sh -t dmmonitor -p DMMONITOR -monitor_ini /dm8_new/data2/DAMENG/dmmonitor.ini
systemctl start DmMonitorServiceDMMONITOR
9.TEST SYNCHRONIZING DATA AND SWITCHOVER BY MONITOR:
10.LOGIN ORDINARY MONITOR AND SWITCHOVER:
vim /dm8_new/data/DAMENG/dmmonitor.ini
MON_DW_CONFIRM = 0
/dm8_new/bin/dmmonitor /dm8_new/data/DAMENG/dmmonitor.ini
login
SYSDBA
SYSDBA
choose switchover
switchover DM2
文章
阅读量
获赞