- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- TruCluster script
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
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
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
тАО01-30-2006 10:04 PM
тАО01-30-2006 10:04 PM
TruCluster script
There are defined which proces to control. In the case, when proces fail what is happen.
Do I have to exactly write in the sctipt what to do (start/stop/relocate)?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2006 10:45 PM
тАО01-30-2006 10:45 PM
Re: TruCluster script
The check section only needs to contain verification of the sanity of the application and provide an exit status "fail" or "success". Upon failure, the caad decides what to do, based on the settings in the profile .cap file. In particular FAILURE_THRESHOLD, RESTART_ATTEMPTS and PLACEMENT.
When the caad decides that a relocation is required it calls the stop section the current member abd the start section in the script oon the other member
See manpage caa_profile and examples in
/var/cluster/caa/examples/*
Rgds,
___ Johan./
_JB_
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2006 10:47 PM
тАО01-30-2006 10:47 PM
Re: TruCluster script
You can se some examples in:
http://h30097.www3.hp.com/docs/best_practices/BP_TCR_ORA_SS/TITLE.HTM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2006 11:32 PM
тАО01-30-2006 11:32 PM
Re: TruCluster script
caa_stat -p resource1
NAME=resource1
TYPE=application
ACTION_SCRIPT=resource1.scr
ACTIVE_PLACEMENT=0
AUTO_START=1
CHECK_INTERVAL=180
DESCRIPTION=ora
FAILOVER_DELAY=0
FAILURE_INTERVAL=0
FAILURE_THRESHOLD=0
HOSTING_MEMBERS=ganesh
OPTIONAL_RESOURCES=
PLACEMENT=favored
REBALANCE=
REQUIRED_RESOURCES=
RESTART_ATTEMPTS=1
SCRIPT_TIMEOUT=600
USR_MUTEX=
# cluamgr -s all
Status of Cluster Alias: shiva.
netmask: 0.0.0.0
aliasid: 1
flags: 17
connections rcvd from net: 441
connections forwarded: 109
connections rcvd within cluster: 491
data packets received from network: 43675
data packets forwarded within cluster: 20151
datagrams received from network: 77485
datagrams forwarded within cluster: 5087
datagrams received within cluster: 78581
fragments received from network: 0
fragments forwarded within cluster: 0
fragments received within cluster: 0
Member Attributes:
memberid: 1, selw=3, selp=1, rpri=1 flags=11
memberid: 3, selw=3, selp=1, rpri=1 flags=11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2006 11:43 PM
тАО01-30-2006 11:43 PM
Re: TruCluster script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2006 11:55 PM
тАО01-30-2006 11:55 PM
Re: TruCluster script
HOSTING_MEMBERS=ganesh
HOSTING_MEMBERS=host1 host2 host3 host4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-09-2006 05:22 PM
тАО02-09-2006 05:22 PM
Re: TruCluster script
Jan 25 08:55:29 ganesh CAAD[525043]: `ora_hibis` on `ganesh` went OFFLINE unexpectedly
Jan 25 08:55:29 ganesh CAAD[525043]: Attempting to stop `ora_hibis` on member `ganesh`
Jan 25 08:55:31 ganesh CAAD[525043]: Attempting to stop `ora_seb` on member `brahma`
Jan 25 08:56:01 ganesh CAAD[525043]: Could not communicate with daemon on node `brahma`
Jan 25 08:56:01 ganesh CAAD[525043]: Remote stop for `ora_seb` failed on member `brahma`
Jan 25 08:56:02 ganesh CAAD[525043]: `ora_hibis` on member `ganesh` has experienced an unrecoverable failure.
Jan 25 08:56:02 ganesh CAAD[525043]: Action script failure during 'stop' operation. Manual cleanup of resource
Jan 25 08:56:02 ganesh CAAD[525043]: `ora_hibis` experienced a failure on `ganesh`. Stopping dependent resources.
Jan 25 08:56:02 ganesh CAAD[525043]: Attempting to stop `ora_hibis` on member `ganesh`
Jan 25 08:56:02 ganesh CAAD[525043]: Attempting to stop `ora_seb` on member `brahma`
Jan 25 08:57:03 ganesh CAAD[525043]: Stop of `ora_seb` on member `brahma` succeeded.