Solved

Xtract change IP to Static


Badge +1
Just installed Xtract VM from Image and am trying to set the IP as static and cannot seem to be able to edit the CentOS file, how do you edit the ifcfg-eth0?

icon

Best answer by Chandru 5 January 2018, 21:39

BobSobczak Xtract needs to be deployed with static ip address, instructions can be found below,

https://portal.nutanix.com/#/page/docs/details?targetId=Xtract-for-VMs-v11:v11-xtract-deploy-vmms-static-ip-t.html

View original

5 replies

Userlevel 2
Badge +12
BobSobczak Xtract needs to be deployed with static ip address, instructions can be found below,

https://portal.nutanix.com/#/page/docs/details?targetId=Xtract-for-VMs-v11:v11-xtract-deploy-vmms-static-ip-t.html
Badge +1
Thanks Chandru, I have already deployed the VM and wanted to change from the console per these instructions, just cant find a way to edit the file from the appliance console.

Assigning Static IP address to Xtract
If the DHCP is not enabled, you can assign the static IP address for the Xtract appliance.
Context for the current task
  1. Log into the Prism web console to access the Xtract appliance.
  2. Go to the VM view and select the VM named Xtract-for-VMs.
  3. Log onto the Xtract console.
  4. In the command line, edit the VM. /etc/sysconfig/network-scripts/ifcfg-eth0 [list=1]
  5. Update BOOTPROTO="dhcp" to BOOTPROTO="static".
  6. Add IPADDR=”ip_address”.Replace ip_address with the name of the IP address.
  7. Add NETMASK="net_mask".Replace net_mask with the net mask ID.
  8. Add GATEWAY=”gateway”.Replace gateway with the gateway address.
  • Save the file and restart the VM.[/list]
  • Userlevel 2
    Badge +12
    BobSobczak sorry for the confusion. You need to be root to edit the file, you can type rs to drop into root shell and edit the file.
    Badge +1
    I found it easier to start over and create the xtract VM via the CLI, thanks for the help, currently running a migration!
    Badge +6
    Hi @BobSobczak

    To configure the static IP address use: sudo configure-network

    https://portal.nutanix.com/#/page/docs/details?targetId=Xtract-For-DBs-User-Guide-v15:xtr-xtractdb-networking-configuration-t.html#ntask_z2z_jp1_3z

    Hope that help in the future installations.

    Cheers!

    Reply