- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to configure a stand alone INFORMIX within...
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
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
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
10-22-2001 06:53 PM
10-22-2001 06:53 PM
Currently, there is a INFORMIX package running in MCSG environment. It is monitored using the process name called ONINIT.
If a test INFORMIX will to setup in the same node but does not configure in MCSG. Is there a way to configure the test INFORMIX process name to be different from ONINIT.
Rgds,
YC
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 10:07 PM
10-22-2001 10:07 PM
Re: How to configure a stand alone INFORMIX within a MCSG environment
you have to change your monitor script somewhat. Instead of just monitoring all oninit processes you have to monitor the 'master' oninit PID of your MC/SG controlled Database.
check for the function monitor_processes in your MC/SG script and determine the PID you have to monitor
onpid=`$INFORMIXDIR/bin/onstat -g glo | awk '/ vp /, / tot /' | awk '/^ 1 / { print $2 }' `
$onpid now contains the PID you have to monitor
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 06:59 PM
10-23-2001 06:59 PM
Re: How to configure a stand alone INFORMIX within a MCSG environment
I tried your script but nothing in response.
Could you explain what the script is trying to achieve.
Thanks for your time to look into the problem.
YC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 09:57 PM
10-23-2001 09:57 PM
Re: How to configure a stand alone INFORMIX within a MCSG environment
>Currently, there is a INFORMIX package running in MCSG >environment. It is monitored using the process name called ONINIT.
Please post your script which monitors ONINIT and I'll have a look at it
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 10:17 PM
10-23-2001 10:17 PM
Re: How to configure a stand alone INFORMIX within a MCSG environment
I have attached the script. It is the INFORMIX tool kit for MCSG from HP.
Rgds,
YC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 10:37 PM
10-23-2001 10:37 PM
Re: How to configure a stand alone INFORMIX within a MCSG environment
The original script for INFX on MC/SG watches for all processes called oninit (array MONITOR_PROCESSES)
You can't use this script (especially the function 'monitor_processes' when you want to start another instances .
your script should only monitor the state of your master-pid of INFORMIX. This is the PID which starts the other oninit processes necessary .
I have included my customized monitor_process function from the MC/SG script
I' running four MC/SG controlled instances of INFORMIX and having no problem with this.
I can start/stop/move all packages without influence on the other db instances.
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 11:10 PM
10-23-2001 11:10 PM
Re: How to configure a stand alone INFORMIX within a MCSG environment
1) Am I correct to say that the master pid is actually 'one' pid not an array of pid.
eg:
In the following "onstat -g glo", am I correct to say that the master pid is 9574.
:
:
Individual virtual processors:
vp pid class usercpu syscpu total
1 9574 cpu 961.78 303.02 1264.80
2 9575 adm 3.38 7.58 10.96
3 9576 cpu 1270.74 308.29 1579.03
4 9577 cpu 689.80 189.63 879.43
5 9578 cpu 797.44 207.53 1004.97
6 9579 lio 2.26 6.72 8.98
7 9580 pio 0.39 1.28 1.67
:
:
2) If this is so, why the script is not grepping that particular master pid ? Something like:
onstat -g glo | sed -n '25p' | cut -c '8-13'
3) When "ps -ef | grep 9574" is issued, the following shown:
informix 9575 9574 0 02:06:27 ? 0:10 /informix_runt/bin/oninit
informix 9574 1 55 02:06:27 ? 21:24 /informix_runt/bin/oninit
root 2332 13078 1 14:49:03 pts/tb 0:00 grep 9574
There are quite a number of child spawn from pid 9575 not 9574. When the child of pid 9575 is killed, will the pkg fail over ?
YC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 11:32 PM
10-23-2001 11:32 PM
Re: How to configure a stand alone INFORMIX within a MCSG environment
>There are quite a number of child spawn from pid 9575 not 9574. When the child of pid 9575 is killed, will the pkg fail over ?
What happens when any of the childs fails depends on what INFORMIX is doing in this case.
When informix can recover from this error a new oninit process for the correspponding class is spawned and nothing changes for your DB.
In case the is no recovery possible INFORMIX will go down and your master PID will get killed.
In this case MC/SG will detect the crash and react according to your configuration ( restart/failover)
Regards
rainer
I
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 12:14 AM
10-24-2001 12:14 AM
Re: How to configure a stand alone INFORMIX within a MCSG environment
Would you be able to advice on point (1) and (2) of my last posting.
YC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 12:28 AM
10-24-2001 12:28 AM
Re: How to configure a stand alone INFORMIX within a MCSG environment
1) fully correct
2) onstat -g glo | sed -n '25p' | cut -c '8-13'
would result in 9575 which is not the correct master PID
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 12:31 AM
10-24-2001 12:31 AM
Re: How to configure a stand alone INFORMIX within a MCSG environment
Then which is the master pid ? Please advice.
YC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 12:43 AM
10-24-2001 12:43 AM
Re: How to configure a stand alone INFORMIX within a MCSG environment
1 9574 cpu 961.78 303.02 1264.80
This master starts a thread of class adm; in yor case
2 9575 adm 3.38 7.58 10.96
this adm thread starts various threads (according to your $ONCONFIG) for the differtent thread classes (cpu,io,lio,pio)
Only check for the existence of the master ; failure of the other threads can by managed by the DB
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2001 01:39 AM
11-06-2001 01:39 AM
SolutionJust do same sample steps then will solve your problem.
1. Create a link file for the informix instant start up command.
example,
#ln -s /{Informix_Home}/bin/oninit /{Informix_Home}/bin/db_1
2. Modify the MCSG monitor script so that its start&stop using "/{Informix_Home}/bin/db_1"
3. Modify the "set -A MONITOR_PROCESSES oninit" to "set -A MONITOR_PROCESSES db_1"
For another informix instant, just create another link file and use that link file to start your instant.
So it will difference out all the start up process name.