I use to have creating a new ESX server down to a science. I have a shell script that I ran that created all the virtual switches and set all the host parameters. Now I am trying to move to ESX 3i and have to rebuild how I do things.
What I need is some help getting over the initial "Remote Command-Line" us issues.
My old way:
1) ssh to box
2) launch my script file
ex:
esxcfg-vswitch -A "acme1test" vSwitch0
esx-vswitch -v 20 "acme1test" vSwitch0
....
Now it seems I have several steps to do on my VCMS Windows host and the documentation (Remote Command-Line Interface Installation and Referance Guide ) seems to be missing some steps.
1) Install Remote CLI tool -> done
2) Open the "VMWare VI Remote CLI" command prompt (DOS prompt in the c:\Program Files\VMWare\VMWare VI Remote CLI\ directory)
3) Create a "session" so that all your scripts do not have username and passwords stored in them
a) ???
4) Create a batch file to run the commands from
Example:
vicfg-vswitch.pl "acme1test" vSwitch0 --server ESXSvr1 --session c:\session.?????
***
Issue is that, as you can see, I read the documents and googled around and do not readily see the pieces missing to allow me to convert my console scripts.