Operating System - HP-UX
1823149 Members
3608 Online
109647 Solutions
New Discussion юеВ

set up 2 node mc service guard

 
kenken_3
Regular Advisor

set up 2 node mc service guard

Hello,

I need to setup the mc service guard for 2 nodes. It is a simple design. Only 1 oracle instance will sit on 1 shared vg. I have created the vg and done all the necessary vgexport and vgimport staff already. I have the HB IP setup already and I have the package IP already. Both of my nodes are MCOE with build in mc service guard already.

I never setup MC service guard before and I don't have the time to read up the doc now. I really I appriate someone could provide me the necessary steps for my plan.

thank you very much,


wang & wang
8 REPLIES 8
Court Campbell
Honored Contributor

Re: set up 2 node mc service guard

I would suggest just reading the doc. It's a quick read. Start from here:

http://docs.hp.com/en/B3936-90053/ch05s05.html

basically you create the cluster, then start configuring the packages. For the lock disk just use the FIRST_CLUSTER_LOCK_VG and set it to the shared vg thay you already created.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
A. Clay Stephenson
Acclaimed Contributor

Re: set up 2 node mc service guard

Be very glad that you don't work for me because if someone ever said something like "I'm too lazy|busy to read the documentation so how do I do xxx?", I assure you that that would be the last time that they said something like that to me. Eventhough SG is installed on your nodes, building the cluster and packages are the last things that you do. Before SG even comes into play, you have to do all the critical hardware, networking, power, and HVAC work to eliminate single points of failure. If you don't do these things (especially TESTED network redundancy), you can actually have a less reliable system under SG than without it.
If it ain't broke, I can fix that.
Novonil Choudhuri
Frequent Advisor

Re: set up 2 node mc service guard

You cab following the steps after you setup the hardware for MCSG.

1. # cmquerycl -v -C /etc/cmcluster/cmclconfig.ascii -v node1 -n node2

2. change the following parameters accordingly in /etc/cmcluster/cmclconfig.ascii .

CLUSTER_NAME cluster1
QS_HOST quorum2
QS_POLLING_INTERVAL 300000000

NODE_NAME node1
NETWORK_INTERFACE lan0
STATIONARY_IP 10.10.15.53
NETWORK_INTERFACE lan1
HEARTBEAT_IP 192.168.0.10
NETWORK_INTERFACE lan2
HEARTBEAT_IP 192.168.1.1
# CLUSTER_LOCK_LUN

# Warning: There are no standby network interfaces for lan0,lan2,lan3.

NODE_NAME node2
NETWORK_INTERFACE lan0
STATIONARY_IP 10.10.15.55
NETWORK_INTERFACE lan1
HEARTBEAT_IP 192.168.0.11
NETWORK_INTERFACE lan2
HEARTBEAT_IP 192.168.1.2
# CLUSTER_LOCK_LUN

# Warning: There are no standby network interfaces for lan0,lan2,lan3.


Add Lan2 and Lan3 ips in /etc/rc.config.d/netconf file in both the nodes.
# ifconfig lan2< ip addres >
# ifconfig lan3 < ip adress >

Note : Make sure to install quorum server in any of your lone standalone systems. If you do not have quorum server please remember to configure lock disk.

3. cmcheckconf -v -C /etc/cmcluster/cmclconfig.ascii

4. cmapplyconf -v -C /etc/cmcluster/cmclconfig.ascii

5. cmruncl -v

6. cmviewcl -v
Stephen Doud
Honored Contributor

Re: set up 2 node mc service guard

For customers with little time on their hands, I wrote the following document:
UMCSGKBRC00010342
ServiceGuard Cluster Implementation Summary

You must have at least a software support document to be able to search for this document in the ITRC database.
Srinivas Thokala_1
Frequent Advisor

Re: set up 2 node mc service guard

The path /etc/cmcluster will get created when you install MCSG package. Building the package configuration file:
Create a directory under path ├в /etc/cmcluster├в with the name of the cluster, the cluster name as
given in cmclconfig.ascii file. This directory is used for package specific files.
Example:
# mkdir /etc/cmcluster/clarify
# cd /etc/cmcluster/clarify

Use the command ├в cmmakepkg├в to create the package configuration template file.
# cmmakepkg ├в p package.conf
# vi package.conf (for appropriate entries)
Example:
# cmmakepkg ├в p clarify.conf
Edit package.conf (clarify.conf) file for required package parameters and it├в s validations.
# vi clarify.conf (for appropriate entries)

Use the command ├в cmmakepkg├в to create the package control script template file.
# cmmakepkg ├в s package.ctl
# vi package.ctl (for appropriate entries)
Example:
# cmmakepkg ├в s clarify.ctl
Edit clarify.ctl file to modify script variables.

Distribute the package related package.conf file, package.ctl file and other scripts to all the
nodes in the cluster. Once this is completed execute the following commands to complete
the creation of cluster with an embedded package.
# cmcheckconf ├в P /etc/cmcluster//package.conf
(checks the package.conf file for any errors)
# cmapplyconf ├в P /etc/cmcluster//package.conf
( compiles the package into the package.conf file)

Coordinate with DBA group and App group to have them keep ready the scripts related to Oracle and application. Once they are ready System Admin can incorporate those scripts in the package.ctl file at appropriate places.

Srinivas
Srinivas Thokala
kenken_3
Regular Advisor

Re: set up 2 node mc service guard

Thank you very much, all guys. I really appreaciate it very much.

Clay, I understand your point very well and I also wish everything is well planed. However, I really don't have time to read through the documents now. I work 10 hours a day for the past month.

The power, the network have been preconfigured to have the HA. now I only left the sg configuration.

I will do my homework this weekend and try to do it in the next 2 days.

thank you again.
wang & wang
Stephen Doud
Honored Contributor

Re: set up 2 node mc service guard

make friends - assign points :)
kenken_3
Regular Advisor

Re: set up 2 node mc service guard

it is closed.
wang & wang