http://www.virtuallyghetto.com/2011/08/how-to-persist-configuration-changes-in.html
1. esxcli network firewall set --default-action true
2. esxcli network firewall set --enabled false
3. echo "esxcli network firewall set --default-action true" >> /etc/rc.local
4. echo "esxcli network firewall set --enabled false" >>/etc/rc.local
5. /sbin/auto-backup.sh ----- preserves changes it right away
This firewall might help, if you are having consistent Vcenter Disconnects (vpxa--
vpxd communication)
Friday, March 9, 2012
Monday, March 5, 2012
VMs with Red Exclamation and no Alerts listed
Fix:
- restart vpxa on ESXi(services.sh restart)
- disconnect the host from Vcenter and connect it back after couple minutes.
- Use Refresh via PowerCLI.
Here is the powercli script to do the reload into vcenter database without having to do the above (simple command)
Connect-VIServer <Vcenter_IP>
(Get-View -ViewType VirtualMachine) | %{$_.reload()}
Connect-VIServer <Vcenter_IP>
(Get-View -ViewType VirtualMachine) | %{$_.reload()}
Subscribe to:
Posts (Atom)