To change the IP address of the pool master

1.Use the pif-reconfigure-ipCLI command to set the IP address as desired. See Appendix A, Command Line Interface for details on the parameters of the pif-reconfigure-ipcommand:

xe pif-reconfigure-ip uuid=<pif_uuid> mode=DHCP

2.When the IP address of the pool master host is changed, all member hosts will enter into an emergency mode when they fail to contact the master host.

3.On the master XenServer host, use the pool-recover-slavescommand to force the master to contact each of the member hosts and inform them of the new master IP address:

xe pool-recover-slaves

Primary management interface

When XenServer is installed on a host with multiple NICs, one NIC is selected for use as the primary management interface. The primary management interface is used for XenCenter connections to the host and for host-to-host communication.

To change the NIC used for the primary management interface

1.Use the pif-listcommand to determine which PIF corresponds to the NIC to be used as the primary management interface. The UUID of each PIF is returned.

xe pif-list

2.Use the pif-param-listcommand to verify the IP addressing configuration for the PIF that will be used for the primary management interface. If necessary, use the pif-reconfigure-ipcommand to configure IP addressing for the PIF to be used. See Appendix A, Command Line Interface for more detail on the options available for the pif-reconfigure-ipcommand.

xe pif-param-list uuid=<pif_uuid>

3.Use the host-management-reconfigureCLI command to change the PIF used for the primary management interface. If this host is part of a resource pool, this command must be issued on the member host console:

xe host-management-reconfigure pif-uuid=<pif_uuid>

Warning:

Putting the primary management interface on a VLAN network is not supported.

Disabling management access

To disable remote access to the management console entirely, use the host-management-disableCLI command.

Warning:

Once the primary management interface is disabled, you will have to log in on the physical host console to perform management tasks and external interfaces such as XenCenter will no longer work.

Adding a new physical NIC

Install a new physical NIC on a XenServer host in the usual manner. Then, after restarting the server, run the xe CLI command pif-scanto cause a new PIF object to be created for the new NIC.

Networking Troubleshooting

If you are having problems with configuring networking, first ensure that you have not directly modified any of the control domain ifcfg-*files directly. These files are directly managed by the control domain host agent, and changes will be overwritten.

85

Page 103
Image 103
Citrix Systems 6 manual Networking Troubleshooting, Primary management interface, Disabling management access