Thursday, February 28, 2013

Adding a New Nic Card After a XenServer Installation 1.6


1. Install a nic card that is on the XenServer 
2. Once the card is installed, and the server has booted up, run
[root@Test ~]#kudzu /etc/sysconfig/hwconf
then
[root@Test ~]#ifconfig -a (command we can get the details about the interfaces incl virutal machine)
from the shell prompt. You only know if the card is compatible if you see the card in the list ex eth1 or whichever number the newly added nic card would be next.
3. Once you see the new card from Linux run 
[root@Test ~]#xe host-list
4. You will get a response similar to;
[root@Test ~]# xe host-list
uuid ( RO)                : 153ef936-171f-409f-bc07-db8e20b60670
          name-label ( RW): TEST
    name-description ( RW): Default install of XenServer

5. Copy the uuid which comes up in your prompt, it will be different then the one shown on screen as they are all unique,
6. run 
[root@Test ~]# xe pif-scan host-uuid=153ef936-171f-409f-bc07-db8e20b60670
Replacing 153ef936-171f-409f-bc07-db8e20b60670 with the uuid you copied above

7. Type in 
 [root@Test ~]# xe pif-list 
the output should contain your new nic settings
That’s all, the new card should be visible and usable in XenServer 5 and 5.5