Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
Do you want to do a GroupWise 8, 3 node Cluster with NSS Volumes on OES2 Linux? If so then here are your scripts! This should make your life a lot easier in the trenches!
iN this scenario: 1 Post Office, 2 Domains, GWIA and WebAccess. (1000 users)
. /opt/novell/ncs/lib/ncsfuncs
exit_on_error nss /poolact=GWPO
exit_on_error ncpcon mount GWPO=230
exit_on_error add_secondary_ipaddress 10.2.1.64
exit_on_error ncpcon bind --ncpservername=GWPO_VS --ipaddress=10.2.1.64
ignore_error /etc/init.d/grpwise start GWPO3SACS.GWDOMAINSACS
exit 0
. /opt/novell/ncs/lib/ncsfuncs
ignore_error /etc/init.d/grpwise stop GWPO3SACS.GWDOMAINSACS
sleep 10
ignore_error fuser -k /media/nss/GWPO
ignore_error ncpcon unbind --ncpservername=GWPO_VS --ipaddress=10.2.1.64
ignore_error del_secondary_ipaddress 10.2.1.64
ignore_error nss /pooldeact=GWPO
exit 0
. /opt/novell/ncs/lib/ncsfuncs
exit_on_error nss /poolact=GWDOM
exit_on_error ncpcon mount GWDOM=253
exit_on_error add_secondary_ipaddress 10.2.1.65
exit_on_error ncpcon bind --ncpservername=GWDOM_VS --ipaddress=10.2.1.65
exit_on_error /etc/init.d/grpwise start GWDOMAINSACS
exit 0
. /opt/novell/ncs/lib/ncsfuncs
#Request Service Stop
ignore_error /etc/init.d/grpwise stop GWDOMAINSACS
sleep 8
#Stop Service Otherwise
ignore_error fuser -k /media/nss/GWDOM
ignore_error ncpcon unbind --ncpservername=GWDOM_VS --ipaddress=10.2.1.65
ignore_error del_secondary_ipaddress 10.2.1.65
ignore_error nss /pooldeact=GWDOM
exit 0
. /opt/novell/ncs/lib/ncsfuncs
exit_on_error nss /poolact=GWSECDOM
exit_on_error ncpcon mount GWSECDOM=252
exit_on_error add_secondary_ipaddress 10.2.1.66
exit_on_error ncpcon bind --ncpservername=GWSECDOM_VS --ipaddress=10.2.1.66
exit_on_error /etc/init.d/grpwise start GWSECDOM
sleep 5
exit_on_error /etc/init.d/grpwise start gwia.gwsecdom
sleep 5
exit_on_error /etc/init.d/grpwise start WEBAC80A
exit 0
. /opt/novell/ncs/lib/ncsfuncs
ignore_error /etc/init.d/grpwise stop GWSECDOM
ignore_error /etc/init.d/grpwise stop gwia.gwsecdom
ignore_error /etc/init.d/grpwise stop WEBAC80A
sleep 20
ignore_error fuser -k /media/nss/GWSECDOM
ignore_error ncpcon unbind --ncpservername=GWSECDOM_VS --ipaddress=10.2.1.66
ignore_error del_secondary_ipaddress 10.2.1.66
ignore_error nss /pooldeact=GWSECDOM
exit 0