GroupWise 8 - 3 node Cluster (OES2) - Scripts for YOU!

0 Likes

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)



Load POA
. /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



Unload POA
. /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



Load Primary Domain
. /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




Unload Primary Domain
. /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



Load Secondary Domain with GWIA and WebAccess
. /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



Unload Secondary Domain, GWIA and Webaccess
. /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

Labels:

How To-Best Practice
Comment List
Anonymous
Parents
  • comment deleted - as requested by author.
  • I read your article, sounded like it might be useful, however it sounds like you need to take a chill pill - 'raronson' was only pointing out that he/she didn't understand why you were using NSS, since the standard approach for running Groupwise on a Linux platform is using a Linux native file system. I don't think his comments were so harsh that you should respond as you did. You simply needed to explain why you used NSS. The article as presented didn't contain any background information!

    Anyway, thankyou for you notes and keep up the sharing of information, but lets leave the personal stuff out.

    re: "you just ripped me for using NSS and you can get the job done with native services like copy on write with LVM....WOW....I'm impressed"

    re: "I could write a long story about this particular project but quite frankly it's not a whole lot of your business"
Comment
  • I read your article, sounded like it might be useful, however it sounds like you need to take a chill pill - 'raronson' was only pointing out that he/she didn't understand why you were using NSS, since the standard approach for running Groupwise on a Linux platform is using a Linux native file system. I don't think his comments were so harsh that you should respond as you did. You simply needed to explain why you used NSS. The article as presented didn't contain any background information!

    Anyway, thankyou for you notes and keep up the sharing of information, but lets leave the personal stuff out.

    re: "you just ripped me for using NSS and you can get the job done with native services like copy on write with LVM....WOW....I'm impressed"

    re: "I could write a long story about this particular project but quite frankly it's not a whole lot of your business"
Children
No Data
Related Discussions
Recommended