Create a shell script for terminating HiRDB (executing $PDDIR/bin/pdstop) and start this shell script when the package stops. To do this, set a shell script that terminates HiRDB inside the package control script of MC/ServiceGuard. Figure 25-47 shows the HiRDB termination processing flow.
Figure 25-47 HiRDB termination processing flow (MC/ServiceGuard)
Examples of a shell script for terminating HiRDB are shown below.
HiRDB/Single Server
#!/bin/sh |
HiRDB/Parallel Server
#!/bin/sh |