You are only in a hurry till you get to the front of the queue

Friday, 9 March 2012

Sametime standard server start/stop script on Gentoo linux « Usable Software's Backlog

Sametime standard server start/stop script on Gentoo linux « Usable Software's Backlog.

Sametime standard server start/stop script on Gentoo linux





Soon it is christmas and I hope to get some time to do a more automated install script for Lotus Notes on Ubuntu/Linux Mint etc. But in the meantime I have this which is a start/stop script for Sametime WebSphere servers on a Gentoo machine. This server hosts everything except the Sametime Community server. Everything works very well on a Gentoo 32bit server. I hade some trouble with installing DB2 and I had to manually create user db2admin, otherwise it works pretty well. Tell me about you experience installing Sametime WebSphere servers on Linux, I like to gather and publish information about this.

meetings ~ # cat /etc/init.d/sametime
#!/sbin/runscript

depend() {
need net
}

start() {
ebegin “Starting Sametime”
su – db2admin -c “source ./sqllib/db2profile ; /home/db2admin/sqllib/adm/db2start”
/opt/IBM/WebSphere/AppServer/profiles/STSCDMgrProfile/bin/startServer.sh dmgr
/opt/IBM/WebSphere/AppServer/profiles/STSCAppProfile/bin/startServer.sh nodeagent
/opt/IBM/WebSphere/AppServer/profiles/STSCAppProfile/bin/startServer.sh STConsoleServer
/opt/IBM/WebSphere/AppServer/profiles/meetingsSTMSPNProfile1/bin/startServer.sh nodeagent
/opt/IBM/WebSphere/AppServer/profiles/meetingsSTMSPNProfile1/bin/startServer.sh STMediaServer
/opt/IBM/WebSphere/AppServer/profiles/webchatSTPPNProfile1/bin/startServer.sh nodeagent
/opt/IBM/WebSphere/AppServer/profiles/webchatSTPPNProfile1/bin/startServer.sh STProxyServer
/opt/IBM/WebSphere/AppServer/profiles/meetingsSTMPNProfile1/bin/startServer.sh nodeagent
/opt/IBM/WebSphere/AppServer/profiles/meetingsSTMPNProfile1/bin/startServer.sh STMeetingServer
/opt/IBM/WebSphere/AppServer/profiles/meetingsSTMPNProfile1/bin/startServer.sh STMeetingHttpProxy
eend $?
}

stop() {
ebegin “Stopping Sametime”
/opt/IBM/WebSphere/AppServer/profiles/meetingsSTMSPNProfile1/bin/stopServer.sh STMediaServer
/opt/IBM/WebSphere/AppServer/profiles/meetingsSTMSPNProfile1/bin/stopServer.sh nodeagent
/opt/IBM/WebSphere/AppServer/profiles/meetingsSTMPNProfile1/bin/stopServer.sh STMeetingServer
/opt/IBM/WebSphere/AppServer/profiles/meetingsSTMPNProfile1/bin/stopServer.sh STMeetingHttpProxy
/opt/IBM/WebSphere/AppServer/profiles/meetingsSTMPNProfile1/bin/stopServer.sh nodeagent
/opt/IBM/WebSphere/AppServer/profiles/webchatSTPPNProfile1/bin/stopServer.sh STProxyServer
/opt/IBM/WebSphere/AppServer/profiles/webchatSTPPNProfile1/bin/stopServer.sh nodeagent
/opt/IBM/WebSphere/AppServer/profiles/STSCAppProfile/bin/stopServer.sh STConsoleServer
/opt/IBM/WebSphere/AppServer/profiles/STSCAppProfile/bin/stopServer.sh nodeagent
/opt/IBM/WebSphere/AppServer/profiles/STSCDMgrProfile/bin/stopServer.sh dmgr
su – db2admin -c “source ./sqllib/db2profile ; /home/db2admin/sqllib/adm/db2stop”
eend $?
}

meetings ~ # rc-update add sametime

0 comments :

Post a Comment

Thank you for taking the time to comment. Your opinion is important and of value and we appreciate the positive feedback! If you are "Negative Nancy" then please do us, and humanity, a favor and piss off.

Total Pageviews

Google+ Followers

Interesting pages

Blog Archive

Popular Posts

Recent Comments

Rays Twitter feed

Ads

Web sites come and go and information is lost and therefore some pages are archived. @rayd123 . Powered by Blogger.