إضغط لتفاصيل الإعلانات



Results 1 to 1 of 1
Share
  1. #1
    Join Date
    Nov 2007
    Location
    Arab world!
    Posts
    6,168
    Blog Entries
    4
    Rep Power
    10

    Default Upgrade ESXi 6.5 using CLI command in seconds

    Hello,
    You could upgrade ESXi in few seconds using CLI commands.

    Please use offline bundle of ESXi version 6.5 , you could upload it directly to one of datastores or attach it as ISO file to console and then copy it to datastore.

    1. after attach ISO to CD, then mount it in ESX via CLI.
    To find the device reference of your CDROM:
    esxcfg-mpath -l
    Example output:
    Code:
    ide.vmhba32-ide.0:0-mpx.vmhba32:C0:T0:L0
       Runtime Name: vmhba32:C0:T0:L0
       Device: mpx.vmhba32:C0:T0:L0
       Device Display Name: Local TEAC CD-ROM (mpx.vmhba32:C0:T0:L0)
        State: active
       Transport: ide
    Load the iso9660 module with this command:
    vmkload_mod iso9660

    Mount the CDROM using the device determined earlier with esxcfg-mpath -l:
    /sbin/vsish -e set /vmkModules/iso9660/mount mpx.vmhba32:C0:T0:L0
    The CDROM will be mounted under /vmfs/volumes/ [CDROM Label] /



    2. You need to know the ISO profile using below command
    Code:
    esxcli software profile update -p ESXi-6.5.0-20170702001-standard -d /vmfs/volumes/SCSIDatastore1/UPDATE~1.ZIP
    Code:
    You will find output like below
    Name                              Vendor        Acceptance Level
    --------------------------------  ------------  ----------------
    ESXi-6.5.0-20170701001s-no-tools  VMware, Inc.  PartnerSupported
    ESXi-6.5.0-20170702001-no-tools   VMware, Inc.  PartnerSupported
    ESXi-6.5.0-20170701001s-standard  VMware, Inc.  PartnerSupported
    ESXi-6.5.0-20170702001-standard   VMware, Inc.  PartnerSupported
    Choose the Standard one.

    3. now you will run the command to perform the upgrade.
    Code:
    esxcli software profile update -p ESXi-6.5.0-20170702001-standard -d /vmfs/volumes/SCSIDatastore1/UPDATE~1.ZIP
    Hold for 3 minutes and all will be done, ESXi will be rebooted. be patient for few minutes then when you see ESXi is up via console, you may need to reconnect the ESXi from Web client.

    On other side, if Vcenter is Appliance version and have any issues in viewing right status you could reboot all services from its console as below.

    Code:
    service-control --start --all
    and this reboots all Linux services for refresh the VCenter services, note this make web client down for few minutes.
    Last edited by Mohamed Fouad; 17-05-2018 at 11:52 AM.


  2. Facebook Comments - تعليقـك على الفيس بوك يسعدنا ويطور مجهوداتنـا


  3. Forum Ads:

  4. Forum Ads:

    اضفط هنا لمعرفة تفاصيل الإعلانات بالموقع


  5. Forum Ads:

    -->

Similar Threads

  1. Hp iLO 4 Firmware can cause VMware ESXi PSOD and Windows BSOD
    By Mohamed Fouad in forum Hardware & Maintenance
    Replies: 0
    Last Post: 24-07-2014, 12:10 PM
  2. Replies: 0
    Last Post: 27-06-2011, 11:15 PM
  3. [Q] How To Upgrade from SPL 1.08 to 4.XX ?
    By amrsohil2000 in forum Mobile technology
    Replies: 4
    Last Post: 18-10-2010, 10:57 AM
  4. Upgrade MCSE to MCITP Resources
    By Mohamed Fouad in forum Microsoft Certifications
    Replies: 0
    Last Post: 06-02-2010, 09:33 PM
  5. IIS Command line
    By mohsen_turki in forum Web development
    Replies: 1
    Last Post: 12-06-2009, 05:16 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

أقسام المنتدى

الروابط النصية

تابع جروبنا على الفيس بوك

صفحة Egypt Engineers على الفيس بوك

تابعنا على linkedin

جروبنا على الياهو جروب