Get Details for Resource Groups and Resources

Command

/usr/cluster/bin/scrgadm -pvv

Example of output Res Group name: oracle1

(oracle1) Res Group RG_description: <NULL>

(oracle1) Res Group mode: Failover

(oracle1) Res Group management state: Managed

(oracle1) Res Group RG_project_name: user.oracle

(oracle1) Res Group RG_SLM_type: manual

(oracle1) Res Group RG_affinities: <NULL>

(oracle1) Res Group Auto_start_on_new_cluster: True

(oracle1) Res Group Failback: False

(oracle1) Res Group Nodelist: node1 node2

(oracle1) Res Group Maximum_primaries: 1

(oracle1) Res Group Desired_primaries: 1

(oracle1) Res Group RG_dependencies: <NULL>

(oracle1) Res Group network dependencies: True

(oracle1) Res Group Global_resources_used: <All>

(oracle1) Res Group Pingpong_interval: 3600

(oracle1) Res Group Pathprefix: <NULL>

(oracle1) Res Group system: False

(oracle1) Res Group Suspend_automatic_recovery: False

(oracle1) Res name: oracle1-zfs

(oracle1:oracle1-zfs) Res R_description:

(oracle1:oracle1-zfs) Res resource type: SUNW.HAStoragePlus:8

(oracle1:oracle1-zfs) Res type version: 8

(oracle1:oracle1-zfs) Res resource group name: oracle1

(oracle1:oracle1-zfs) Res resource project name: user.oracle

(oracle1:oracle1-zfs{kvsdb1}) Res enabled: True

Example of output
(continued)

(oracle1:oracle1-zfs{kvsdb2}) Res enabled: True

(oracle1:oracle1-zfs{kvsdb1}) Res monitor enabled: True

(oracle1:oracle1-zfs{kvsdb2}) Res monitor enabled: True

(oracle1:oracle1-zfs) Res strong dependencies: <NULL>

(oracle1:oracle1-zfs) Res weak dependencies: <NULL>

(oracle1:oracle1-zfs) Res restart dependencies: <NULL>

(oracle1:oracle1-zfs) Res offline restart dependencies: <NULL>

(oracle1:oracle1-zfs) Res property name: Retry_interval

(oracle1:oracle1-zfs:Retry_interval) Res property class: standard

(oracle1:oracle1-zfs:Retry_interval) Res property description: Time in which monitor attempts to restart a failed resource Retry_count times.

(oracle1:oracle1-zfs:Retry_interval) Res property type: int

(oracle1:oracle1-zfs:Retry_interval) Res property value: 300

(oracle1:oracle1-zfs) Res property name: Retry_count

(oracle1:oracle1-zfs:Retry_count) Res property class: standard

(oracle1:oracle1-zfs:Retry_count) Res property description: Indicates the number of times a monitor restarts the resource if it fails.

(oracle1:oracle1-zfs:Retry_count) Res property type: int

(oracle1:oracle1-zfs:Retry_count) Res property value: 2

(oracle1:oracle1-zfs) Res property name: Failover_mode

(oracle1:oracle1-zfs:Failover_mode) Res property class: standard

(oracle1:oracle1-zfs:Failover_mode) Res property description: Modifies recovery actions taken when the resource fails.

(oracle1:oracle1-zfs:Failover_mode) Res property type: enum

(oracle1:oracle1-zfs:Failover_mode) Res property value: SOFT

(oracle1:oracle1-zfs) Res property name: POSTNET_STOP_TIMEOUT

(oracle1:oracle1-zfs:POSTNET_STOP_TIMEOUT) Res property class: standard

(oracle1:oracle1-zfs:POSTNET_STOP_TIMEOUT) Res property description: Maximum execution time allowed for Postnet_stop method.

(oracle1:oracle1-zfs:POSTNET_STOP_TIMEOUT) Res property type: int

(oracle1:oracle1-zfs:POSTNET_STOP_TIMEOUT) Res property value: 1800

(oracle1:oracle1-zfs) Res property name: PRENET_START_TIMEOUT

(oracle1:oracle1-zfs:PRENET_START_TIMEOUT) Res property class: standard

(oracle1:oracle1-zfs:PRENET_START_TIMEOUT) Res property description: Maximum execution time allowed for Prenet_Start method.

(oracle1:oracle1-zfs:PRENET_START_TIMEOUT) Res property type: int

(oracle1:oracle1-zfs:PRENET_START_TIMEOUT) Res property value: 1800

(oracle1:oracle1-zfs) Res property name: MONITOR_CHECK_TIMEOUT

(oracle1:oracle1-zfs:MONITOR_CHECK_TIMEOUT) Res property class: standard

(oracle1:oracle1-zfs:MONITOR_CHECK_TIMEOUT) Res property description: Maximum execution time allowed for Monitor_Check method.

(oracle1:oracle1-zfs:MONITOR_CHECK_TIMEOUT) Res property type: int

(oracle1:oracle1-zfs:MONITOR_CHECK_TIMEOUT) Res property value: 90

(oracle1:oracle1-zfs) Res property name: MONITOR_STOP_TIMEOUT

(oracle1:oracle1-zfs:MONITOR_STOP_TIMEOUT) Res property class: standard

(oracle1:oracle1-zfs:MONITOR_STOP_TIMEOUT) Res property description: Maximum execution time allowed for Monitor_Stop method.

(oracle1:oracle1-zfs:MONITOR_STOP_TIMEOUT) Res property type: int (oracle1:oracle1-zfs:MONITOR_STOP_TIMEOUT) Res property value: 90

(oracle1:oracle1-zfs) Res property name: MONITOR_START_TIMEOUT

(oracle1:oracle1-zfs:MONITOR_START_TIMEOUT) Res property class: standard

(oracle1:oracle1-zfs:MONITOR_START_TIMEOUT) Res property description: Maximum execution time allowed for Monitor_Start method.

(oracle1:oracle1-zfs:MONITOR_START_TIMEOUT) Res property type: int

(oracle1:oracle1-zfs:MONITOR_START_TIMEOUT) Res property value: 90

(oracle1:oracle1-zfs) Res property name: INIT_TIMEOUT

(oracle1:oracle1-zfs:INIT_TIMEOUT) Res property class: standard

(oracle1:oracle1-zfs:INIT_TIMEOUT) Res property description: Maximum execution time allowed for Init method.

(oracle1:oracle1-zfs:INIT_TIMEOUT) Res property type: int

(oracle1:oracle1-zfs:INIT_TIMEOUT) Res property value: 1800

(oracle1:oracle1-zfs) Res property name: UPDATE_TIMEOUT

(oracle1:oracle1-zfs:UPDATE_TIMEOUT) Res property class: standard

(oracle1:oracle1-zfs:UPDATE_TIMEOUT) Res property description: Maximum execution time allowed for Update method.

(oracle1:oracle1-zfs:UPDATE_TIMEOUT) Res property type: int

(oracle1:oracle1-zfs:UPDATE_TIMEOUT) Res property value: 1800

(oracle1:oracle1-zfs) Res property name: VALIDATE_TIMEOUT

(oracle1:oracle1-zfs:VALIDATE_TIMEOUT) Res property class: standard

(oracle1:oracle1-zfs:VALIDATE_TIMEOUT) Res property description: Maximum execution time allowed for Validate method.

(oracle1:oracle1-zfs:VALIDATE_TIMEOUT) Res property type: int

(oracle1:oracle1-zfs:VALIDATE_TIMEOUT) Res property value: 1800

(oracle1:oracle1-zfs) Res property name: ZpoolsSearchDir

(oracle1:oracle1-zfs:ZpoolsSearchDir) Res property class: extension

(oracle1:oracle1-zfs:ZpoolsSearchDir) Res property description: Directory location to search devices for zpools

(oracle1:oracle1-zfs:ZpoolsSearchDir) Res property pernode: False

(oracle1:oracle1-zfs:ZpoolsSearchDir) Res property type: string

(oracle1:oracle1-zfs:ZpoolsSearchDir) Res property value:

(oracle1:oracle1-zfs) Res property name: FilesystemCheckCommand

(oracle1:oracle1-zfs:FilesystemCheckCommand) Res property class: extension

(oracle1:oracle1-zfs:FilesystemCheckCommand) Res property description: Command string to be executed for file system checks

(oracle1:oracle1-zfs:FilesystemCheckCommand) Res property pernode: False

(oracle1:oracle1-zfs:FilesystemCheckCommand) Res property type: stringarray

(oracle1:oracle1-zfs:FilesystemCheckCommand) Res property value: <NULL>

(oracle1:oracle1-zfs) Res property name: AffinityOn

(oracle1:oracle1-zfs:AffinityOn) Res property class: extension

(oracle1:oracle1-zfs:AffinityOn) Res property description: For specifying affinity switchover

(oracle1:oracle1-zfs:AffinityOn) Res property pernode: False

(oracle1:oracle1-zfs:AffinityOn) Res property type: boolean

(oracle1:oracle1-zfs:AffinityOn) Res property value: TRUE

(oracle1:oracle1-zfs) Res property name: FilesystemMountPoints

(oracle1:oracle1-zfs:FilesystemMountPoints) Res property class: extension

(oracle1:oracle1-zfs:FilesystemMountPoints) Res property description: The list of file system mountpoints

(oracle1:oracle1-zfs:FilesystemMountPoints) Res property pernode: False

(oracle1:oracle1-zfs:FilesystemMountPoints) Res property type: stringarray

(oracle1:oracle1-zfs:FilesystemMountPoints) Res property value: <NULL>

(oracle1:oracle1-zfs) Res property name: GlobalDevicePaths

(oracle1:oracle1-zfs:GlobalDevicePaths) Res property class: extension

(oracle1:oracle1-zfs:GlobalDevicePaths) Res property description: The list of HA global device paths

(oracle1:oracle1-zfs:GlobalDevicePaths) Res property pernode: False

(oracle1:oracle1-zfs:GlobalDevicePaths) Res property type: stringarray

(oracle1:oracle1-zfs:GlobalDevicePaths) Res property value: <NULL>

(oracle1:oracle1-zfs) Res property name: Zpools

(oracle1:oracle1-zfs:Zpools) Res property class: extension

(oracle1:oracle1-zfs:Zpools) Res property description: The list of zpools

(oracle1:oracle1-zfs:Zpools) Res property pernode: False

(oracle1:oracle1-zfs:Zpools) Res property type: stringarray

(oracle1:oracle1-zfs:Zpools) Res property value: oracle1prod

(oracle1) Res name: oracle1-lh

(oracle1:oracle1-lh) Res R_description:

(oracle1:oracle1-lh) Res resource type: SUNW.LogicalHostname:2

(oracle1:oracle1-lh) Res type version: 2

(oracle1:oracle1-lh) Res resource group name: oracle1

(oracle1:oracle1-lh) Res resource project name: user.oracle

(oracle1:oracle1-lh{kvsdb1}) Res enabled: True

(oracle1:oracle1-lh{kvsdb2}) Res enabled: True

(oracle1:oracle1-lh{kvsdb1}) Res monitor enabled: True

(oracle1:oracle1-lh{kvsdb2}) Res monitor enabled: True

(oracle1:oracle1-lh) Res strong dependencies: <NULL>

(oracle1:oracle1-lh) Res weak dependencies: <NULL>

(oracle1:oracle1-lh) Res restart dependencies: <NULL>

(oracle1:oracle1-lh) Res offline restart dependencies: <NULL>

(oracle1:oracle1-lh) Res property name: Retry_interval

(oracle1:oracle1-lh:Retry_interval) Res property class: standard

(oracle1:oracle1-lh:Retry_interval) Res property description: Time in which monitor attempts to restart a failed resource Retry_count times.

(oracle1:oracle1-lh:Retry_interval) Res property type: int

(oracle1:oracle1-lh:Retry_interval) Res property value: 300

(oracle1:oracle1-lh) Res property name: Retry_count

(oracle1:oracle1-lh:Retry_count) Res property class: standard

(oracle1:oracle1-lh:Retry_count) Res property description: Indicates the number of times a monitor restarts the resource if it fails.

(oracle1:oracle1-lh:Retry_count) Res property type: int

(oracle1:oracle1-lh:Retry_count) Res property value: 2

(oracle1:oracle1-lh) Res property name: Thorough_probe_interval

(oracle1:oracle1-lh:Thorough_probe_interval) Res property class: standard

(oracle1:oracle1-lh:Thorough_probe_interval) Res property description: Time between invocations of a high-overhead fault probe of the resource.

(oracle1:oracle1-lh:Thorough_probe_interval) Res property type: int

(oracle1:oracle1-lh:Thorough_probe_interval) Res property value: 60

(oracle1:oracle1-lh) Res property name: Cheap_probe_interval

(oracle1:oracle1-lh:Cheap_probe_interval) Res property class: standard

(oracle1:oracle1-lh:Cheap_probe_interval) Res property description: Time between invocations of a quick fault probe of the resource.

(oracle1:oracle1-lh:Cheap_probe_interval) Res property type: int

(oracle1:oracle1-lh:Cheap_probe_interval) Res property value: 60

(oracle1:oracle1-lh) Res property name: Failover_mode

(oracle1:oracle1-lh:Failover_mode) Res property class: standard

(oracle1:oracle1-lh:Failover_mode) Res property description: Modifies recovery actions taken when the resource fails.

(oracle1:oracle1-lh:Failover_mode) Res property type: enum

(oracle1:oracle1-lh:Failover_mode) Res property value: HARD

(oracle1:oracle1-lh) Res property name: PRENET_START_TIMEOUT

(oracle1:oracle1-lh:PRENET_START_TIMEOUT) Res property class: standard

(oracle1:oracle1-lh:PRENET_START_TIMEOUT) Res property description: Maximum execution time allowed for Prenet_Start method.

(oracle1:oracle1-lh:PRENET_START_TIMEOUT) Res property type: int

(oracle1:oracle1-lh:PRENET_START_TIMEOUT) Res property value: 300

(oracle1:oracle1-lh) Res property name: MONITOR_CHECK_TIMEOUT

(oracle1:oracle1-lh:MONITOR_CHECK_TIMEOUT) Res property class: standard

(oracle1:oracle1-lh:MONITOR_CHECK_TIMEOUT) Res property description: Maximum execution time allowed for Monitor_Check method.

(oracle1:oracle1-lh:MONITOR_CHECK_TIMEOUT) Res property type: int

(oracle1:oracle1-lh:MONITOR_CHECK_TIMEOUT) Res property value: 300

(oracle1:oracle1-lh) Res property name: MONITOR_STOP_TIMEOUT

(oracle1:oracle1-lh:MONITOR_STOP_TIMEOUT) Res property class: standard

(oracle1:oracle1-lh:MONITOR_STOP_TIMEOUT) Res property description: Maximum execution time allowed for Monitor_Stop method.

(oracle1:oracle1-lh:MONITOR_STOP_TIMEOUT) Res property type: int

(oracle1:oracle1-lh:MONITOR_STOP_TIMEOUT) Res property value: 300

(oracle1:oracle1-lh) Res property name: MONITOR_START_TIMEOUT

(oracle1:oracle1-lh:MONITOR_START_TIMEOUT) Res property class: standard

(oracle1:oracle1-lh:MONITOR_START_TIMEOUT) Res property description: Maximum execution time allowed for Monitor_Start method.

(oracle1:oracle1-lh:MONITOR_START_TIMEOUT) Res property type: int

(oracle1:oracle1-lh:MONITOR_START_TIMEOUT) Res property value: 300

(oracle1:oracle1-lh) Res property name: UPDATE_TIMEOUT

(oracle1:oracle1-lh:UPDATE_TIMEOUT) Res property class: standard

(oracle1:oracle1-lh:UPDATE_TIMEOUT) Res property description: Maximum execution time allowed for Update method.

(oracle1:oracle1-lh:UPDATE_TIMEOUT) Res property type: int

(oracle1:oracle1-lh:UPDATE_TIMEOUT) Res property value: 300

(oracle1:oracle1-lh) Res property name: VALIDATE_TIMEOUT

(oracle1:oracle1-lh:VALIDATE_TIMEOUT) Res property class: standard

(oracle1:oracle1-lh:VALIDATE_TIMEOUT) Res property description: Maximum execution time allowed for Validate method.

(oracle1:oracle1-lh:VALIDATE_TIMEOUT) Res property type: int

(oracle1:oracle1-lh:VALIDATE_TIMEOUT) Res property value: 300

(oracle1:oracle1-lh) Res property name: STOP_TIMEOUT

(oracle1:oracle1-lh:STOP_TIMEOUT) Res property class: standard

(oracle1:oracle1-lh:STOP_TIMEOUT) Res property description: Maximum execution time allowed for Stop method.

(oracle1:oracle1-lh:STOP_TIMEOUT) Res property type: int

(oracle1:oracle1-lh:STOP_TIMEOUT) Res property value: 300

(oracle1:oracle1-lh) Res property name: START_TIMEOUT

(oracle1:oracle1-lh:START_TIMEOUT) Res property class: standard

(oracle1:oracle1-lh:START_TIMEOUT) Res property description: Maximum execution time allowed for Start method.

(oracle1:oracle1-lh:START_TIMEOUT) Res property type: int

(oracle1:oracle1-lh:START_TIMEOUT) Res property value: 500

(oracle1:oracle1-lh) Res property name: CheckNameService

(oracle1:oracle1-lh:CheckNameService) Res property class: extension

(oracle1:oracle1-lh:CheckNameService) Res property description: Name service check flag

(oracle1:oracle1-lh:CheckNameService) Res property pernode: False

(oracle1:oracle1-lh:CheckNameService) Res property type: boolean

(oracle1:oracle1-lh:CheckNameService) Res property value: TRUE

(oracle1:oracle1-lh) Res property name: NetIfList

(oracle1:oracle1-lh:NetIfList) Res property class: extension

(oracle1:oracle1-lh:NetIfList) Res property description: List of IPMP groups on each node

(oracle1:oracle1-lh:NetIfList) Res property pernode: False

(oracle1:oracle1-lh:NetIfList) Res property type: stringarray

(oracle1:oracle1-lh:NetIfList) Res property value: ipmp1@1 ipmp1@2

(oracle1:oracle1-lh) Res property name: HostnameList

(oracle1:oracle1-lh:HostnameList) Res property class: extension

(oracle1:oracle1-lh:HostnameList) Res property description: List of hostnames this resource manages

(oracle1:oracle1-lh:HostnameList) Res property pernode: False

(oracle1:oracle1-lh:HostnameList) Res property type: stringarray

(oracle1:oracle1-lh:HostnameList) Res property value: oracle1

...

Values taken
  • Groups:

    • Name
    • Description
    • Management state
    • Mode (failover/scalable)
    • Maximum primaries
    • Desired primaries
    • Nodes list
    • Is system
    • Autostart on new cluster
    • Failback
  • Resources:

    • Name
    • Description
    • Type
    • Failover mode
    • Retry interval
    • Retry count
Comments

Based on the extracted value, Discovery creates Resource Groups with attributes and Resources with attributes.

LogicalHostname handling: for this type of resource Discovery extracts an additional HostnameList property that contains the host names that this resource manages. Host names are resolved to IPs. Resolved IPs are attached to the ClusteredServer CIT.