# Hitachi Command Control Interface

# Procedure of BCV Backup Oracle Database

  1. Resync BCVs with Production.
  2. Put Production Oracle Databases in Hot Backup Mode.
  3. Split BCVs.
  4. Take Production Oracle Databases out of Hot Backup Mode.
  5. Backup Files.

# Installing the CCI software

RedHat 8.7
HS042_110.iso

Installing the CCI software into the root directory.

~]# mkdir /tmp/mnt
~]# mount -t iso9660 -o loop /soft/HS042_110.iso /tmp/mnt
~]# cd /
~]# cpio -idmu < /tmp/mnt/LINUX/X64/RMHORC
~]# /HORCM/horcminstall.sh

Verify installation of the proper version using the raidqry command:

~]# raidqry -h
Model  : RAID-Manager/Linux/x64
Ver&Rev: 01-69-03/02
Usage  : raidqry [options] for HORC

# Configuring for HORCM

  • /etc/horcm10.conf
HORCM_MON
#ip_address             service                 poll(10ms)     timeout(10ms)
127.0.0.1           30100/udp               -1             3000

HORCM_CMD
#dev_name                dev_name                dev_name
#out-band method
#\\.\IPCMD-192.168.3.251-31001
#\\.\IPCMD-192.168.3.252-31001
#in-band method
\\.\CMD-411890:/dev/

HORCM_LDEV
#dev_group      dev_name        Serial#         CU:LDEV(LDEV#)       MU#
CCI    LUN001   411890   01:00     0
CCI    LUN002   411890   01:01     0

HORCM_INST
#dev_group        ip_address      service
CCI         127.0.0.1           30200/udp
  • /etc/horcm20.conf
HORCM_MON
#ip_address             service                 poll(10ms)     timeout(10ms)
127.0.0.1           30200/udp             -1             3000

HORCM_CMD
#dev_name                dev_name                dev_name
#out-band method
#\\.\IPCMD-192.168.3.251-31001
#\\.\IPCMD-192.168.3.252-31001
#in-band method
\\.\CMD-411890:/dev/

HORCM_LDEV
#dev_group      dev_name        Serial#         CU:LDEV(LDEV#)       MU#
CCI    LUN001   411890   02:00     0
CCI    LUN002   411890   02:01     0

HORCM_INST
#dev_group        ip_address      service
CCI       127.0.0.1        30100/udp
  • Pair
paircreate -IM10 -g CCI -vl -c 10 -m grp
pairdisplay -IM10 -g CCI -fxcm
pairsplit -IM10 -g CCI
pairresync -IM10 -g CCI

# Scripts

・ 0_HORCM.sh
・ 1_umount.sh
・ 2_pairresync.sh
・ 3_beginbackup.sh
・ 4_pairsplit.sh
・ 5_endbackup.sh
・ 7_pairdisplay.sh
・ 8_mount.sh
・ active_vg.sh
・ bcv.sh
・ inactive_vg.sh
・ startup_inst.sh

# Crontab

# Hitach ShodowImage Pairresync
00 20 * * * /HORCM/script/SLMS/bcv.sh >/HORCM/script/SLMS/log/bcv.`date +\%Y\%m\%d\%H\%M`.log 2>&1

# Setting Command Devices (In-Band Method)

CCI commands are issued by the CCI software to the RAID storage system command device.

The volume designated as the command device is used only by the storage system and is blocked from the user. The command device uses 32 MB, and the remaining volume space is reserved for CCI and its utilities.

# Reference

・ CCI_v01_69_03_02_Command_Reference_MK-90RD7009-58.pdf |
・ CCI_v01_69_03_02_Install_Guide_MK-90RD7008-37.pdf |
・ CCI_v01_69_03_02_Release_Notes_RN-90RD7194-44.pdf |
・ CCI_v01_69_03_02_User_Guide_MK-90RD7010-59.pdf |
・ SVOS_v7_4_1_ShadowImage_Guide_MK-92RD8021-15.pdf |

Edited on