
15.3 FAQs
What is the state of my cluster?
To check the current state of your cluster, use the program
crm_mon
. This displays
the current DC as well as all of the nodes and resources that are known to the current
node.
Several nodes of my cluster do not see each other.
There could be several reasons:
• Look first in the configuration file
/etc/ais/openais.conf
and check if
the multicast address is the same for every node in the cluster (look in the
interface
section with the key
mcastaddr
.)
• Check your firewall settings.
• Check if your switch supports multicast addresses
• Check if the connection between your nodes is broken. Most often, this is the
result of a badly configured firewall. This also may be the reason for a split brain
condition, where the cluster is partitioned.
I want to list my currently known resources.
Use the command
crm_resource -L
to learn about your current resources.
I configured a resource, but it always fails.
Try to run the resource agent manually. With LSB, just run
scriptname
start
and
scriptname
stop
. To check an OCF script, set the needed environment
variables first. For example, when testing the
IPaddr
OCF script, you must set
the value for the variable
ip
by setting an environment variable that prefixes the
name of the variable with
OCF_RESKEY_
. For this example, run the command:
export OCF_RESKEY_ip=<your_ip_address>
/usr/lib/ocf/resource.d/heartbeat/IPaddr validate-all
/usr/lib/ocf/resource.d/heartbeat/IPaddr start
/usr/lib/ocf/resource.d/heartbeat/IPaddr stop
If this fails, it is very likely that you missed some mandatory variable or just
mistyped a parameter.
136
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: ......