1Z0-058 · Question #96
You enter the following command: crsctl status resource MyApp You get this output: NAME=MyApp TYPE=cluster_resource TARGET=ONLINE STATE=ONLINE on RACNODE4 MyApp is a policy-managed resource using a…
The correct answer is B. MyApp is meant to be active, is currently active on RACNODE4, but the Grid Infrastructure may. Resource Attributes A case-sensitive alphanumeric string that names the resource. Oracle recommends a naming convention that starts with an alphanumeric prefix, such as myApache, and complete the name with an identifier to describe it. A resource name can contain any…
Question
You enter the following command:
crsctl status resource MyApp You get this output:
NAME=MyApp TYPE=cluster_resource TARGET=ONLINE STATE=ONLINE on RACNODE4 MyApp is a policy-managed resource using a server pool with two nodes called RACNODE3 and RACNODE4 and has a cardinality of 1. What are the meanings of the target and state status values?
Options
- AMyApp is currently active on RACNODE4 and is meant to be active only on RACNODE4.
- BMyApp is meant to be active, is currently active on RACNODE4, but the Grid Infrastructure may
- CMyApp is active on RACNODE4 and was manually started.
- DMyApp should also be online on RACNODE3 because it is a cluster_resources type that must be
How the community answered
(69 responses)- A12% (8)
- B80% (55)
- C6% (4)
- D3% (2)
Explanation
Resource Attributes A case-sensitive alphanumeric string that names the resource. Oracle recommends a naming convention that starts with an alphanumeric prefix, such as myApache, and complete the name with an identifier to describe it. A resource name can contain any platform-supported characters except the exclamation point (!) (~). A resource name cannot begin with a period (.) nor with the string ora. The type of resource indicated when you create a resource. This attribute is required when creating a resource. Local resource: Instances of local resources--type name is local_resource--run on each server of the cluster. When a server joins the cluster, Oracle Clusterware automatically extends local resources to have instances tied to the new server. When a server leaves the cluster, Oracle Clusterware automatically sheds the instances of local resources that ran on the departing server. Instances of local resources are pinned to their servers; they do not fail over from one server to Cluster resource: Cluster-aware resource types--type name is cluster_resource--are aware of the cluster environment and are subject to cardinality and cross-server switchover and failover. An internal, read-only attribute that describes the desired state of a resource. Using the crsctl start resource_name or crsctl stop resource_name commands, however, can affect the value of An internally-managed attribute that reflects the current state of the resource as reported by Oracle Clusterware. The state of a resource can be one of the following: ONLINE: The resource is online and resource monitoring is enabled (see CHECK_INTERVAL). OFFLINE: The resource is offline and only offline resource monitoring is enabled, if configured (see OFFLINE_CHECK_INTERVAL). INTERMEDIATE: The resource is either partially online or was known to be online before and subsequent attempts to determine its state have failed; resource monitoring is enabled (see CHECK_INTERVAL). UNKNOWN: The resource is unmanageable and its current state is unknown; manual intervention is required to resume its operation. A resource in this state is not monitored. Oracle® Clusterware Administration and Deployment Guide 11g Release 2 (11.2)
Topics
Community Discussion
No community discussion yet for this question.