A third party application has provided files containing the command syntax required to register and manage the application for high availability with Oracle Grid Infrastructure.
The command to define the application is as follows:
Crsctl add resource LongApp -type cluster resource -attr ACTION_SCRIPT=’ /u01/ogi/scripts/longapp.scr’ , PLACEMENT=’ restricted’ , HOSTING_MEMBERS=’ RACNODE1 RACNODE2′ , CHECK_INTERVAL=’ 30′ ,START_DEPENDENCIES=’hard(LongAppvip) ‘ , STOP_DEPENDENCIES = ‘ hard (LongAppvip) ‘ , RESTART_ATTEMPTS=’ 2′ , "
Which two statements are true about the behavior of this resource after it is added?
A.
It will be a policy-managed resource using the server pool containing nodes RACNODE1 and RACNODE2.
B.
The LongAppvip vip resource must be activated to successfully activate this resource, but will not be activated automatically if not already active.
C.
The LongAppvip vip resource must be stopped before this resource is stopped.
D.
It will be an administrator-managed resource hosted by nodes RACNODE1 and RACNODE2.
C&d ARE CORRECT
Actually uou are correct
B & D are correct.
http://docs.oracle.com/cd/E11882_01/rac.112/e16794/resatt.htm
HOSTING_MEMBERS
A space-separated, ordered list of cluster server names that can host a resource. This attribute is required only when using administrator management, and when the value of the PLACEMENT attribute is set to favored or restricted. When registering applications as Oracle Clusterware resources, use the SERVER_POOLS attribute, instead.
PLACEMENT
Specifies how Oracle Clusterware selects a cluster server on which to start a resource. Valid values are balanced, favored, or restricted.
If you set the PLACEMENT attribute to favored or restricted, then you must also assign values to the SERVER_POOLS and HOSTING_MEMBERS attributes. If you set the value of the PLACEMENT attribute to balanced, then the HOSTING_MEMBERS attribute is not required.
https://docs.oracle.com/cd/E11882_01/rac.112/e41959/resatt.htm#CHDBFBFH
hard([intermediate:][global:]{resource_name | type:resource_type})—Specify a hard start dependency for a resource when you want the resource to start only when a particular resource or resource of a particular type starts.
hard([intermediate:][global:][shutdown:]{resource_name | type:resource_type})—Specify a hard stop dependency for a resource that you want to stop when named resources or resources of a particular resource type stop.