Hi,
I've had a look online, and following an issue with a esx host that needed rebuilding, i had to manually add all the network pools, vlan ID's etc to the host that died using other hosts for reference.
Is there a way we can back this up/export it to save having to manually type all this in.
In the event all hosts went down, obviously reconfiguring this would be a nightmare unless we had documented/screenshotted every screen.
Cheers
- Host Profiles
- vDS instead vSS
- Some time ago there was a fling like vCenter hmmmmm. It reads the structure of an existing vCenter and creates the Powershell code or something like that to recreate it on another vCenter. Not sure how Hosts are covered.
I often use "esxcfg-vswitch -l" and then recreate the vNetwork from command line. I only struggle with Uplink ordering/security seetings and using the new "esxcli ...." instead the depricated esxcfg.
Regards,
Joerg
Moderator: Thread moved to the vSphere area.
- Host Profiles
- vDS instead vSS
- Some time ago there was a fling like vCenter hmmmmm. It reads the structure of an existing vCenter and creates the Powershell code or something like that to recreate it on another vCenter. Not sure how Hosts are covered.
I often use "esxcfg-vswitch -l" and then recreate the vNetwork from command line. I only struggle with Uplink ordering/security seetings and using the new "esxcli ...." instead the depricated esxcfg.
Regards,
Joerg
Hi There,
I did end up looking into host Profiles, we dont use VDS so it seemed like the closest choice.
I also exported the settings via powershell just so we have the info to hand. (network adaptor and port group info_
Get-VMHostNetworkAdapter | select VMhost, Name, IP, SubnetMask, Mac, PortGroupName, vMotionEnabled, mtu, FullDuplex, BitRatePerSec | Export-Csv C:\pstest\VMHostNetworkDetails.csv
$VMHosts = Get-VMHost
$Output = Foreach($VMHost in $VMHosts){
Get-VirtualPortGroup -VMHost $VMHost | select @{N='VMHost';E={$VMHost.name}}, Name, VirtualSwitch, VLanId}
$output | export-csv "C:\pstest\VMHostPortsGroupDetails.csv"
Cheers