VMware Cloud Community
esnmb
Enthusiast
Enthusiast
Jump to solution

Copy All Network Settings?

Is there a way to copy over all the network settings, vlans, etc to a new esx server? Or do I have to recreate then all manually?

Reply
0 Kudos
1 Solution

Accepted Solutions
lamw
Community Manager
Community Manager
Jump to solution

If you're running ESX 3.5, there's a feature to backup your vSwitch configuration

using "vimsh" and as of 3.5u1 it turned into "vmware-vim-cmd". Easily

backing up that configuration pre-3.5 will have to be your standard

service console command "esxcfg-vswitch", I would say do the following:

esxcfg-vswitch -l (this will output your settings), long as your

systems are all the same, create a small bash script wrapper, to

re-create all your vswitches,portgroups, configure your vmkernel,

enable vmotion,etc,etc and add some logic based on the installation of

each host such as IP/Hostname. Once you've finished your deployment,

copy the shell script to each host and execute, and if done properly

you can have them all re-configured in a few minutes.

View solution in original post

Reply
0 Kudos
3 Replies
lamw
Community Manager
Community Manager
Jump to solution

If you're running ESX 3.5, there's a feature to backup your vSwitch configuration

using "vimsh" and as of 3.5u1 it turned into "vmware-vim-cmd". Easily

backing up that configuration pre-3.5 will have to be your standard

service console command "esxcfg-vswitch", I would say do the following:

esxcfg-vswitch -l (this will output your settings), long as your

systems are all the same, create a small bash script wrapper, to

re-create all your vswitches,portgroups, configure your vmkernel,

enable vmotion,etc,etc and add some logic based on the installation of

each host such as IP/Hostname. Once you've finished your deployment,

copy the shell script to each host and execute, and if done properly

you can have them all re-configured in a few minutes.

Reply
0 Kudos
maishsk
Expert
Expert
Jump to solution

Or you could use this tool which works wonders as well!!

Maish

Systems Administrator & Virtualization Architect

Maish Saidel-Keesing • @maishsk • http://technodrone.blogspot.com • VMTN Moderator • vExpert • Co-author of VMware vSphere Design
esnmb
Enthusiast
Enthusiast
Jump to solution

A very cool site!

Thanks!

Reply
0 Kudos