Johnny, My understanding of resource groups is rather weak, so I can't give you a direct answer to your question; I'm sure others on this forum will be able to. But I can point you to additional information that might have the information you are looking for. The majority of information about resource groups, resources, and resource types is in the Sun Cluster Data Services Planning and Administration Guide:
http://docs.sun.com/app/docs/doc/820-4682 A section that probably addresses your questions is "Distributing Online Resource Groups Among Cluster Nodes": http://docs.sun.com/app/docs/doc/820-4682/ch14_resources_admin-35?a=view Hope this helps. Lisa Shepherd Sun Cluster Technical Publications "We're the M in RTFM" Johnny Kwok wrote: > Hi all, > > This is Johnny, I want to ask for your help on 2 questions: > > 1) Assume that there is a 2-node cluster, with nodes A & B in. And there > are 2 resource groups RG1 & RG2 registered in the cluster. Now we want > to let RG1 automatically start on node A and RG2 automatically start on > node B when these 2 nodes are both health. However, when one of the > nodes run into an error, the resource group on the unhealthy node should > fail-over to another node. > > I've browsed around the man page of rg_properties and rs_properties, but > unable to find any option to set so. Would you please give me some > suggestions of how to achieve? > > 2) As a resource rs2 in RG2 depends on a resource rs1 in RG1, I've set > the RG_dependencies property of RG2 to "RG1". However other resources of > RG2 do not depend on any resource in RG1, in order to speed up the start > up process, could I just set rs2 of RG2 to depend on resource rs1 of > RG1? How? Do you have any idea of that? > > > Thank you very much! > > > - > Regards, > Johnny > > >