Citrix Systems 5.6 Benutzerhandbuch

Seite von 235
80
• 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-ip command. 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-ip CLI command. See 
 for details on the parameters of the 
pif-reconfigure-ip command.
Note:
See 
 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-plug command 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-ip CLI command to set the IP address as desired. See 
 for details on the parameters of the 
pif-reconfigure-ip command:
xe pif-reconfigure-ip uuid=
<pif_uuid>
 mode=DHCP