Setting a static IP address on the agent
If your environment does not have a DHCP server, you can set a static IP address on the Converged Systems Advisor agent.
Log in to the agent’s virtual machine console using the VMware vSphere client.
The default user name is csa and the default password is netapp. Change the password, if prompted.
sudo su –at the csa prompt to become root.
# systemctl stop csa.serviceto stop the CSA service.
Enter the following to determine your correct interface file name.
In this example, the interface file name is
# ls /etc/network/interfaces.d/
# /sbin/ifdown eth0to stop the active interface.
Edit the /etc/network/interfaces.d/eth0 file with the editor of your choice.
# nano /etc/network/interfaces.d/eth0
# vi /etc/network/interfaces.d/eth0
The file contains the following:
iface eth0 inet dhcp
iface eth0 inet dhcpand add the following.
NOTE: You must substitute the correct values for all the entries that follow the field names in the example below. For instance,
192.168.11.1is the value for the gateway in the example. However, instead of
192.168.11.1, you should enter the correct address for your gateway.
iface eth0 inet static
Save the file.
In nano, you enter ctrl + o followed by ctrl + x to save.
vi/etc/resolv.confto open the configuration file.
nameserver <ip_address>to the top of the file.
# ifup eth0to start the network interface.
systemctl start csa.serviceto restart Converged Systems Advisor.