XenServer hard code NIC parameters
I wanted to make sure that the network settings on the XenServers were all hard set to 1000 with full duplex. Unfortunately, XenCenter doesn't allow you to modify the NIC parameters, so the only remaining option is to do this through CLI. Here is how you do it:
- xe pif-param-set uuid=<UUID of PIF> other-config:ethtool-autoneg=”off”
- xe pif-param-set uuid=<UUID of PIF> other-config:ethtool-speed=1000
- xe pif-param-set uuid=<UUID of PIF> other-config:ethtool-duplex=”full”
Once you've issued the commands, make sure that you restart XAPI. The reason why you would want to do this is, to ensure that all hosts on the network fabric are communicating at a certain speed to eliminate the guess work. This is the same reason why I did this!
Note: If you want the network interface to be unmanaged, then you'll need to first run "xe pif-list" on the host, identify the NIC UUID, then run "xe pif-forget uuid=[id]"...
It would be really helpful to include the xe pif-param-remove equivilant to these commands
-Dave