- 物理ホスト
vim /etc/opt/jp1imm/conf/imm_operationlog.conf
[JP1_DEFAULT\JP1IMM\OPERATION]
"ENABLE"=dword:00000001
"LOGFILEDIR"="/var/opt/jp1imm/log/operationlog"
"LOGSIZE"=dword:00000005
"LOGFILENUM"=dword:0000000A
/opt/jp1base/bin/jbssetcnf /etc/opt/jp1imm/conf/imm_operationlog.conf
/etc/opt/jp1cons/jco_stop
/etc/opt/jp1cons/jco_start
/opt/jp1cons/bin/jco_spmd_status
--動作確認
ls -ltr /var/opt/jp1imm/log/operationlog
tail -f /var/opt/jp1imm/log/operationlog/imm_operation.log
- 論理ホスト
mkdir -p /mnt/sdc2/im/jp1imm/log/operationlog
cp -p /etc/opt/jp1imm/conf/imm_operationlog.conf /mnt/sdc2/im/imm_operationlog.conf
vim /mnt/sdc2/im/imm_operationlog.conf
[mmm190\JP1IMM\OPERATION]
"ENABLE"=dword:00000001
"LOGFILEDIR"="/mnt/sdc2/im/jp1imm/log/operationlog"
"LOGSIZE"=dword:00000005
"LOGFILENUM"=dword:0000000A
/opt/jp1base/bin/jbssetcnf /mnt/sdc2/im/imm_operationlog.conf
--待機系への反映
共通定義情報の出力
/opt/jp1base/bin/jbsgetcnf -h mmm190 > /root/jbscnf.txt
scp /root/jbscnf.txt mmm192:/root
共通定義情報の取り込み
ssh mmm192 "/opt/jp1base/bin/jbssetcnf /root/jbscnf.txt"
/etc/opt/jp1cons/jco_stop.cluster mmm190
/etc/opt/jp1cons/jco_start.cluster mmm190
/opt/jp1cons/bin/jco_spmd_status -h mmm190
--動作確認
ls -ltr /mnt/sdc2/im/jp1imm/log/operationlog
tail -f /mnt/sdc2/im/jp1imm/log/operationlog/imm_operation.log