Asta e raspunsul pe care l-am dat unuia pe sunmanagers pentru a seta Xclock ca resursa in SUN cluster .... si cica i-a mers :-)
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 !!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment