Hi all,
   I'm drafting a document on parameters passed to RA. Besides those mentioned
on opencf.org and linux-ha.org, I found a lot of CRM_meta_xxx parameters which
don't explained anyway (or I just missed ;-/)

   Here's a list of what I find out. Can someone explain it a bit ?

===============================================================================

# The followings are generally available to all operations
CRM_meta_timeout - att
CRM_meta_op_target_rc - ??

# The followings are only available to "notify" operation
OCF_RESKEY_CRM_meta_notify_type - can be pre/post
OCF_RESKEY_CRM_meta_notify_operation - can be promote/demote/start/stop
OCF_RESKEY_CRM_meta_notify_confirm - can be yes/no

# The followings are only available to the clone/master-slave resources
CRM_meta_clone - The number assigned the clone instance
CRM_meta_clone_max - att.
CRM_meta_clone_node_max - att.

# The followings are only available to the master-slave resources
CRM_meta_stateful - true/false
CRM_meta_role
CRM_meta_master_max
CRM_meta_master_node_max

# The followings are only available to the clone/master-slave resource
OCF_RESKEY_CRM_meta_notify_active_resource/uname
OCF_RESKEY_CRM_meta_notify_inactive_resource/uname
OCF_RESKEY_CRM_meta_notify_stop_resource/uname
OCF_RESKEY_CRM_meta_notify_start_resource/uname
OCF_RESKEY_CRM_meta_notify_demote_resource/uname
OCF_RESKEY_CRM_meta_notify_promote_resource/uname
OCF_RESKEY_CRM_meta_notify_master_resource/uname
OCF_RESKEY_CRM_meta_notify_slave_resource/uname

# The followings are only available to "migrate-from/to" operations
OCF_RESKEY_CRM_meta_migrate_target
OCF_RESKEY_CRM_meta_migrate_source

# The following is only available to "migrate-from" operation
OCF_RESKEY_CRM_meta_migrate_source_uuid - the uuid of the node ?

# The followings are only exist in resources/OCF/Dummy and
lrm/test/lrmregtest.in, should be fixed ?
OCF_RESKEY_CRM_meta_migrate_from
OCF_RESKEY_CRM_meta_migrate_to
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to