- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Starting 3 tier application servers in particular ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2007 06:00 AM
тАО02-15-2007 06:00 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2007 06:12 AM
тАО02-15-2007 06:12 AM
Re: Starting 3 tier application servers in particular order
when you shut down, first shutdown the app servers and then the DB servers. when you bring it up, bring up the the DB servers first so that the app servers can connect to the DB servers when they come up .
rgds/ James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2007 06:13 AM
тАО02-15-2007 06:13 AM
SolutionYes.
First I set up password free ssh access using HP-UX Secure Shell (port of openssh) so that the root user on all systems can do this:
ssh systemname command
Without a password.
In the /sbin/init.d/startupscript
For the critical application the following loop needs to be there(incomplete code)
while true
do
ssh systemname command
#command gets information that proves the application is running on the other server. command example $runing=$(ps -ef | grep oraapp |wc -1) if the number returned is 1 we're go mission.
if (condition is met)
then
exit;
else
sleep 60
fi
done
# start the application here
Crude, likely to introduce slower startup, but brutally effective when tested.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2007 06:48 AM
тАО02-15-2007 06:48 AM
Re: Starting 3 tier application servers in particular order
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2007 07:04 AM
тАО02-15-2007 07:04 AM
Re: Starting 3 tier application servers in particular order
Cheers,
Raj.