...
How to remove ghost nics on vmware machines that have been P2Ved
- Open up a command prompt
Type –
“SETCode Block theme Emacs language powershell SET DEVMGR_SHOW_NONPRESENT_DEVICES=1?
and hit Enter
Type –
“START
MSC”Code Block theme Emacs language powershell START DEVMGMT.
MSC
and hit Enter
- Once the Device Manger opens to the “View” menu and select “Show Hidden Devices”. Expand the Network Interface portion of the device tree and you should be able to remove the phantom NIC.
...
- Turn on SSH
- Login
- Navigate to Configuration
- Click on Security Profile
- Go to Properties
- Enable SSH
- SSH into server
- edit /etc/vmware/snmp.xml
- vi /etc/vmware/snmp.xml
- hit "i" to insert text
Edit the config to mimic the following configurations (You can also use IP instead of the fqdn):
Code Block theme Emacs language bashhtml/xml <config> <snmpSettings> <enable>true</enable> <communities>community</communities> <port>161</port> <targets>server.fqdn.local/communities</targets> </snmpSettings> </config>
- hit Esc, then :w to write changes
- hit Esc, then :q to exit
Restart SNMP Services
Code Block theme Emacs language bash services.sh restart
...