
Procedure 11.3
Testing the Conversion
1
On one of the nodes, create a test directory and copy the backup files to the test
directory:
$ mkdir /tmp/hb2openais-testdir
$ cp /etc/ha.d/ha.cf /tmp/hb2openais-testdir
$ cp /var/lib/heartbeat/hostcache /tmp/hb2openais-testdir
$ cp /etc/logd.cf /tmp/hb2openais-testdir
$ sudo cp /var/lib/heartbeat/crm/cib.xml /tmp/hb2openais-testdir
2
Start the test run with
$ /usr/lib/heartbeat/hb2openais.sh -T /tmp/hb2openais-testdir -U
or with the following command, if you are using a 64-bit system:
$ /usr/lib64/heartbeat/hb2openais.sh -T /tmp/hb2openais-testdir -U
3
Read and verify the resulting
openais.conf
and
cib-out.xml
files:
$ cd
/tmp/hb2openais-testdir
$ less openais.conf
$ crm_verify -V -x cib-out.xml
For detailed information about the conversion stages, refer to
/usr/share/doc/
packages/pacemaker/README.hb2openais
in your installed High Availabil-
ity Extension.
Procedure 11.4
Converting the Data
After doing a test run and checking the output, you can now start with the data con-
version. You only need to run the conversion on one node. The main cluster configu-
ration (the CIB) is automatically replicated to the other nodes. All other files that need
to be replicated are automatically copied by the conversion script.
1
Make sure that sshd is running on all nodes with access allowed for
root
in
order for the conversion script to successfully copy the files to the other cluster
nodes.
2
The High Availability Extension ships with a default OpenAIS configuration
file. If you want to prevent the default configuration from being overwritten
during the following steps, make a copy of the
/etc/ais/openais.conf
configuration file.
102
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: ......