8 Replies Latest reply on Apr 5, 2015 6:58 PM by lamw

    ESXi 6 Support

    oturn Enthusiast

      Will support for ESXi 6 be coming anytime soon? Thanks!

        • 1. Re: ESXi 6 Support
          Mezlo Novice

          I have it running on my system with the 2 changes below in ghettoVCB.sh:

           

          Line 265:

          replace "5.0.0|5.1.0|5.5.0)    VER=5; break;;" with "5.0.0|5.1.0|5.5.0|6.0.0)    VER=5; break;;"

           

          Line 768:

          replace "if [ ${ESX_RELEASE} == "5.5.0" ]; then" with "if [ ${ESX_RELEASE} == "5.5.0" || ${ESX_RELEASE} == "6.0.0" ]; then"

           

          These are quick hacks since I'm not incrementing VER but it seems to work just fine for me. I also didn't edit ghettoVCB-restore.sh since I've never used it (I've always manually copied the vm back).

          1 person found this helpful
          • 2. Re: ESXi 6 Support
            oturn Enthusiast

            Working great. Thank you!

            • 3. Re: ESXi 6 Support
              CharlesLabri Lurker
              • 4. Re: ESXi 6 Support
                Phatsta Enthusiast

                Hey,

                 

                Good job. This happens every time there’s a major esxi update. Happened last with 5.5.

                https://communities.vmware.com/message/2304958

                 

                For those who want a quick solution to their existing script (i.e to lazy to update ) I’ll specify what the changes are. Or at least the changes I usually make. By editing, or in this case inserting, this line (at line 265) you’re able to run the script:

                       6.0.0)                VER=6; break;;

                 

                Just verified on my system at home.

                 

                /Daniel

                 

                 

                 

                Från: CharlesLabri communities-emailer@vmware.com

                Skickat: den 3 april 2015 20:06

                Till: Daniel Jokinen

                Ämne: New message: "ESXi 6 Support"

                 

                VMware Communities<https://communities.vmware.com/index.jspa>

                 

                ESXi 6 Support

                created by CharlesLabri<https://communities.vmware.com/people/CharlesLabri> in ghettoVCB - View the full discussion<https://communities.vmware.com/message/2493907#2493907>

                • 5. Re: ESXi 6 Support
                  lamw Guru
                  VMware EmployeesCommunity Warriors

                  I've just updated both ghettoVCB.sh / ghettoVCB-restore.sh to support ESXi 6.0, sorry for the delay in adding this.

                  • 6. Re: ESXi 6 Support
                    Rapici Novice

                    Hi friends,

                    Thanks a lot and fantastic job lamw

                     

                    Regards

                    Rapici

                    • 7. Re: ESXi 6 Support
                      agomezp Enthusiast

                      lamw : after performing the upgrade from version 5.5 to 6.0, update ghettoVCB and try to run the backup storing it on a external server via nfs shows :

                       

                       

                      vmkload_mod multiextent

                      ./ghettoVCB.sh -a -e vms_exclude.txt -l /tmp/ghettoVCB.log -g ./ghettoVCB.conf

                       

                      2015-04-05 22:39:20 -- info: ============================== ghettoVCB LOG START ==============================

                       

                       

                      Insufficient arguments.

                      Usage: nas_create name nfsVersion remotePath readonly remoteHostNames

                       

                       

                      Add a NAS datastore.

                      readonly is a boolean value, 1 for readonly and 0 for rw access.

                           NFS Version must be nfs for nfs v3 or nfsv41 for version 4.1 or later

                       

                      2015-04-05 22:39:21 -- info: CONFIG - USING GLOBAL GHETTOVCB CONFIGURATION FILE = ./ghettoVCB.conf

                      2015-04-05 22:39:21 -- info: CONFIG - VERSION = 2015_04_04_1

                      2015-04-05 22:39:21 -- info: CONFIG - GHETTOVCB_PID = 169324

                      2015-04-05 22:39:21 -- info: CONFIG - VM_BACKUP_VOLUME = /vmfs/volumes/bkvms/esxi

                      2015-04-05 22:39:21 -- info: CONFIG - ENABLE_NON_PERSISTENT_NFS = 1

                      2015-04-05 22:39:21 -- info: CONFIG - UNMOUNT_NFS = 1

                      2015-04-05 22:39:21 -- info: CONFIG - NFS_SERVER = 192.168.11.4

                      2015-04-05 22:39:21 -- info: CONFIG - NFS_VERSION = nfs

                      2015-04-05 22:39:21 -- info: CONFIG - NFS_MOUNT = /backup

                      2015-04-05 22:39:21 -- info: CONFIG - VM_BACKUP_ROTATION_COUNT = 1

                      2015-04-05 22:39:21 -- info: CONFIG - VM_BACKUP_DIR_NAMING_CONVENTION = 2015-04-05_22-39-18

                      2015-04-05 22:39:21 -- info: CONFIG - DISK_BACKUP_FORMAT = 2gbsparse

                      2015-04-05 22:39:21 -- info: CONFIG - POWER_VM_DOWN_BEFORE_BACKUP = 0

                      2015-04-05 22:39:21 -- info: CONFIG - ENABLE_HARD_POWER_OFF = 0

                      2015-04-05 22:39:21 -- info: CONFIG - ITER_TO_WAIT_SHUTDOWN = 3

                      2015-04-05 22:39:21 -- info: CONFIG - POWER_DOWN_TIMEOUT = 5

                      2015-04-05 22:39:21 -- info: CONFIG - SNAPSHOT_TIMEOUT = 15

                      2015-04-05 22:39:21 -- info: CONFIG - LOG_LEVEL = info

                      2015-04-05 22:39:21 -- info: CONFIG - BACKUP_LOG_OUTPUT = /tmp/ghettoVCB.log

                      2015-04-05 22:39:21 -- info: CONFIG - ENABLE_COMPRESSION = 0

                      2015-04-05 22:39:21 -- info: CONFIG - VM_SNAPSHOT_MEMORY = 0

                      2015-04-05 22:39:21 -- info: CONFIG - VM_SNAPSHOT_QUIESCE = 0

                      2015-04-05 22:39:21 -- info: CONFIG - ALLOW_VMS_WITH_SNAPSHOTS_TO_BE_BACKEDUP = 0

                      2015-04-05 22:39:21 -- info: CONFIG - VMDK_FILES_TO_BACKUP = all

                      2015-04-05 22:39:21 -- info: CONFIG - VM_SHUTDOWN_ORDER =

                      2015-04-05 22:39:21 -- info: CONFIG - VM_STARTUP_ORDER =

                      2015-04-05 22:39:21 -- info: CONFIG - RSYNC_LINK = 0

                      2015-04-05 22:39:21 -- info: CONFIG - EMAIL_LOG = 1

                      2015-04-05 22:39:21 -- info: CONFIG - EMAIL_SERVER = mail.XXXX.com.co

                      2015-04-05 22:39:21 -- info: CONFIG - EMAIL_SERVER_PORT = 25

                      2015-04-05 22:39:21 -- info: CONFIG - EMAIL_DELAY_INTERVAL = 1

                      2015-04-05 22:39:21 -- info: CONFIG - EMAIL_FROM = soporte_esxi@XXX.com.co

                      2015-04-05 22:39:21 -- info: CONFIG - EMAIL_TO = soporte@XXX.com.co

                      2015-04-05 22:39:21 -- info: CONFIG - WORKDIR_DEBUG = 0

                      2015-04-05 22:39:21 -- info:

                      • 8. Re: ESXi 6 Support
                        lamw Guru
                        Community WarriorsVMware Employees

                        Ah, looks like I also missed adding "6.0.0" into the NFS mount line which introduced an NFS version starting with 5.5.

                         

                        I've gone ahead and fixed that and pushed the changes which you can see here Update NFS mount code to also include ESXi 6.0 · lamw/ghettoVCB@d6e7fbe · GitHub