Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cannot include 'Resource_dependencies' using 'scsetup' command

807567Nov 20 2006 — edited Jan 8 2007
Hello,

We have a dependency on either the HAStorage or the HAStoragePlus resource. When we create our server resource.

Question:
Usually we create a HAStoragePlus or a HAStorage resource

1) Try to add a data service resource to a resource group using 'scsetup' command.

I created a HSoragePlus resource:

./scrgadm -a -j myserver-hasp -g SOME-RESOURCE -t SUNW.HAStoragePlus -x FileSystemMountPoints="/opt/xyz" -x AffinityOn=TRUE

Now I run scsetup to add SUNW.myserver to the resource group SOME-RESOURCE

scsetup
-------
select Option: 2 than Option: 3 ( Add a data service resource to a resource group )

>>> Add a Data Service Resource to a Resource Group <<<

This option allows you to add a data service resource to a resource
group. If the resource type for the data service is not yet
registered with the cluster, you will have the opportunity to
register that type.

Is it okay to continue (yes/no) [yes]?
Select the type of resource you want to add:

Res Name Description
======== ===========

1) SUNW.myserver HA My Server Resource Type

n) Next >

Option: 1

What is the name of the resource you want to add? msrname
Select the resource group you want to use for "msrname":

Group Name Type Description
========== ==== ===========

1) SOME-RESOURCE Failover

Option: 1
Some resource types require that you set certain extension properties.

Please check the man page for your data service to learn more about
extension properties associated with the resource that you are adding.

This resource type does require that you set one or more extension
properties.

Select a property you would like to set:

Property Name Default Setting Desired Setting
============= =============== ===============

1) MY_serverroot <Needs Setting>
2) Recovery_mode_warning_interval 300
3) Probe_timeout 30
4) Monitor_retry_count 4
5) Monitor_retry_interval 2

q) Done

Option: 1


Property name: MY_serverroot
Property description: Absolute file path to MY serverroot
Property type: string
Property value: /opt/xyz
Select a property you would like to set:

Property Name Default Setting Desired Setting
============= =============== ===============

1) My_serverroot /opt/xyz
2) Recovery_mode_warning_interval 300
3) Probe_timeout 30
4) Monitor_retry_count 4
5) Monitor_retry_interval 2

q) Done

Option:
q

Are you done setting properties (yes/no) [yes]?

Here is the list of extension properties you want to set:

IMS_serverroot=/opt/SUNWmsgsr

Is it correct (yes/no) [yes]?
Is it okay to proceed with the update (yes/no) [yes]?


Problem:
--------
As we can see in the list of 'Property' user have no possibility to select 'Resource_dependencies'. The 'SOME-RESOURCE' group is dependent upon the HA disk resource 'myserver-hasp'

Question: Since there is no Resource_dependencies mentioned in the SUNW.myserver, the user has to manually specify the Resource_dependencies.

.#/scrgadm -a -j MessagingResource -t SUNW.myserver -g SOME-RESOURCE -x MY_serverroot=/opt/xyz -y Resource_dependencies=myserver-hasp

How can I do this ? ( i.e specifying Resource_dependencies in the SUNW.myserver ( Resource Type Registration file ). Also what would be the Default and TUNABLE and any other parameter should be ?

Thanks In Advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 5 2007
Added on Nov 20 2006
2 comments
104 views