Overview
Consider a situation where customer wants to update the IP address of the CloudCache (Linux)server. This CC server is hosted in VMware environment and doesn't have the vApp option on the vCenter side to update the IP address of the VM server which is Druva Phoenix C.C server
Procedure
You can update IP address of the Linux Cloudcache machine following the below steps:
Backup the current Netplan configuration file:
โsudo cp /etc/netplan/50-cloud-init.yaml /etc/netplan/50-cloud-init.yaml.bak
Open the Netplan configuration file using a text editor(using nano or vi)
sudo nano /etc/netplan/50-cloud-init.yaml
Change the IP address, subnet mask, and gateway information to the new values(For e.g) Sample format below
network:
version: 2
renderer: networkd
ethernets:
ens160:
dhcp4: no
addresses: [x.x.x.x/24]
gateway4: x.x.x.x
nameservers:
addresses: [x.x.x.x, x.x.x.x]
Save and close the file.
Apply the new Netplan configuration:
sudo netplan apply
Verify the new IP address by using the following command using (ifconfig or ip a).
You should now see the updated IP address of the CC server.