IP addresses associated with HyperScale nodes, CommServe VM, and CommServe can be changed.
Note
Hostnames associated with the nodes, CommServe VM and CommServe cannot be changed and must remain the same.
Before You Begin
Important: Perform a DR Backup and make sure that you have the latest version of the DR backup in an accessible location. For more information, see Performing a DR Backup.
Procedure
-
Disable all activities and schedules on the MediaAgents associated with the nodes.
For more information, see Controlling Activities.
-
Suspend all running jobs to and from the MediaAgents associated with the nodes.
For more information, see Controlling Jobs.
-
Set the MediaAgents associated with the nodes in the Maintenance mode.
For more information, see Setting the MediaAgent on Maintenance Mode.
-
Start the hv_deploy mode using the following commands:
# su - admin # export HV_PUBKEY=1 # hv_deploy -
Display the cluster name and note down the name.
# show_all_clustersThis will display the cluster name, as shown in the following sample output:
Cluster name: HV13102021054000 - owner: unowned - version: v-4.5.0.0.2.3597.00320e0ba9:06aca75bc4db06170a13ef14cbfe8446
-
Login to the cluster.
# login_to_cluster cluster nameFor example:
# login_to_cluster HV13102021054000When prompted, type the
rootpassword. -
Stop the cluster.
# stop_cluster -
Exit the the hv_deploy mode.
# exit -
Stop the Commvault services on the nodes using the following command:
# commvault -all stopFor more information, see Commands to Control Services on UNIX Clients
-
Verify, and if necessary turn off firewall in the CommServe VM from the Windows Control Panel \ System and Security.
-
Change network profile to Private for the Windows network interface using the following commands from Windows PowerShell:
-
Get the connection profile, use the following command:
C:\Users\Administrator> Get-NetConnectionProfileThe NetworkCategory: option in the output will display whether the network is Public or Private.
-
If NetworkCategory: is Public, then set the profile as Private using the following command:
Set-NetConnectionProfile - Name Network_name -NetworkCategory PrivateReplace <network_name> with the name of the network.
-
-
Change the IP address of the CommServe VM to reflect the new IP address, from the Windows Control Panel\Network and Internet\Network Connections.
DNS update is not required at this point.
-
Shut down the CommServe VM from the HyperScale node .
For more information, see Starting and Stopping the CommServe VM.
-
Change the DNS entries on the nodes to reflect the new IP address of the CommServe, Data Protection network and/or the Storage Pool network as follows:
-
Login to a node hosting the CommServe VM, using the root credentials.
Use the following command to verify whether the node is hosting the CommServe VM:
virsh list --allFor more information, see Starting and Stopping the CommServe VM.
-
Edit the bridge network file (
ifcfg-br0), to change the IP address associated with the CommServe VM:/etc/sysconfig/network-scripts/ifcfg-br0Replace the value for IPADDR with the new IP address for the CommServe VM. For example, the entries in this file should be similar to the following:
DEVICE=br0 TYPE=Bridge BOOTPROTO=none ONBOOT=yes USERCTL=no NM_CONTROLLED=no IPADDR=XXX.XXX.XXX.XXX NETMASK= GATEWAY= DNS1= DNS2= -
Edit the following file to change the IP address associated with the Data Protection network:
/etc/sysconfig/network-scripts/ifcfg-enpsf3Replace the value for IPADDR with the new IP address for Data Protection network. For example, the entries in this file should be similar to the following:
DEVICE=bond1 BOOTPROTO=none IPADDR=XXX.XXX.XXX.XXX NETMASK=XXX.XXX.XXX.XXX GATEWAY=XXX.XXX.XXX.XXX ONBOOT=yes USERCTL=no NM_CONTROLLED=no IPV6INIT=no DNS1= DNS2= TYPE=Bond BONDING_MASTER=yes BONDING_OPTS="fail_over_mac=active miimon=100 mode=activebackup" -
Edit the following file to change the IP address associated with the Storage Pool network:
/etc/sysconfig/network-scripts/ifcfg-enpsf4Replace the value for IPADDR with the new IP address for Storage Pool network. For example, the entries in this file should be similar to the following:
DEVICE=bond2 BOOTPROTO=none IPADDR=XXX.XXX.XXX.XXX NETMASK=XXX.XXX.XXX.XXX ONBOOT=yes USERCTL=no NM_CONTROLLED=no IPV6INIT=no TYPE=Bond BONDING_MASTER=yes BONDING_OPTS="fail_over_mac=active miimon=100 mode=activebackup" -
Update the
/etc/hostson all hyperscale nodes with the new Storage Pool IP address of all the nodes.For example:
XXX.XXX.XXX.XXX MyMA1.company.com MyMA1 XXX.XXX.XXX.XXX MyMA2.company.com MyMA2 XXX.XXX.XXX.XXX MyMA3.company.com MyMA3
-
-
Login to the other nodes and change the IP address of the Data Protection and/or the Storage Pool network. (Steps 9c to 9f above.)
-
Reboot the nodes.
-
Verify that the new IP addresses are reachable from all nodes, using
pingor any other DNS command / tool. -
Login to a node hosting the CommServe VM, and perform the following steps:
-
Stop the CommServe VM, using the following command:
virsh shutdown virtual_machineFor more information, see Starting and Stopping the CommServe VM.
-
Stop the
libvrtddeamon using the following command:systemctl stop libvirtdNote
Wait for a few minutes, 5-7 minutes approximately, for the deamon to stop.
-
Start the
libvrtddeamon using the following command:systemctl start libvirtd -
Start the CommServe VM, using the following command:
virsh start virtual_machineFor more information, see Starting and Stopping the CommServe VM.
-
Verify the CommServe is reachable with the new IP address, using
pingor any other DNS command / tool.Make sure that you are able to access the CommServe VM using the Remote Desktop Connection (RDP) session.
-
-
Verify that the disk library NFS mount path is automatically mounted on the nodes using the following command:
# df -kh /ws/hedvig/* -
Verify that the Commvault services are running on the nodes using the following command:
# commvault -all listFor more information, see Viewing Services - Viewing Services on UNIX
-
Remove the MediaAgents associated with the nodes from the Maintenance mode.
For more information, see Setting the MediaAgent on Maintenance Mode.
-
Enable all activities and schedules on the MediaAgents associated with the nodes.
For more information, see Controlling Activities.
-
Verify the network connections between the MediaAgents and CommCell entities, by running a Check Readiness operation.
For more information, see Checking Readiness.
-
Run a test backup to ensure that the configuration is successful and the storage pool is functional.