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
Summary of Contents for HP-UX SNAplus2
Page 4: ...4 ...
Page 14: ...14 Contents ...
Page 22: ...22 ...
Page 23: ...23 1 SNA Terms and Concepts ...
Page 65: ...65 2 Introduction to SNAplus2 ...
Page 107: ...107 3 Administering SNAplus2 ...
Page 132: ...132 Chapter3 Administering SNAplus2 Using the Command Line Administration Program ...
Page 133: ...133 4 Basic Configuration Tasks ...
Page 142: ...142 Chapter4 Basic Configuration Tasks Configuring Logging ...
Page 143: ...143 5 Defining Connectivity Components ...
Page 167: ...167 6 Configuring Dependent LUs ...
Page 174: ...174 Chapter6 Configuring Dependent LUs Defining LU Pools ...
Page 175: ...175 7 Configuring APPC Communication ...
Page 208: ...208 Chapter7 Configuring APPC Communication Configuring APPC Security ...
Page 209: ...209 8 Configuring User Applications ...
Page 222: ...222 Chapter8 Configuring User Applications Configuring RJE Workstations ...
Page 223: ...223 9 Configuring Passthrough Services ...
Page 235: ...235 10 Managing SNAplus2 from NetView ...
Page 248: ...248 Chapter10 Managing SNAplus2 from NetView Using UCF ...
Page 249: ...249 11 Managing SNAplus2 Clients ...
Page 300: ...300 Chapter11 Managing SNAplus2 Clients Managing HP UX Clients ...
Page 301: ...301 A Configuration Planning Worksheets ...
Page 337: ...337 B APPN Network Management Using the Simple Network Management Protocol ...
Page 343: ...343 C Configuring an Invokable TP Using snaptpinstall ...
Page 353: ...353 D Using SNAplus2 in a High Availability Environment ...