Cloning a CP server greatly reduces the time and effort of assigning a new CP server to your cluster. Since the cloning replicates the existing CP server, you are saved from running the vxfenswap utilities on each node connected to the CP server. Therefore, you can perform the CP server maintenance without much hassle.
In this procedure, the following terminology is used to refer to the existing and cloned CP servers:
cps1: Indicates the existing CP server
cps2: Indicates the clone of cps1
Prerequisite: Before cloning a CP server, make sure that the existing CP server cps1 is up and running and fencing is configured on at least one client of cps1 in order to verify that the client can talk to cps2 .
To clone the CP server (cps1):
Refer the InfoScale Installation Guide for procedure on installing the Cluster Server
/etc/VRTScps/db
./etc/vxcps.conf
to the target system for cps2./var/VRTScps/security
and /var/VRTSvxfen/security
directories respectively to the target system for cps2./etc/VRTSvcs/conf/config/main.cf
./opt/VRTScps/bin/QuorumTypes.cf
from cps1 to the target cps2 system.# /opt/VRTSvcs/bin/hagrp -offline CPSSG -sys <cps1>
# /opt/VRTSvcs/bin/hastart
# cpsadm -s <server_vip> -a ping_cps CPS INFO V-97-1400-458 CP server successfully pinged
# /opt/VRTSvcs/bin/hares -state Resource Attribute System Value RES_phantom_vxfen State system1 ONLINE coordpoint State system1 ONLINE # /opt/VRTSvcs/bin/hagrp -state Group Attribute System Value vxfen State system1 |ONLINE|