This commit is contained in:
2024-01-23 14:30:57 -06:00
parent 70b9a230c1
commit 4b289ea72b
2 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
VERS='2.5.147-01222024' VERS='2.5.148-01232024'
noheader=' update service dailytemp confsync -r -report ' noheader=' update service dailytemp confsync -r -report '

View File

@@ -635,7 +635,7 @@ ISCSIVMSHUTDOWN(){
echo -e "${idsCL[LightCyan]}Please wait a few minutes while all iSCSI guests are shutdown ..." echo -e "${idsCL[LightCyan]}Please wait a few minutes while all iSCSI guests are shutdown ..."
echo echo
} }
ISCSISYSVMSHUTDOWN(){ ISCSISYSSHUTDOWN(){
for ESXIHOST in "${PW_MAINSITEHOSTS[@]}"; do for ESXIHOST in "${PW_MAINSITEHOSTS[@]}"; do
echo -en "${idsCL[LightCyan]}Shutting down any VM's on '${ESXIHOST}' that are running on an iSCSI-SYS drive ... " echo -en "${idsCL[LightCyan]}Shutting down any VM's on '${ESXIHOST}' that are running on an iSCSI-SYS drive ... "
${PW_FOLDER}/esxi-scripts/iscsi-sys-vm-shutdown.ps1 ${ESXIHOST} >/dev/null 2>&1 & ${PW_FOLDER}/esxi-scripts/iscsi-sys-vm-shutdown.ps1 ${ESXIHOST} >/dev/null 2>&1 &
@@ -646,7 +646,7 @@ ISCSISYSVMSHUTDOWN(){
echo -e "${idsCL[LightCyan]}Please wait a few minutes while all iSCSI guests are shutdown ..." echo -e "${idsCL[LightCyan]}Please wait a few minutes while all iSCSI guests are shutdown ..."
echo echo
} }
ISCSIALLVMSHUTDOWN(){ ISCSIALLSHUTDOWN(){
for ESXIHOST in "${PW_MAINSITEHOSTS[@]}"; do for ESXIHOST in "${PW_MAINSITEHOSTS[@]}"; do
echo -en "${idsCL[LightCyan]}Shutting down any VM's on '${ESXIHOST}' that are running on any iSCSI drive ... " echo -en "${idsCL[LightCyan]}Shutting down any VM's on '${ESXIHOST}' that are running on any iSCSI drive ... "
${PW_FOLDER}/esxi-scripts/iscsi-all-vm-shutdown.ps1 ${ESXIHOST} >/dev/null 2>&1 & ${PW_FOLDER}/esxi-scripts/iscsi-all-vm-shutdown.ps1 ${ESXIHOST} >/dev/null 2>&1 &
@@ -821,7 +821,7 @@ fi
;; ;;
iscsi-vm-shutdown) iscsi-vm-shutdown)
if [ "${2^^}" == "PRI" ] || [ "${2^^}" == "" ]; then if [ "${2^^}" == "PRI" ] || [ "${2^^}" == "" ]; then
ISCSIVMVMSHUTDOWN ISCSIVMSHUTDOWN
elif [ "${2^^}" == "SYS" ]; then elif [ "${2^^}" == "SYS" ]; then
ISCSISYSSHUTDOWN ISCSISYSSHUTDOWN
elif [ "${2^^}" == "ALL" ]; then elif [ "${2^^}" == "ALL" ]; then