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

0 Likes
over 12 years ago

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
  • The use of

    fuser -k /media/nss/GWDOM

    seems to also unload ndsd (eDirectory) when its on a NSS file system.

    Use this instead:

    pkill -fx "/opt/novell/groupwise/agents/bin/gwmta @/media/nss/GWDOM/groupwise/agents/share/gwdom.mta"

    You can find the text that goes in between the quotes by using this command

    ps aux | grep gwmta

    I hate that we are doing this kill in the first place.
  • I believe it says you can't cluster the webaccess application, I don't think it says you can't install it on the cluster node. While I have actually gotten it to work as a cluster resource the simplest method is to install the gwapplication on all nodes in the cluster. You can leave it there and direct users to the cluster resource address or use them to load balance the traffic across the cluster nodes.
  • Hello,

    A very nice info...

    But I just have a question.

    I have seen in the GW documentation that if the WebAccess agent can be installed in a cluster environment, the Web Application part (tomcat/apache) cannot...

    So, would be possible to know how did you install the Web Application component in your cluster system ?

    Tx a lot ...

    Cheers,

    Stephan
  • 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 deleted - as requested by author.
  • I don't mean to be critical but...

    I'm sure it's a dumb question but why would you want to have groupwise on OES with NSS? Best practices are to use a native linux file system for GroupWise on linux. We've had that recommendation for a long time and it's very well justified.

    Even though I disagree with the choice of ReiserFS as that recommended file system I much more strongly committed to using NSS only in places where I need to have users accessing the file system through a rich set of security assignments like the ones available from Novell NSS trustee assignments. Other than providing NCP access to the Domain for administration from a windows workstation which you can still do using NCP services (shudder to think of using windows) why would any user need direct file access from a windows PC for anything else, never mind requiring trustee assignments?

    Would there be perhaps some other function of NSS like salvage that is necessary for GroupWise (again I shudder to think about the mess of leaving salvage enabled on a volume that hosts GroupWise).

    I would venture to guess I could accomplish just about everything you'd need to accomplish using native services including copy on write snapshots via LVM.

    Not to mention my personal experience with NSS on linux, a great piece of engineering no doubt but not well suited to the kind of transactional load I would expect to experience if I needed to build a 3 node cluster to support the company.

    I'm an engineer with over 20 years of experience in the computer field and over 10 years of mechanical engineering before that building theme park attractions and worlds fair pavilions. In all that time one of my most cherished tenets has been to always use the right tool for the job. With that in mind justify to me providing information on using NSS on linux for GroupWise?

    Respectfully Yours;

    Rob A.

Related Discussions
Recommended