- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Stop/Star two diferent systems on a SAP Service Gu...
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
Forums
Discussions
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
05-17-2004 01:21 AM
05-17-2004 01:21 AM
I´ve the following implementacion, i need your point of view
-Two nodes with SAP.
First node with R3 in cluster mode ( one package pkgr3)
Second node o adoptive, with SAP BW in no HA enviroment.
I need what is the correct way to perform the following issue
I need to stop BW on the second node when pkgr3 package is failover.
I´m trying to run on scripts by adding lines codes in dbci.cntl, but the sysmen report one error in one line about the check the version of control scripts of MC/ServiceGuard o SGeRAC.
Scripts version, service guard, sgesap are support.
Thank you in advanced
Fern
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2004 01:30 AM
05-17-2004 01:30 AM
Re: Stop/Star two diferent systems on a SAP Service Guard cluster
Create your own CUSTOMER DEFINED FUNCTIONS
function customer_defined_halt_iqa
{
print "Checking if iqapkg is running"
STATE=`cmviewcl | grep iqa | awk '{ print $2 }'`
if [[ $STATE = "down" ]]
then
echo "IQA is down...starting up IPR"
else
if [[ $STATE = "up" ]]
then
IQA=`cmviewcl | grep iqa | awk '{ print $5 }'`
#IQA=`remsh iqadbci -n "/usr/bin/hostname"`
print "IQA is running...on the current host: \c"
print ${IQA}
if [[ ${IQA} = $(/usr/bin/hostname) ]]
then
print "halting iqapkg on ${IQA}"
/usr/sbin/cmhaltpkg iqapkg
fi
fi
fi
}
Then in the MAIN part of the cntl:
verify_physical_data_replication # add hook for MetroCluster
customer_defined_halt_iqa
activate_volume_group
activate_disk_group
customer_defined_fsck_mount
check_and_mount
verify_ha_nfs $1 # add hook for NFS
add_ip_address
get_ownership_dtc
customer_defined_run_cmds
start_services
start_resources
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2004 01:34 AM
05-17-2004 01:34 AM
Re: Stop/Star two diferent systems on a SAP Service Guard cluster
Use a test with the hostname,
If hostname = second_node_name
then stop_BW
endif
Put this this addon lines in the .cntl file, or in any scripts that are call by the .cntl file.
In our case the cntl use a sap.fonctions script in /etc/cmcluster, but the file depends on the SAP integration with MCSG.
Johan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2004 01:35 AM
05-17-2004 01:35 AM
SolutionRgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2004 01:42 AM
05-17-2004 01:42 AM
Re: Stop/Star two diferent systems on a SAP Service Guard cluster
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2004 01:54 AM
05-17-2004 01:54 AM
Re: Stop/Star two diferent systems on a SAP Service Guard cluster
function cutomer_defined_halt_package-name
Must I deleted or uncomment ?
function customer_defined_run_cms and
function customer_defined_halt_cms
MAIN part is MAINLINE Control Scripts ?
Thank you in advanced
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2004 02:05 AM
05-17-2004 02:05 AM
Re: Stop/Star two diferent systems on a SAP Service Guard cluster
Here's the main section of the cntl script.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 04:50 PM
11-02-2004 04:50 PM