Citrix Systems 5.6 Hostname, DNS servers, Changing IP address configuration for a standalone host

Models: 5.6

1 235
Download 235 pages 37.88 Kb
Page 100
Image 100

changing the hostname

adding or removing DNS servers

changing IP addresses

changing which NIC is used as the management interface

adding a new physical NIC to the server

Hostname

The system hostname is defined in the pool-wide database and modified using the xe host-set-hostname- live CLI command as follows:

xe host-set-hostname-live uuid=<host_uuid> host-name=example

The underlying control domain hostname changes dynamically to reflect the new hostname.

DNS servers

To add or remove DNS servers in the IP addressing configuration of a XenServer host, use the pif- reconfigure-ipcommand. For example, for a PIF with a static IP:

pif-reconfigure-ip uuid=<pif_uuid> mode=static DNS=<new_dns_ip>

Changing IP address configuration for a standalone host

Network interface configuration can be changed using the xe CLI. The underlying network configuration scripts should not be modified directly.

To modify the IP address configuration of a PIF, use the pif-reconfigure-ipCLI command. See the section called “pif-reconfigure-ip”for details on the parameters of the pif-reconfigure-ipcommand.

Note:

See the section called “Changing IP address configuration in resource pools” for details on changing host IP addresses in resource pools.

Changing IP address configuration in resource pools

XenServer hosts in resource pools have a single management IP address used for management and communication to and from other hosts in the pool. The steps required to change the IP address of a host's management interface are different for master and other hosts.

Note:

Caution should be used when changing the IP address of a server, and other networking parameters. Depending upon the network topology and the change being made, connections to network storage may be lost. If this happens the storage must be replugged using the Repair Storage function in XenCenter, or the pbd-plugcommand using the CLI. For this reason, it may be advisable to migrate VMs away from the server before changing its IP configuration.

Changing the IP address of a pool member host

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

80

Page 100
Image 100
Citrix Systems 5.6 manual Hostname, DNS servers, Changing IP address configuration for a standalone host