Skip to content

Commit

Permalink
Initial commit by Chen Wei
Browse files Browse the repository at this point in the history
  • Loading branch information
testazuretrain committed Sep 19, 2023
1 parent fa3196a commit 619f376
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 49 deletions.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,48 +1,20 @@
# THIS SCRIPT PACKAGE IS FOR SAP HANA VM TO DETECT VSPHERE AND VSAN INFORMATION FROM VM# YOU CAN RETRIEVE THE FOLLOWING INFORMATION USING VM-TOOLS# "guestinfo.system.manufacturer"# "guestinfo.esxi.powermgmt.active_policy"# "guestinfo.script.setInfo.version"# "guestinfo.system.asset_tag"# "guestinfo.SDS.solution"# "guestinfo.vsan.enabled"# "guestinfo.vm_on_vsan"# "guestinfo.esxi.powermgmt.technology"# "guestinfo.esxi.timezone"# "guestinfo.system.model"# "guestinfo.system.release_date"# "guestinfo.system.bios_version"# "guestinfo.system.service_tag"# "guestinfo.system.ram.size_gb"# "guestinfo.system.cpu.model"
# Copyright (C) 2020 VMWare Inc <Chen WEI [email protected]>

User can use script: install_vib_script_remotely.sh to install/update/remove the vib on the selected ESXi servers
- Pre-requisite:
- Prepare a Linux environment which has SSH client and able to talk to the selected ESXi servers
- Put install_vib_script_remotely.sh and setInfo_vXXX.vib in the same directory
- The ESXi servers should have SSH service enabled
- The ESXi servers should have identical username/password

- HOW TO INSTALL:
- run "sh install_vib_script_remotely.sh -i" in the Linux server
- input the selected ESXi servers' hostname or IP addresses
- input the username
- input the password
- wait for installation process

- HOW TO UPDATE:
- run "sh install_vib_script_remotely.sh -u" in the Linux server
- input the selected ESXi servers' hostname or IP addresses
- input the username
- input the password
- wait for updating process

- HOW TO REMOVE:
- run "sh install_vib_script_remotely.sh -r" in the Linux server
- input the selected ESXi servers' hostname or IP addresses
- input the username
- input the password
- wait for removal process

User can also directly install/update/remove the vib on the selected ESXi servers

- Pre-requisite:
- SSH into the ESXi server
- put the vib file: setInfo_vXXX.vib into /tmp

- HOW TO INSTALL:
- ssh into ESXi server and run "localcli software vib install -v /tmp/setInfo_vXXX.vib"
- wait for installation process

- HOW TO UPDATE:
- ssh into ESXi server and run "localcli software vib update -v /tmp/setInfo_vXXX.vib"
- wait for updating process'

- HOW TO REMOVE:
- ssh into ESXi server and run "localcli software vib remove --vibname setInfo"
- wait for the removal process
# THIS SCRIPT PACKAGE IS FOR SAP HANA VM TO DETECT VSPHERE AND VSAN INFORMATION FROM VM
# YOU CAN RETRIEVE THE FOLLOWING INFORMATION USING VM-TOOLS
# "guestinfo.system.manufacturer"
# "guestinfo.esxi.powermgmt.active_policy"
# "guestinfo.script.setInfo.version"
# "guestinfo.system.asset_tag"
# "guestinfo.SDS.solution"
# "guestinfo.vsan.enabled"
# "guestinfo.vm_on_vsan"
# "guestinfo.esxi.powermgmt.technology"
# "guestinfo.esxi.timezone"
# "guestinfo.system.model"
# "guestinfo.system.release_date"
# "guestinfo.system.bios_version"
# "guestinfo.system.service_tag"
# "guestinfo.system.ram.size_gb"
# "guestinfo.system.cpu.model"
# Copyright (C) 2023 VMWare Inc <Chen WEI [email protected]>User can use script: install_vib_script_remotely.sh to install/update/remove the vib on the selected ESXi servers

- Pre-requisite: - Prepare a Linux environment which has SSH client and able to talk to the selected ESXi servers - Put install_vib_script_remotely.sh and setInfo_vXXX.vib in the same directory - The ESXi servers should have SSH service enabled - The ESXi servers should have identical username/password- HOW TO INSTALL: - run "sh install_vib_script_remotely.sh -i" in the Linux server - input the selected ESXi servers' hostname or IP addresses - input the username - input the password - wait for installation process- HOW TO UPDATE: - run "sh install_vib_script_remotely.sh -u" in the Linux server - input the selected ESXi servers' hostname or IP addresses - input the username - input the password - wait for updating process- HOW TO REMOVE: - run "sh install_vib_script_remotely.sh -r" in the Linux server - input the selected ESXi servers' hostname or IP addresses - input the username - input the password - wait for removal processUser can also directly install/update/remove the vib on the selected ESXi servers- Pre-requisite: - SSH into the ESXi server - put the vib file: setInfo_vXXX.vib into /tmp- HOW TO INSTALL: - ssh into ESXi server and run "localcli software vib install -v /tmp/setInfo_vXXX.vib" - wait for installation process- HOW TO UPDATE: - ssh into ESXi server and run "localcli software vib update -v /tmp/setInfo_vXXX.vib" - wait for updating process'- HOW TO REMOVE: - ssh into ESXi server and run "localcli software vib remove --vibname setInfo" - wait for the removal process
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VMware ESX 6.7 VIB Installation Instructions
VMware ESX 6.7/7/8 VIB Installation Instructions

VMware uses a file package called a VIB (VMware Installation Bundle) as the
mechanism for installing or upgrading software packages on an ESX server.
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 619f376

Please sign in to comment.