
2
To migrate a resource named
ipaddress1
to a cluster node named
node2
,
enter:
crm(live)# resource
crm(live)resource# migrate ipaddress1 node2
5.14 Testing with Shadow
Configuration
NOTE: For Experienced Administrators Only
Although the concept is easy, it is nevertheless recommended to use shadow
configuration only when you really need them, and if you are experienced with
High Availability.
A shadow configuration is used to test different configuration scenarios. If you have
created several shadow configurations, you can test them one by one to see the effects
of your changes.
The usual process looks like this:
1. User starts the
crm
tool.
2. You switch to the
configure
subcommand:
crm(live)# configure
crm(live)configure#
3. Now you can make your changes. However, when you figure out that they are risky
or you want to apply them later, you can save them into a new shadow configuration:
crm(live)configure# cib new myNewConfig
INFO: myNewConfig shadow CIB created
crm(myNewConfig)configure# commit
4. After you have created the shadow configuration, you can make your changes.
5. To switch back to the live cluster configuration, use this command:
Configuring Cluster Resources From Command Line
73
Содержание 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: ......