Appendix D
377
Using SNAplus2 in a High Availability Environment
Using SNAplus2 with MC/ServiceGuard
the SNAplus2 software. Insert this command in the
customer_defined_halt_cmds
section of the Package Control Script
as follows:
function customer_defined_halt_cmds
{
snap stop
}
After ServiceGuard stops the SNAplus2 package on the primary server,
it will attempt to start the package on the backup server. Using our
example, it might seem simple to just add the following command to
start the
HALS
LS on the backup server:
snapadmin start_ls, ls_name=HALS
But this command will fail if any of the following are true:
• The SNAplus2 control daemon is not running on the backup server.
The SNAplus2 control daemon must always be running in order to
activate a n LS .
• The SNAplus2 port
HAPORT
is not running on the backup server.
In addition, you must make sure the following requirements are
satisfied:
• The remote SNA system does not restrict which HP 9000 server can
activate the same PU configuration. For example, the remote SNA
system allows communication from any MAC address in a Token Ring
LAN. This requirement is necessary to ensure that the backup server
will be allowed to activate the same LS that the primary server used.
• The primary server and the backup server both have a compatible I/O
configuration. This is an important requirement that will be further
explained in the section “I/O Compatibility Constraints”.
• The backup server is not running SNAplus2 when ServiceGuard
attempts to migrate the package. If the backup server is running
SNAplus2 , then the third command (
snapadmin init_node
) will
fail. The reason is that SNAplus2 only allows one node to run on a
server.
With this in mind, you might be tempted to issue the command
snap
stop
as the first run command. However, there are certain failure
conditions where this command is not sufficient. If the primary server
panics or loses all networking capability, it will be unable to send a
message to other SNAplus2 servers that indicates the node has
stopped on the primary server. In this case, SNAplus2 will refuse to
Содержание HP-UX SNAplus2
Страница 4: ...4 ...
Страница 14: ...14 Contents ...
Страница 22: ...22 ...
Страница 23: ...23 1 SNA Terms and Concepts ...
Страница 65: ...65 2 Introduction to SNAplus2 ...
Страница 107: ...107 3 Administering SNAplus2 ...
Страница 132: ...132 Chapter3 Administering SNAplus2 Using the Command Line Administration Program ...
Страница 133: ...133 4 Basic Configuration Tasks ...
Страница 142: ...142 Chapter4 Basic Configuration Tasks Configuring Logging ...
Страница 143: ...143 5 Defining Connectivity Components ...
Страница 167: ...167 6 Configuring Dependent LUs ...
Страница 174: ...174 Chapter6 Configuring Dependent LUs Defining LU Pools ...
Страница 175: ...175 7 Configuring APPC Communication ...
Страница 208: ...208 Chapter7 Configuring APPC Communication Configuring APPC Security ...
Страница 209: ...209 8 Configuring User Applications ...
Страница 222: ...222 Chapter8 Configuring User Applications Configuring RJE Workstations ...
Страница 223: ...223 9 Configuring Passthrough Services ...
Страница 235: ...235 10 Managing SNAplus2 from NetView ...
Страница 248: ...248 Chapter10 Managing SNAplus2 from NetView Using UCF ...
Страница 249: ...249 11 Managing SNAplus2 Clients ...
Страница 300: ...300 Chapter11 Managing SNAplus2 Clients Managing HP UX Clients ...
Страница 301: ...301 A Configuration Planning Worksheets ...
Страница 337: ...337 B APPN Network Management Using the Simple Network Management Protocol ...
Страница 343: ...343 C Configuring an Invokable TP Using snaptpinstall ...
Страница 353: ...353 D Using SNAplus2 in a High Availability Environment ...