About adding resources
When you add a resource, all non-static attributes of the resource's type, plus their default values, are copied to the new resource.
Three attributes are also created by the system and added to the resource:
-
Critical (default = 1). If the resource or any of its children faults while online, the entire service group is marked faulted and failover occurs.
-
AutoStart (default = 1). If the resource is set to AutoStart, it is brought online in response to a service group command. All resources designated as AutoStart=1 must be online for the service group to be considered online. (This attribute is unrelated to AutoStart attributes for service groups.)
-
Enabled. If the resource is set to Enabled, the agent for the resource's type manages the resource. The default is 1 for resources defined in the configuration file main.cf, 0 for resources added on the command line.
Note
Adding resources on the command line requires several steps, and the agent must be prevented from managing the resource until the steps are completed. For resources defined in the configuration file, the steps are completed before the agent is started.