Red Hat CLUSTER SUITE FOR ENTERPRISE LINUX 5.1 Instrukcja Użytkownika Strona 10

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 14
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 9
section. After creating the main initialization script, perform the following steps to add Caché
to the cluster services:
1. Create a script in /etc/rc.d/init.d for each instance of Caché you installone for each
Caché cluster service you dene. Model it after one of the two following examples:
Example 1:
#!/bin/ksh
/etc/rc.d/init.d/cache $1 cacheha1 failover
exit ?$
Example 2:
#!/bin/ksh
/usr/local/etc/cachesys/cache-init $1 cacheha1 failover
exit ?$
Replace cacheha1 with your instance name. Name the script in the form
/etc/rc.d/init.d/cache-<inst> where <inst> is the instance name (for this example, the
le is: /etc/rc.d/init.d/cache-cacheha1).
2. Use the service modify command of the cluadmin utility to update the script location
for each service. Leave the monitor interval set to 0.
The script supports the status command; however, if Caché becomes unresponsive and
has a non-zero monitor interval, it fails over automatically to the other cluster member
which may prevent it from collecting any information required to diagnose the problem.
3. Relocate the services to the node on which you want them to start. If it is the currently
active node (that is, before adding the script, the services were controlling the storage
availability on this node), use the service disable and service enable commands. Other-
wise, use the service relocate command.
The service relocate and service disable commands call the script with the stop param-
eter, which attempts to shut down Caché gracefully.
Caché is now part of the failover cluster services. Test the cluster using the following proce-
dure:
1. Unplug one node.
2. Verify that the version of Caché that was running on the stopped node starts on the second
node.
3. Turn the failed machine back on; Caché should remain running on the second node (it
should not fail back automatically).
4. Unplug the second node; both Caché instances should migrate to the rst node.
6 Caché ECP Clusters on Red Hat Enterprise Linux
Adding Caché to the Cluster Services
Przeglądanie stron 9
1 2 ... 5 6 7 8 9 10 11 12 13 14

Komentarze do niniejszej Instrukcji

Brak uwag