cancel
Showing results for 
Search instead for 
Did you mean: 

Packageing issue in RHEL AS 4

Muhammad Shamroze
Frequent Advisor

Packageing issue in RHEL AS 4

Hello well im have done two node clustering main server is DL580 and failover is DL380 server ...storage is MSA 500 G2, as i have formed the cluster and it is working fine ...on storage i have made two RAIDs one is RAID 1 for four disk and other is RAID 5 for 8 disk...on RAID 1 i have made one Volume group /dev/cciss/c1d0(VG00) and 4 logical volume (LVOL 00,01,02,03) on ext 3 file system and on RAID 5 only one Volume group /dev/cciss/c1d1(VG00) and one logical volume (LVOL 00) as now only want to make pakageing and i want to package all these Volume group or logical volume and want to know what are step of packageing in clustering in Linux AS 4.0....kindly suggest as soon as possible...please give simple steps so that i can make packageing in cluster thankyou
9 REPLIES
Steven E. Protter
Exalted Contributor

Re: Packageing issue in RHEL AS 4

Shalom,

You have not clearly stated whether you use Red Hat Clustering or ServiceGuard for Linux.

If its RedHat, you can reconfigure your cluster packages while its running, save the configuration and then

service rgmanager restart

If its Serviceguard, you can make your changes on one node. then.

cmcheckconf
cmapplyconf

If the last command succeeds, your cluster packaging will re-arrange itself on the fly.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Muhammad Shamroze
Frequent Advisor

Re: Packageing issue in RHEL AS 4

well thanks for replying as im using HP service guard and to form cluster i have already run all these command for example i have first run:

cmquerycl -v -L /dev/cciss/c1d0p2 -n prodb_live -n prodb_fail -C $SGCONF/cluster.config

here /dev/cciss/c1d0p2 is lock lun and prodb_live is active server hostname and prodb_fail is failover server after running this command i have run cmcheckconf -v $SGCONF/cluster.config

and then cmapplyconf -v $SGCONF/cmcluster.config where $SGCONF is path of cluster files and cluster.config is configuration file after that i have run the command cmruncl -v and the cluster is form as in all that scenerio i have mentioned about package or made any package so kindly tell me how could make packages of my volume group..what are the steps...please reply me soon
Serviceguard for Linux
Honored Contributor

Re: Packageing issue in RHEL AS 4

Hello Muhannad,

I have 3 suggestions:

First, there are a number of toolkits for some common Linux applications. Most of these are available for free from http://www.hp.com/go/softwaredepot/ha look at the Serviceguard for Linux Contributed toolkit suite.

If your application is not one of the ones supplied, then you can look at the section of the manual on writing package control scripts. You can use the contributed toolkits as examples.

Finally, the simpliest way to generate your on toolkit is to use the "toolbox" - http://h71028.www7.hp.com/enterprise/cache/126171-0-0-225-121.html

Regards
Muhammad Shamroze
Frequent Advisor

Re: Packageing issue in RHEL AS 4

thanks for replying as i have check the list from above link which u send as we are using oracle application we need service guard for linux oracle tool kit as if i buy this tool kit, so i need to confirm that the oracle application will automattically tranfer to failover node and how we configure this tool kit templete file...please reply soon thank you
Serviceguard for Linux
Honored Contributor

Re: Packageing issue in RHEL AS 4

We have many customers using the oracle toolkit successfully. It does control the failover of Oracle and the database. If there is a problem on the node running Oracle, or Oracle itself fails, it will be restarted on anther node in the cluster. The toolkit is licensed per cluster, so only one license is required.

Also, both the release notes and a white paper are available at http://docs.hp.com/en/ha.html#Serviceguard%20for%20Linux so you can read about the toolkit in more detail.

Regards
Muhammad Shamroze
Frequent Advisor

Re: Packageing issue in RHEL AS 4

Thanks for your reply, One thing which left you suggested to purchase Oracle toolkit but right now it is not possible for me. Do you have any other option or method to script control file and package configuration.
Serviceguard for Linux
Honored Contributor

Re: Packageing issue in RHEL AS 4

You certainly can write your own Oracle toolkit using the recommendations in my other reply. You might create another message asking others whether they have written their own version of an Oracle toolkit for Serviceguard for Linux and whether they are willing to share any suggestions.
Muhammad Shamroze
Frequent Advisor

Re: Packageing issue in RHEL AS 4

Now we have Oracle toolkit for SG/Linux,installed on our servers created template file. I have a single instance of Database and need some kind of edited example configuration file.Also want to know should I edit some other files other than template files,or only we will use template files.
melvyn burnard
Honored Contributor

Re: Packageing issue in RHEL AS 4

If you have the toolkit, read the README supplied with it, it explains how to configure and use the toolkit.
basically supply answers to variables in the environment file, and call the toolkit.sh with a start, stop or monitor option in your package control file to start, stop or monitor the application.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!