Solved

backup host config and esxi config

Posted on 2016-07-28
16
67 Views
Last Modified: 2016-07-28
Hi Experts,

for my documentauion I need to save the config of my VMWARE host and also the config of my ESXi server.

Is it possible to download or export the vmware config ?
Is it possible to download or export the ESXi config ?
Or do I have to make many screenshots about the config ? I hope not. :-)

I use VMWARE vSphere 5.5 with vCenter.

How you gonna do it ? maybe some tools around ?
0
Comment
Question by:Eprs_Admin
  • 9
  • 4
  • 3
16 Comments
 
LVL 12

Accepted Solution

by:
Vaseem Mohammed earned 250 total points
Comment Utility
There are quite some ways to do so.
Refer to KB2042141
1
 

Author Comment

by:Eprs_Admin
Comment Utility
Ok,

these are two extra tools ?
0
 
LVL 12

Expert Comment

by:Vaseem Mohammed
Comment Utility
Yes, these can be downloaded from vmware website.
1
 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 250 total points
Comment Utility
Configuration of the ESXi host can be backed-up using the vSphere CLI you can download from here

https://my.vmware.com/web/vmware/details?downloadGroup=VCLI600&productId=491

Using the commands

vicfg-cfgbackup

or if you want a nice GUI, you can follow this Link

http://www.vladan.fr/free-esxi-configuration-backup-tool/

This will also backup the SQL Database from vCenter Server, if this is what you meant by "VMware Host".

because technically "VMwarr Host" and ESXi server are the same server and thing!
0
 

Author Comment

by:Eprs_Admin
Comment Utility
Hi Andrew,

FortiGuard says :
You have tried to access a web page which is in violation of your internet usage policy.

URL: http://slymsoft.com/blog/wp-content/plugins/download-monitor/download.php?id=vSphere+Configuration+Backup+1.8.zip
Category: Malicious Websites

Any ideas to download from somewhere else ?
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
I don't have an issue here with it.

Not sure where else it would be hosted.

here's a script which also does it

http://www.virtu-al.net/2011/02/23/backing-up-the-esxi-system-image/
1
 

Author Comment

by:Eprs_Admin
Comment Utility
ok thanks.

Is it enough to backup just the SQL DB of vCenter to have the full VMWARE environment configuration ?
0
 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 250 total points
Comment Utility
Correct. and also your Virtual Machines of course.
1
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 

Author Comment

by:Eprs_Admin
Comment Utility
ok I have installed the vSPhereCLI but it is a regular CMD not more.
The vicfg commands not working.....
0
 

Author Comment

by:Eprs_Admin
Comment Utility
or is it better to install vMA, I used it in the past .... and I think CLI was on it .
0
 
LVL 12

Assisted Solution

by:Vaseem Mohammed
Vaseem Mohammed earned 250 total points
Comment Utility
From command prompt set the prompt location to c:\program files(x86)\vmware\vSphereCLI\bin
1
 

Author Comment

by:Eprs_Admin
Comment Utility
Strange, is not gonna work

C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>vicfg-cfgbackup
'vicfg-cfgbackup' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>
0
 
LVL 12

Expert Comment

by:Vaseem Mohammed
Comment Utility
Check the location where the installation was performed. Thats where you will find vCLI
0
 

Author Comment

by:Eprs_Admin
Comment Utility
Here in the bin directory all files located :

09.02.2015  15:28             9 994 vicfg-advcfg.pl
09.02.2015  15:28            12 080 vicfg-authconfig.pl
09.02.2015  15:28             9 196 vicfg-cfgbackup.pl
09.02.2015  15:28             9 456 vicfg-dns.pl
09.02.2015  15:28            13 032 vicfg-dumppart.pl
09.02.2015  15:28            17 081 vicfg-hostops.pl
09.02.2015  15:28            27 513 vicfg-ipsec.pl
09.02.2015  15:28            78 961 vicfg-iscsi.pl
09.02.2015  15:28             7 129 vicfg-module.pl
09.02.2015  15:28            21 529 vicfg-mpath.pl
09.02.2015  15:28            18 477 vicfg-mpath35.pl
09.02.2015  15:28             8 606 vicfg-nas.pl
09.02.2015  15:28             9 696 vicfg-nics.pl
09.02.2015  15:28             7 425 vicfg-ntp.pl
09.02.2015  15:28             2 989 vicfg-rescan.pl
09.02.2015  15:28            13 921 vicfg-route.pl
09.02.2015  15:28            22 384 vicfg-scsidevs.pl
09.02.2015  15:28            12 825 vicfg-snmp.pl
09.02.2015  15:28             5 837 vicfg-syslog.pl
09.02.2015  15:28            37 706 vicfg-user.pl
09.02.2015  15:28            27 230 vicfg-vmknic.pl
09.02.2015  15:28            13 411 vicfg-volume.pl
09.02.2015  15:28            37 164 vicfg-vswitch.pl
09.02.2015  15:28            17 712 vifs.pl
09.02.2015  15:28            24 230 vihostupdate.pl
09.02.2015  15:28            13 787 vihostupdate35.pl
09.02.2015  15:28            41 721 vmkfstools.pl
09.02.2015  15:28            61 852 vmware-cmd.pl
09.02.2015  15:25           110 080 win32security.pyd
09.02.2015  15:25            73 728 _ctypes.pyd
09.02.2015  15:25           311 808 _hashlib.pyd
09.02.2015  15:25            39 936 _socket.pyd
09.02.2015  15:25           645 120 _ssl.pyd
              71 File(s)     13 161 866 bytes
               2 Dir(s)  16 038 629 376 bytes free

C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>

Open in new window


But this command is  working:
vicfg-cfgbackup.pl --server=ESXi_host_IP_address --username=root -s output_file_name


:-)
Thanks.
0
 

Author Comment

by:Eprs_Admin
Comment Utility
Conclusion.
When I use this command to backup my host, just the ESXi config is saved right ?

vicfg-cfgbackup.pl --server=ESXi_host_IP_address --username=root -s output_file_name

Open in new window


This has nothing to do with the CONFIGURATION tab in vcenter, right ?
0
 

Author Comment

by:Eprs_Admin
Comment Utility
What about the

vswitches
Portgroups
Networking
Storage
Time config
DNS Config

and so on.... where is this data on a vmware host ? Is it in the SQL DB ?
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

#Citrix #XenApp #Citrix Scout #Citrix Insight Services #Microsoft VMMAP #Microsoft ADEXPLORE #Microsoft RAMMAP #Microsoft TCPVIEW #Microsoft AUTORUNS #Microsoft PROCESS EXPLORER #Microsoft PROCESS MONITOR
A procedure for exporting installed hotfix details of remote computers using powershell
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now