This commit is contained in:
Nidhi Mehta 2024-06-07 13:05:47 -05:00 коммит произвёл nidhi0622
Родитель 93868cb1ec
Коммит 0757739773
1 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -61,6 +61,16 @@ sudo -i -u egoadmin bash << EOF
. /etc/profile.d/symphony.sh . /etc/profile.d/symphony.sh
egosh user logon -u ${SOAM_USER} -x ${SOAM_PASSWORD} egosh user logon -u ${SOAM_USER} -x ${SOAM_PASSWORD}
egosh service stop HostFactory egosh service stop HostFactory
COUNT=0
while ! (egosh service view HostFactory | grep DEFINED); do
sleep 1
if [ ${COUNT} -gt 60 ]; then
echo "HostFactory service did not stop in time."
break;
fi
let COUNT++
done
egosh service start HostFactory egosh service start HostFactory
egosh service view HostFactory egosh service view HostFactory
EOF EOF