SUMMARY: Configuring an application in a SUN CLUSTER 3.0

From: <amit.gpt_at_wipro.com>
Date: Sun Aug 15 2004 - 23:41:27 EDT
Thanks to All who responded.

But the solution given by Dragos Stoichitescu worked. The solution is as
follows:-

On any of the two nodes:


first you need to create the resorce type; the command to do this should
look smth like this:

scdscreate -k -V SUN -T XCLOCK

Then you should create the resource package; the command to do this
should look smth like this:

scdsconfig -s "/path_to_application_start_script" -t
"/path_to_application_stop_script" -m
"/path_to_application_monitor_script"
It's a goo idea to keep the rtconfig file (mv rtconfig SUNXCLOCK/ ); Now
in SUNXCLOCK/pkg you should have got a package for your resource

Install the obtained package on both nodes !!

pkgadd -d name_of_the_package

Register the resource in the cluster (to be done on only one node)

scrgadm -a -t SUN.XCLOCK

Create the resource group and then the resorce itself in the cluster (to
be done on only one node):

scrgadm -a -g resorce-group-name

scrgadm -a -j resource-name -g resource-group-name -t SUN.XCLOCK

Activate the resource

scswitch -e -j resource-name

Good luck !!

-----Original Message-----
From: AMIT GUPTA (WT01 - TELECOM SERVICE PROVIDER)
Sent: Tuesday, August 10, 2004 10:54 AM
To: 'sunmanagers@sunmanagers.org'
Subject: Configuring an application in a SUN CLUSTER 3.0


Hello All,


We know HPUX clustering with MC/ServiceGuard. Using the same we had configured
the xclock command to be running in the failover mode.

We want to configure the same XClock command to run in failover mode in Sun
Cluster.

we want "/usr/openwin/bin/xclock -display <client-address>:0.0" command to run
in cluster environment.

Details : We want that when we start the resource group containing this
command, it should start the resource group on first node of the cluster and
the xclock should appear on my client (whose ip-address is given as an
argument in the command).

When i kill xclock displayed on my client, it should failover to the other
node, starting the resources group and displaying the xclock again on my
client.

Currently we have configured the two node cluster, without any registered
resource groups . The scstat -v command gives us node online.

Please provide us the steps to achive the above mentioned.

Regards
Amit






Confidentiality Notice

The information contained in this electronic message and any attachments to
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or
Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Sun Aug 15 23:41:20 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:36 EST