vicfg - cfgbackup.pl 5.1 change!

Hi, I have a free version of ESXi (@home) that I just upgraded from 5.0.0 914609 6238602 to 5.1.0.

I've used some vicfg - cfgbackup.pl to save the configuration (I am starting a Flash USB drive).

But after the vicfg upgrade - cfgbackup.pl - save is fine, but the vicfg - cfgbackup.pl - dependent fails thereby;

Enter the user name: root
Enter the password:
The restore operation will restart the host.
Type 'Yes' to continue:
Yes
Download config bundle on configBundle.tgz...
Impossible to enter maintenance mode: the current licence or ESXi version prohibited the execution of the requested operation. Please ensure no virtual machines are running on the host computer, and retry the operation again.

Yes, all customers was arrested and the host was I maintenance (using VMware vSphere Client) mode

I also note that a similar message when you use vicfg - hostops.pl put the host in maintenance mode;

Enter the user name: root
Enter the password:
Esxi2 of the host can not enter into maintenance mode.

SOAP fault:
-----------
Error string: the current licence or ESXi version prohibited the execution of the query
operation of the Ed.
Lack of details: RestrictedVersionFault

Thus, the questions I have.

-Is it intentional that the free version (license) is not allowed to use the vicfg - cfgbackup.pl - charge (or vicfg - hostops.pl)?

You want to know whether or not it is an error on my host...

-If Yes, are there other ways to make a backup of the configuration?

- Otherwise, I'm guessing a backup to the USB Flash drive is the only way to go, but I have tried to make a clone of disk in a lot of ways, but no equals 100% USB Flash drive, it often fails (and must take place when the host is down)

...

Free license of ESXi (also called vSphere Hypervisor) does not write operations using the remote CLI which is based on the API. This is an expected behavior and is not an error. For more details, you can take a look at this article that I wrote awhile back about the "fault.restrictedversion.summary" http://www.virtuallyghetto.com/2011/06/dreaded-faultrestrictedversionsummary.html

Tags: VMware

Similar Questions

  • How to schedule a task backup vicfg - cfgbackup.pl?

    Hello

    We want to plan the next task of the vicfg-cfgbackup for ESXi host on the server vCenter Server running on a physical Windows Server.  We currently use vCLI 5.

    C:\Program Files (x 86) \VMware\VMware vSphere CLI > vicfg - cfgbackup.pl - ESXi5 - root - password MyPassword s D:\ProgramData\VMware\Configuration\ESXi5.bak Server username

    In schedular Windows task, we tried one of the following ways, but always without success

    (1) start a program, program - "C:\Program Files (x 86) \VMware\VMware vSphere CLI >", parameter - 'vicfg - cfgbackup.pl - ESXi5 - root - password MyPassword s D:\ProgramData\VMware\Configuration\ESXi5.bak Server username.

    (2) to start a program, program - "C:\Program Files (x 86) \VMware\VMware vSphere CLI > vicfg - cfgbackup.pl", parameter - ' - server ESXi5 - username root - password MyPassword s D:\ProgramData\VMware\Configuration\ESXi5.bak.

    Your opinion is requested.

    Thank you

    I added "C:\Program VMware vSphere CLI\bin > ' in my system 'PATH' to luch vCLI command of anywhere.

    Make a batch file and write the following lines there:

    vicfg - cfgbackup.pl - server SRV1 - username root - password MyP@ss s 'e:\host-cfg\SRV1.cfg '.

    vicfg - cfgbackup.pl - server SRV2 - username root - password MyP@ss s 'e:\host-cfg\SRV2.cfg '.

    Then created a base on my Windows Calendar, select "Run program" in the "Action" stage and get the path of the command file created in the next step.

    If you want to run several times a day, you can change the calendar created as image attachment (depending on your timing of backup).

  • With the help of vicfg-cfgbackup during the upgrade to ESXi

    Hi all

    We are working on the upgrade to ESX 4.1 to 5.1 ESXi.  We do this in a scalable fashion.  Take us a host ESX 4.1 since the cluster, rebuild it from scratch with ESXi 5.1 and then place it in a cluster.  Is it possible or advisable to back up the configuration of ESX 4.1 with vicfg-cfgbackup and then restore this configuration it is upgraded to 5.1 ESXi?  We do not have Enterprise Plus license so profiles host is not an option (or at least that's my understanding).

    Thanks for your help and advice!

    I don't know that there is an 'official' answer on that, but check out http://communities.vmware.com/thread/392759 for more information.

  • ESXi 4.1 vicfg-cfgbackup ABSENT

    I don't want to use vma or rcli to Setup esxi backup and wonder why the vicfg-cfgbackup command is not present on the latest version of esxi 4.1. I would like to run this command in the console on the host ssh and I read howtos speaking on the use of this command from a ssh shell on the host, but it does not appear when I run.

    any ideas?

    Thank you

    Is there a reason you want to use the appliance vCLI or vMA?

  • vicfg-cfgbackup

    What saves exactly script vicfg-cfgbackup [/ b]?

    Users & groups?

    Port groups?

    vSwitches?

    Connected data warehouses?

    "Advanced settings"?

    Network (ip, gateway, dns, ntp) settings?

    etc.

    Hello.

    Check out this discussion.

    Good luck!

  • ESX1 backup... help vicfg - cfgbackup.pl

    I need some clarification on vicfg - cfgbackup.pl. I just installed vMA and it seems to work. I want to use vicfg - cfgbackup.pl to save the config esxi. Run this command of vMA? Because when I do I get a command not found.  Or do I run from a PC? Thanks for your help



    Nick

    Do a google on "scp" and a search Windows machine, you'll probably want to use the free tool called "WinSCP".

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • question of vCLI backup vicfg - cfgbackup.pl

    I would have posted this in vSphere forums but for some reason any, that there is no option to start a new thread it only here. in any case, I used the vCLI backup feature to back up my esxi server to the top, but I was wondering what it accualy backup because it did not take long at all is not a big file and I elastix VOIP server inside runing. (Not that I've added users or even configured it yet just installed)

    What this accualy backup installed on the esxi server or JUST the esxi as static and other IP config.

    Appreciate any inputs on this.

    Thank you

    Lance DeWitt.

    It's at Leedy Mfg Co LLC.

    He only backups complete the esxi-config / or part of it.

    To save your copy of VMs, the directories of your virtual machines/vmfs/volumes /...

  • Permission problem when using vCLI some changes?

    I was after the "iSCSI SAN Configuration Guide" made by vmware to set up our ESXi (embedded on hardware Dell PowerEdge R810) 4.1 to work with a San.   The task I'm doing right now is Jumbo Frame (MTU = 9000) activation on vSwitch and all VMKernal.

    However, I was getting error with the message "Fault.Restriction.Summary" or "Fault.RestrictedVersion.Summary" and could not accomplish the task.

    Could someone please tell me why I came across this and how to get around it?  I guess it's on clearance, but I used the most high level account root to login?

    Before making any major configuration changes (even through the vCLI) it's worth it to make a backup with vicfg-cfgbackup.  Then just access TSM and make your changes.   TSM is not recommended for managing day to day, or items that can be performed through the vSphere API.  You don't require support VMware to access however.

    You should change the script to move vicfg to esxcfg and remove certain parameters (-server).

    Dave

    VMware communities user moderator

    Now available - vSphere Quick Start Guide

    You have a system or a PCI with VMDirectPath?  Submit your specifications to Officieux VMDirectPath HCL.

  • Backup error ESXi 5.5 using vicfg

    I'm trying to save our ESXi server configuration using the command vicfg - cfgbackup.pl, but I got the error 'bad hostname' after entering the password. Here's my output to the screen. What I am doing wrong?

    C:\Program Files (x 86) \VMware\VMware vSphere CLI\bin > vicfg - cfgbackup.pl - Server

    192.168.75.18 - username = root s c:\ESXi_test1_backup.txt =

    Enter the password:

    Error to connect to the server " " https://=192.168.75.18/sdk/webService': Bad hostn

    SOUL

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

    Is 192.168.75.18 the IP address of your ESXi host (without typos etc.) and is this place works?

    Probably you have an error in the command line you entered, the error message print "https://=192.168...

    The '=' in front of the INVESTIGATION period does not, maybe you have entered - Server == 192.168... ?


  • Configure a backup at the request of 5.0 ESXi hosts

    Hello

    Is there anyway that I can configure a scheduled backup of 10 servers ESXi?

    Please suggest.

    Thank you

    Mihir

    Mihir salvation,

    Years ago I was also thinking around how to manage the ESX (i) to return once crashing.

    I could circle in all directions, but I come to the end that "try to save some configs" > theire is of single Point of failure.

    -Get 100% of all the files that are needed to get the config back once that crashing

    -At a Major relase change > perhaps this dependend files modification or extension

    -Restore/backup Configs, maybe causing a kind of instability...

    -Don't know if Vmware supports 100% backup and restore config

    In any case, my own Solution follows.

    Instead of save config and trying to restore > I kill 2 flies with 1 slap.

    -Fast food (but of the mind, this is a new installation and pushing scripts,...)

    -Update of the process. (New installation with the new Build number)

    I use the PXE boot solution.

    The server is much more stable.

    What I did:

    -R2 Windows 2012 with IIS + WDS

    -With the help of 2 actions

    1 x for WDS

    1 x for IIS

    IIS part = 1: Hostcfgs (Kickstart files for each host)

    2: Patch (placed the last update file)

    3: scripts (host, ntp file, the advanced settings, file exchanges,...)

    WDS share = deployment share of default windows where I place the iso extract binaries and files menu pxelinux.cfg,...

    Then at all. Once I have a strange problem. I push things kickstart and have following

    -More information freshly installed with all THE Configs as before

    And once that a new major Relase is out > it is easy to integrate to PXE.

    If you have only one initially effort and you need keep the patches (or by creating every time a new Source).

    PS: Remember, you must be sure that the system is Stable. And with a sort of backup/restore > you never 100% could be sure that this is the case. Because you know a lot of theire ID of the object in the background...  With this kind of Solution, I could be sure that I covered everything 100%.

    "vicfg-cfgbackup" is a good idea >, but never I would rely on it completely.

    Just Feedback to think in the other direction.

    Best regards

    Max

  • How can I make visible iscsi drive to a guest operating system?

    Hello

    I have (AFAIK) working between our Poweredge 1850 servers and our AX150i iSCSI

    I have two vswitches implemented, each using a different network and on different networks. I can see my LUN and everything seems ok.

    In stock, I created two storage devices and am now looking to get this visible to my guest as a local disk operating system, so I can use them. It's the part that I am confused on that I see no way to do this.

    If I remember correctly, on our physical hosts as soon as I assigned virtual disks to servers, they have become visible to the OS and I left.

    I've attached screenshots of my main screens.

    Also, is this the right command to save my config servers (I'm on windows):

    vicfg - cfgbackup.pl - server & lt; Ip_serveur & gt; s & lt; filename & gt;

    Thanks (again).

    Hedley

    Hello

    I think you are trying to create a virtual hard drive as opposed to a raw disk mapping (RDM).

    If this is the case then what you need to do is change the settings of the virtual machine by right-clicking on the corresponding to your OS virtual computer that needs to access the disk asked again.

    Add a new device, select a hard drive, choose Create a new virtual disk, select the size you want and the data store that you want it to be on. The rest you can leave the default, check the summary reflects what you want and press Finish.

    Concerning

    Leafy911

    (Do not forget that you receive points you award points)

  • Recommendations for "Standby" host / creation of an additional data store / system partition

    My ESXI host 5.0, as well as several virtual machines in the data store, resides on a drive of 500 GB of aging.

    I have a disc of 2 TB to spare I would partition to as a standby host and an another data store containing the virtual machine, whose thinking is that when the 500 GB drive goes down, I can boot from the 2 TB drive and the new.

    I'm looking for suggestions for the best option to implement.  Thoughts include:

    1. A new installation of ESXI on 2 TB drive and restore the configuration from a backup "vicfg-cfgbackup" of the host of 500 GB
      1. have two partitions VFMS, one, a "backup" of the current data store containing the VM on the 500 GB drive and the second is a "general" datastore ~1.5TB that I can use for a volume of FreeNAS; or,
      2. have a bigger VMFS partition
    2. Partition my drive from 2 TB to allow later installation of ESXI; and two partitions VFMS (one of the same size as on the 500 GB drive and the second using the remaining space available), or a single VMFS partition

    Proceed to option (1) would result in two disks with ESXI hosts on a machine, but probably, because they are not clones, the UUID must be different so there is no problems with the discs being active.  I just need to set the BIOS to boot from the correct disk.  I understood this correctly, and if so, are there other potential problems with this approach?  The process of installing ESXI allows multiple VMFS created on the a drive, or this work manually through the command line interface, or the vSphere client

    The second approach is possible, and would I partition the same drive the 500 GB (IE several partitions of LinuxNative, a systemPartition, a vmkDiagnostic and a vmfs partition), with an additional partition VFMS (or a large VMFS partition)?  Or is it not possible to install ESXI on a disk with partitions that must be kept.  From what I've seen, it seems that if the Setup program detects that the drive has [a] [s] of data store, then the option is provided for the upgrade, so maybe it's possible to install ESXI on a disc with pone or warehouses of VMFS more data on the disk...

    Or maybe there is a third option that would be best.

    Any advice?

    Hi Ray,

    If you have just a 500 GB drive in your host 5.0 store the ESXi and your VMX/VMDK virtual machines then why not just do the following.

    1. Remove the 500 GB drive
    2. Insert the 2 TB drive
    3. Install ESXi 5.5U2 (or 5.0, if you still need a compatibility it provides) and partition your drive from 2 TB to choose from including data storage you want.
    4. Turn off and add the 500 GB drive (or place it in a networked PC or in a basket usb)
    5. Power and copy the vmx/vmdk files of the 500 GB to your new store of data and add virtual machines to the inventory
    6. Now periodically instant and take backups of your virtual machines to your 500 GB drive (by placing it in a USB port or network caddy/PC)

    What's an option 3?

    Concerning

    Chris

  • esxcli 'not found.

    Hello

    I hope that someone will take pity on a bad Administrator stressed, having inherited an ESXi 5.0.0 build server 623860 and try to install Windows 2012... I know, I know!

    I do not have the Update Manager and I'm trying to patch update 3 via the command interface. I downloaded the update - from - esxi5.0 - 5.0_update03.zip to... [ISO-Storage]/Updates/update-from-esxi5.0-5.0_update03.zip and helped local shell via F2 on the console and SSH.]

    In both cases, it seems to me end up at the basic prompt, with none of the esxi CLI commands...

    ~ # esxcli

    SH: esxcli: not found

    ~ # vicfg - cfgbackup - save myserver.tgz

    SH: vicfg-cfgbackup: not found

    ~ # vicfg - hostops - information on the operation

    SH: vicfg-hostops: not found

    So I downloaded vCLI for windows with about the same amount of success...

    C:\Program Files (x 86) \VMware\VMware vSphere CLI\bin > esxcli - kay - 9 server - use

    List of the preofile sources rname software admin - deposit = [ISO-storage] / updates/upgrades.

    -esxi5.0 - 5.0_update03.zip

    Enter the password:

    Error: Unknown namespace software

    esxcli cannot be used with version 4.0 or newer servers

    In short - I can't find any of these problems on google... help!

    Once again, thank you very much for your time and effort Arun!

    I solved the problem of the esxcli as well. As my login "admin" seems to be a privilege high as I can do, including execution known to the command line, it does not appear to have esxcli permissions. Registration as a works 'root '.

    Therefore, I think have more no problem.

    If anyone has any of these problems...

    (1) make sure that your version of vCLI matches your version of ESXi - vCLI 4.0 does not quite seem to run against 5.0 ESXi.

    (2) If you are 'away' esxcli and vi - cfg on a local console - check your permissions and login as "root".

  • ESX Configuration backup - it stores passwords?

    We just started to back up our ESXi server configuration by using this command:

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


    2 questions:


    1. I guess that it contains all the configuration details? Nothing is omitted?

    2. these backup files contain password information, and if so, it is in plain text format?


    Thank you

    2. these backup files contain password information, and if so, it is in plain text format?

    I just tested myself by creating a copy of backup config and examined the compressed tar file. It actually saves the file/etc/shadow with passwords hashed all ESXi local accounts, including the roots.

    1. I guess that it contains all the configuration details? Nothing is omitted?

    From what I see in my backup as it will restore basic configuration more (only the files in/etc /) you would expect from a stand-alone host, but know that there are many other things where vCenter is involved which cannot be restored or works as expected when restored. I prefer rather to use the profiles of the host.

  • ESX 4.1.0 vCLI during backup of the configuration error

    Hello

    I have an Esx 4.1.0 Build 260247, when I try to do the backup of the configuration with the command vicfg - cfgbackup.pl - Server < insert the IP address of the name of the server here > s < where you want sauvΘs > in my PC with vCLI 4.1, but I got an error:

    "Operation not supported on this host."

    Vmware Backup configuration error.jpg

    I tried with different parameters, but it's the same mistake.

    I had tried with vCLI 5.1 and 4.1 vCLI.

    The server has open port 22.

    Note: I have 5.1 Esx servers and I can do backups of configuration.

    Any ideas?

    Thank you!

    vicfg - cfgbackup.pl is only supported on embedded platforms.

Maybe you are looking for

  • My disk utility has no encryption option.

    I'm trying to format a USB key that I can encrypt.  But my disk utility does not have the drop down option for encryption. Can I have a utility obsolete? OS X El Capitan 10.11.5 In the Finder, when you attempt to encrypt, I get an error message sayin

  • Impossible to uninstall Officejet 6000 E609 in Windows 10

    Our old Officejet 6000 has been installed long ago (wired, not Wireless no, no ethernet).  The printer has been named our son to use in College with his Macbook.  Since then, our two laptops and one desktop have been improved to 10 Windows.  By doing

  • Error code: 0x8007066F when you try - updating security for Microsoft Office 2007 System (KB973704)

    When you try to install Update of security for Microsoft Office System 2007 (KB973704) I keep receivingError Code: 0x8007066F How can I fix this so I can install the update? Thanks for any help

  • DV6-6c60el: dv6-6c60el bricks Bios

    Hello world I think I have bricked my bios trying to update with the latest version. Now it does not start and the screen is still black. I tried to create a key USB Hp_tool as described here: http://support.hp.com/us-en/document/c02693833. I used th

  • I can't install windows xp service pack 3.

    I can't install windows xp service pack 3. My computer crashed and I had to reinstall all software.  I have mcafee total protection 2011 installed with a firewall. The windows xp cd I had to reinstall had windows xp service pack 2 on it. It was insta