-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
22 lines (20 loc) · 2.28 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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