Skip to content

Files

Latest commit

c14c1f6 · Sep 21, 2023

History

History
This branch is 1 commit ahead of vmwarecode/SAP-HANA-on-vSAN-Health-Check-Vib-and-Installation-Script:master.

SAP-HANA-on-vSAN-Health-Check-Vib-and-Installation-Script-master

# 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 cwei@vmware.com>

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