Skip to main content
All CollectionsKnowledge BaseEnterprise WorkloadsHow To - Enterprise Workloads
How to change the IP address of the CloudCache Linux server without vApp option
How to change the IP address of the CloudCache Linux server without vApp option

How to change the IP address of the CloudCache Linux server without vApp option

Updated over 3 months ago

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:

  1. Backup the current Netplan configuration file:
    sudo cp /etc/netplan/50-cloud-init.yaml /etc/netplan/50-cloud-init.yaml.bak

  2. Open the Netplan configuration file using a text editor(using nano or vi)

    sudo nano /etc/netplan/50-cloud-init.yaml

  3. 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]

  4. Save and close the file.

  5. Apply the new Netplan configuration:

    sudo netplan apply

  6. Verify the new IP address by using the following command using (ifconfig or ip a).

  7. You should now see the updated IP address of the CC server.

Did this answer your question?