How to Replace a Network Interface Card in a XenServer Host
2011-11-29 14:30
495 查看
Summary[/b]
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[/b]
Console access to the XenServer host
Basic knowledge of the XenServer’s CLI
Prerequisites[/b]
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[/b]
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>[/b]
2. Disable the management interface using the host-management-disable command:
[/b]xe host-management-disable[/b]
3. Remove the PIF records of the NICs being replaced using the pif-forget command:
[/b]xe pif-forget uuid=<pif_uuid>[/b]
4. Shutdown the host and replace the NIC:
[/b]xe host-disable host=<host_name>[/b]
5. Re-introduce the devices using the pif-introduce command:
[/b]xe pif-introduce device=<device_name> host-uuid=<host-uuid> mac=<mac_address>[/b]
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:
[/b]xe pif-list params=uuid,device,MAC[/b]
7. Reset the interface address configuration using the pif-reconfigure-ip command:
[/b]xe pif-reconfigure-ip uuid=<pif_uuid> mode=static IP=<ip_address> netmask=<netmask> gateway=<gateway> DNS=<dns>[/b]
8. Reset the host management interface using the host management-reconfigure command:
[/b]xe host-management-reconfigure pif-uuid=<pif_uuid>[/b]
本文出自 “憂零的博客” 博客,请务必保留此出处http://sunyu.blog.51cto.com/744725/728937
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[/b]
Console access to the XenServer host
Basic knowledge of the XenServer’s CLI
Prerequisites[/b]
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[/b]
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>[/b]
2. Disable the management interface using the host-management-disable command:
[/b]xe host-management-disable[/b]
3. Remove the PIF records of the NICs being replaced using the pif-forget command:
[/b]xe pif-forget uuid=<pif_uuid>[/b]
4. Shutdown the host and replace the NIC:
[/b]xe host-disable host=<host_name>[/b]
5. Re-introduce the devices using the pif-introduce command:
[/b]xe pif-introduce device=<device_name> host-uuid=<host-uuid> mac=<mac_address>[/b]
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:
[/b]xe pif-list params=uuid,device,MAC[/b]
7. Reset the interface address configuration using the pif-reconfigure-ip command:
[/b]xe pif-reconfigure-ip uuid=<pif_uuid> mode=static IP=<ip_address> netmask=<netmask> gateway=<gateway> DNS=<dns>[/b]
8. Reset the host management interface using the host management-reconfigure command:
[/b]xe host-management-reconfigure pif-uuid=<pif_uuid>[/b]
本文出自 “憂零的博客” 博客,请务必保留此出处http://sunyu.blog.51cto.com/744725/728937
相关文章推荐
- How to configure network interface in Ubuntu
- How to change Ethernet network card speed and duplex settings in ubuntu
- How to: Host Controls in Windows Forms DataGridView Cells (CalendarCell)
- How To Use Replace function in TEXT and NTEXT fields
- How to know one virtual machine is in which host?
- How to Monitor Your Network Usage in Windows 8 (And Prevent Paying For The Extra Bandwidth)
- How to host winform control in IE
- Howto Red hat enterprise Linux 5 configure the network card
- How to install oracle by Command Line Interface(CLI) in silent mode on Linux
- how to get url and hostname and url text in one page
- how to create virtual network in OS X 10.9
- JS. How to replace html element with another element/text, represented in string?
- How to Simulate Different Network Speeds in Your JMeter Load Test
- How to replace a value in web.xml with a Maven property?(转)
- How to programmatically new a java class which implements sepecified interface in eclipse plugin development
- 如何调整Dreamhost主机PHP上传尺寸的限制/How to change the maximal size of uploading in your Dreamhost
- How .NET run-time determines which member to invoke in a interface involving hiearchy
- How .NET run-time determines which member to invoke in a interface involving hiearchy
- How to change network interface name