
crm_master (8)
crm_master — Manage a master/slave resource's preference for being promoted on a
given node
Synopsis
crm_master [-V|-Q] -D [-l
lifetime
]
crm_master [-V|-Q] -G [-l
lifetime
]
crm_master [-V|-Q] -v
string
[-l
string
]
Description
crm_master
is called from inside the resource agent scripts to determine which re-
source instance should be promoted to master mode. It should never be used from the
command line and is just a helper utility for the resource agents. RAs use
crm_master
to promote a particular instance to master mode or to remove this preference from it.
By assigning a lifetime, determine whether this setting should survive a reboot of the
node (set lifetime to
forever
) or whether it should not survive a reboot (set lifetime
to
reboot
).
A resource agent needs to determine on which resource
crm_master
should operate.
These queries must be handled inside the resource agent script. The actual calls of
crm_master
follow a syntax similar to those of the
crm_attribute
command.
Options
--help
,
-?
Print a help message.
--verbose
,
-V
Turn on debug information.
160
High Availability Guide
Содержание LINUX ENTERPRISE 11 - HIGH AVAILABILITY
Страница 10: ......
Страница 11: ...Part I Installation and Setup...
Страница 12: ......
Страница 28: ......
Страница 38: ......
Страница 39: ...Part II Configuration and Administration...
Страница 40: ......
Страница 68: ......
Страница 108: ......
Страница 114: ......
Страница 115: ...Part III Storage and Data Replication...
Страница 116: ......
Страница 126: ......
Страница 140: ......
Страница 141: ...Part IV Troubleshooting and Reference...
Страница 142: ......
Страница 148: ......
Страница 166: ...See Also cibadmin 8 page 142 156 High Availability Guide...
Страница 202: ......
Страница 210: ......
Страница 231: ...OCF_RESKEY_arp_mac ARP MAC MAC address to send the ARP packets to For advanced users only HA OCF Agents 221...
Страница 246: ...OCF_RESKEY_nfs_ip IP address The floating IP address used to access the the nfs service 236 High Availability Guide...
Страница 285: ...Part V Appendix...
Страница 286: ......