Remote trigger example

You can trigger HMC or SE activities remotely by using the snipl command.

Before you begin

As of snipl version 2.1.9, the snipl command can be used for dump handling. The required setup for snipl usage and further details are described in Device Drivers, Features, and Commands on SUSE Linux Enterprise Server 12 SP3, SC34-2745. You can dump to a DASD disk.

About this task

For example, assume that you have a snipl configuration file /etc/snipl.conf containing the following specifications:
server=myse9.example.com
image=LPARLNX1
image=LPARLNX2

server=myse5.example.com
image=LPRLNX05
Further assume that you have prepared a dump DASD (in this example with device number 5199) with the zipl tool.

Procedure

Use the following snipl commands to write a memory dump of LPARLNX1 to the prepared DASD:

  1. Stop the CPUs:
    # snipl LPARLNX1 --stop
    Server myse9.example.com from config file /etc/snipl.conf is used
    processing......
    LPARLNX1: acknowledged.
  2. IPL the dump tool on DASD 5199, prepared with the dump tool:
    # snipl LPARLNX1 --load -A 5199 --storestatus
    Server myse9.example.com from config file /etc/snipl.conf is used
    processing......
    LPARLNX1: acknowledged.
  3. Monitor the dump progress:
    # snipl LPARLNX1 --dialog
    LPARLNX1: acknowledged.
    Starting operating system messages interaction for
    partition  LPARLNX1 (Ctrl-D to abort):
    00000128 / 00001024 MB
    ...
    00000896 / 00001024 MB
    00001024 / 00001024 MB
    Dump successful