I'm working on a DR project and my goal is to export vswitch configuration from one box and import it to another box in a DR Site.
I'm playing with vimsh because escfg-vswitch does not give me this opportunity.
What I am doing:
vimsh -n -e "hostsvc/net/config_save /root/config"
To save a big text file containing every net parameter
Then I try to restore it with:
vimsh -n -e "hostsvc/net/config_load /root/config"
but.. IT'S NOT WORKING even on the same host where I've backed it up...
I'm stuck... any idea?
I appreciate it doesn't answer your exact question.
However one thing you could consider is using vimsh and esxcfg commands to script your initial server build (there are many forum posts about that)
For DR - you then just need to build the DR server with a similar build script and it will be identical.
It also gets round any worries about manually changing settings and documenting it all etc...
I totally agree with you, but in this case an outsourcer supplies the DR servers already installed so I have to customize the installation on a live ESX box.
Thank you for your hints
You can still write a script that will blow away networking and put things together the way you want them. I do this on my post and as long as you know the script is solid networking will come back and you will be fine.
Can you please provide me a link?
\[So many posts.... 😛 ]
Wait for Site Recovery Manager. It might make it easier for you.