IPL templates


An IPL template defines a set of phases or states that a mainframe system progresses through when shutting down and IPLing. 

Each state contains:

  • One or more commands that get executed when entered
  • A set of rules that are applied to the management session and console session for the system being IPLed
  • A timeout value. When the timeout is reached, the automated IPL aborts and the error actions are executed. 

An IPL configuration makes use of a template and defines the consoles session and the management console. It can be started with an RDL function that can be triggered by an operating system message, an operator using an BMC AMI Ops Console Automation viewer, or from a scheduled task.

When an automated IPL is started, SecureHMC examines the status of the target system (operating, not-operating, or not-activated, and so on) to determine which state to start with. When the initial state is entered, the entry commands for that state are sent to the target console or management console. 

As messages are received from the console and target console, the rules for that state are executed. If the action for one of the rules is Change State, that current state is exited, and the next state is entered. The entry commands for the new state, and the process repeats until the next state is #finish.

Templates may be used for IPLing many mainframe systems. Information within the template may contain replaceable parameters that are filled in when the IPL configuration is merged with the template. The replaceable parameters are:

  • %name%
  • %cpc%
  • %lpar%
  • %hmcsession%
  • %consolesession%
  • %deactivate%
  • %loadaddress%
  • %loadparameter%
  • %loadtimeout%
  • %zvm-host% 
  • %zvm-guest% 

The IPL Templates page shows the list of templates available for use. Except for templates delivered with SecureHMC, templates may be edited, copied, deleted, and exported.

Create a new template

To create a new template:

  1. Click New Template.
  2. Select the IPL type.
    1. If you select LPAR, SecureHMC sends commands to the HMC to manage an LPAR (or PR/SM) system.
    2. If you select z/VM Guest, SecureHMC sends commands to the IBM z/VM system that hosts a guest operating system.

Edit a template

To edit a template, click the template name hyper link and make the required changes. You can also use the Edit option available in the Actions column.

To edit a template delivered with SecureHMC, copy it and edit the copy.

The Edit page contains the following tabs:

  • Overview
  • Error Handling

Overview tab

Go to the Overview tab to fill in the template details.

The following table fields the properties that you can fill in under General Properties:

Field

Description

(Required) Template name

Enter the template name.

Description

Enter text describing the template.


The following table describes the states for LPAR that you can define under Startup State:

Parameters

Description

Operating

Select a starting state for LPAR from the drop-down list.

Not operation

Select a starting state for LPAR from the drop-down list.

Not activated

Select a starting state for LPAR from the drop-down list.

You can also create a new startup state for the server:

  1. Click the New State.
  2. Fill in the following fields under the General Properties tab:

    Field

    Description

    (Required) State Name 

    Enter a state name.

    Timeout (seconds)

    Set seconds for timeout.

  3. To enter commands, select the desired state, click the Commands tab (if it isn’t already selected), and click Add Command.
    Commands are executed when the state is entered. You can send commands to the target console or to the management console. Select which type of command will be sent. For console commands or z/VM host commands, enter the command. For HMC commands, select the operation and enter the appropriate information. 
  4. Click on Assigned Rules tab to manage the rule assignment of the state. Select the rule you want to assign to the state.
    Click New Rule and you are redirected to the Rules tab to create a new rule.
    To edit a rule, click the rule name hyperlink and make the required changes.
    For more information, see Rules-tab

    Warning

    Important

    The rules assigned to a state are only Form rules.

  5. Click the Create button at the bottom right of the page after filling in all the required details.

To remove a State, click the image-2023-3-19_15-47-46.png icon under the Actions row.

To edit a State, click the state name hyperlink and make the required changes.

Error Handling tab

Go to the Error Handling tab to perform a health check for the session. See Health-Check for more information. 

Delete a template

In the IPL Templates page, select one or more templates and click Delete available in the Actions (row) button.

Also, you can use the Delete option available under the Actions (column) button.

Export a template

In the IPL Templates page, select one or more templates and click Export available in the Actions (row) button.

Also, you can use the Export option available under the Actions (column) button.

Import a template

To import a previously exported template, click the Import Template button, attach the file, and click the upload button. You can see the imported templates in the template list.

For more information on IPL automation, see IPL-Automation-tab.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Ops Console Management, BMC AMI Ops Console Automation, and BMC AMI Ops SecureHMC 4.1