This commit is contained in:
2023-10-31 22:58:12 -05:00
parent 7056ea7a70
commit f16c72bde9
2 changed files with 9 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='2.3.60-10302023'
VERS='2.3.80-10302023'
noheader=' update service dailytemp '
@@ -99,6 +99,13 @@ PW_ESXI_HOST_NAMES['10.10.2.17']='iDS-vMS-Host7'
# PW_ESXI_HOST_NAMES['10.2.1.18']='iDS-vMS2-Offsite.scity.us'
PW_ESXI_HOST_NAMES['10.2.1.11']='OFF-vMS-Host1'
declare -A PW_VCENTER_HOST_NAMES
PW_VCENTER_HOST_NAMES['10.10.2.10']='ids-vms-iscsi.scity.us'
PW_VCENTER_HOST_NAMES['10.10.2.11']='ids-vms1.scity.us'
PW_VCENTER_HOST_NAMES['10.10.2.16']='ids-vms6.scity.us'
PW_VCENTER_HOST_NAMES['10.10.2.17']='ids-vms7.scity.us'
PW_VCENTER_HOST_NAMES['10.2.1.11']='ids-vms1.offsite.scity.us'
declare -A PW_iDRACHOST_SHORTNAMES
PW_iDRACHOST_SHORTNAMES['10.10.2.20']='iDS-vMS-Host0'
PW_iDRACHOST_SHORTNAMES['10.10.2.21']='iDS-vMS-Host1'

View File

@@ -1117,7 +1117,7 @@ SHUTDOWN_SERVER(){
echo "($datetime) - Shutting down ${host} (${hostip})" >> ${PW_LOGFILE}
echo -en "${idsCL[LightCyan]}Enabling maintenance mode ... "
[ "${TEST}" != "true" ] && ${PW_FOLDER}/esxi-scripts/host-maintenance_mode.ps1 ${hostip} & >/dev/null 2>&1
[ "${TEST}" != "true" ] && ${PW_FOLDER}/esxi-scripts/host-maintenance_mode.ps1 ${PW_VCENTER_HOST_NAMES[${hostip}]} & >/dev/null 2>&1
echo -e "${idsCL[Green]}Done\n"
echo -en "${idsCL[LightCyan]}Giving time for iSCSI VM's to begin migration to other hosts ... "