0% found this document useful (0 votes)
40 views

CTX127161 - How To Replace A Network Interface Card in A XenServer Host - Citrix Knowledge Center

This document provides the steps to replace a network interface card (NIC) in a XenServer host. The steps include: 1) Shutting down virtual machines, 2) Disabling the management interface, 3) Removing the physical interface records, 4) Shutting down the host and replacing the NIC, 5) Reintroducing the new NIC, 6) Verifying the new configuration, 7) Reconfiguring the IP if needed, and 8) Resetting the management interface. Following these steps allows replacement of a faulty NIC with minimal disruption.

Uploaded by

tenfu wang
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views

CTX127161 - How To Replace A Network Interface Card in A XenServer Host - Citrix Knowledge Center

This document provides the steps to replace a network interface card (NIC) in a XenServer host. The steps include: 1) Shutting down virtual machines, 2) Disabling the management interface, 3) Removing the physical interface records, 4) Shutting down the host and replacing the NIC, 5) Reintroducing the new NIC, 6) Verifying the new configuration, 7) Reconfiguring the IP if needed, and 8) Resetting the management interface. Following these steps allows replacement of a faulty NIC with minimal disruption.

Uploaded by

tenfu wang
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

CTX127161 - How to Replace a Network Interface Card in a XenServ... http://support.citrix.com/article/CTX127161?

print

Exit Print View

Knowledge Center
Citrix
Knowledge Center eDocs Communities Support Forums Blogs
Alerts Sign in

How to Replace a Network Interface Card in a XenServer Host


Document ID: CTX127161 / Created On: 2010/10/28 / Updated On: 2012/3/10
Average Rating: not yet rated

View products this document applies to

1/2 2013/1/22 上午 11:36


CTX127161 - How to Replace a Network Interface Card in a XenServ... http://support.citrix.com/article/CTX127161?print

Summary

This document described the procedure to replace a NIC (Network Interface Card) in a XenServer Host. This procedure can be
used, for example, if you are required to replace a faulty NIC.

Requirements

Console access to the XenServer host

Basic knowledge of the XenServer’s CLI

Prerequisites

The XenServer host must be standalone and not joined to a resource pool.

Replacing the NIC used as management interface requires the use of the host console.

Procedure

The following procedure describes the steps required to replace the management interface. If the NIC you are replacing is not
the management interface you can skip steps 2 and 8. Step 7 is only required if you need to assign an IP address to the PIF.

1. Shutdown all the virtual machines on the host using XenCenter or from the console:
xe vm-shutdown uuid=<vm_uuid>

2. Disable the management interface using the host-management-disable command:


xe host-management-disable

3. Remove the PIF records of the NICs being replaced using the pif-forget command:
xe pif-forget uuid=<pif_uuid>

4. Shutdown the host and replace the NIC:


xe host-disable host=<host_name>

5. Re-introduce the devices using the pif-introduce command:


xe pif-introduce device=<device_name> host-uud=<host-uuid> mac=<mac_address>
Example:
xe pif-introduce device=eth0 host-uuid=49e1cde9-a948-4f8f-86d5-3b681995566a mac=00:19:bb:2d:7e:7a

6. Verify the new configuration using the pif-list command:


xe pif-list params=uuid,device,MAC

7. Reset the interface address configuration using the pif-reconfigure-ip command:


xe pif-reconfigure-ip uuid=<pif_uuid> mode=static IP=<ip_address> netmask=<netmask> gateway=<gateway>
DNS=<dns>

8. Reset the host management interface using the host management-reconfigure command:
Xe host-management-reconfigure pif-uuid=<pif_uuid>

More Information

This procedure is derived from the XenServer Administrators Guide: Re-Ordering NICs.

CLI commands reference: XenServer Administrators Guide: Command line interface

CTX124024 - XenServer 5.5 Update 2 Administrator's Guide

CTX124887 - XenServer 5.6 Administrator's Guide

This document applies to:

XenServer 5.5
Exit Print View

©1999-2013 Citrix Systems, Inc. All rights reserved.

2/2 2013/1/22 上午 11:36

You might also like