Sun Management Center 3.6 System Reliability Manager User's Guide

Launch Table

The Launch Table controls the execution of all scripts. This table describes scripts that are ready to be launched along with descriptions of their parameters.

An entry in the Launch Table attaches an argument to a script. The entry also defines the owner, who is used to associate permissions to execute the script.

Several instances of a script may be created through one single entry on this table. Also, several entries on this table may point to a same script on the Script Table. You can execute several identical scripts with different arguments and different permissions. Scripts can only be run with the launch owner's permissions.

The Launch Table has the attributes listed in the following table.

Table 5–2 Launch Table Attributes

Attribute 

Description 

Launch Owner 

The manager who owns this entry. 

Launch Name 

The name of the entry. Names should be unique for each row in the launch table.  

Script Owner  

In combination with the script name, identifies the script.  

Script Name  

In combination with the script owner, identifies the script. 

Arguments  

Arguments to be supplied to the script. 

Launch Start  

Initiates execution of a script. Before a script is launched, the following conditions must be satisfied: 

  1. The Operation Status for the entry should be in enabled state.

  2. There should be an entry in Script Table with the same values in the Script Owner and Script Name fields.

  3. The Script Operation Status field in the script table should be in enabled state.

  4. The Launch Owner has necessary security permissions to launch the script.

Launch Control  

This object is used to request a state change for all running scripts in the Run Table started from the Launch Table.  

Admin Status  

The desired status of this launch table entry, which can be either enabled or disabled.  

Operation Status  

The actual status of this launch table entry, which can be either enabled or disabled.  

Max Running  

The maximum number of concurrently running scripts that may be invoked from this entry. The default value is 3. This field can be modified by directly writing into the field.  

Max Completed  

The default value is 3. The maximum number of finished scripts invoked from this entry in the Launch Table that are allowed to be retained in the Result Table.  

Life Time  

The default maximum amount of time that a script launched from this entry may run. The default value is 86,400 seconds (1 day).  

Expire Time 

The default maximum amount of time that information about a script launched from this entry is kept in the Result Table after the script has completed execution. 

ProcedureTo Add a New Entry to the Launch Table

Steps
  1. Access the Launch Table as described in To Access the Script Launcher Module.

  2. Press mouse button 3 on the Launch Table header.

    A pop-up menu is displayed.

    Module browser with Launch Table and menu. The context describes
the graphic.
  3. Choose New Row and provide all the required parameters.

    The Script Owner and Script Name values point to the script that is started from this launch button.

ProcedureTo Launch an Instance of a Script

Steps
  1. Access the Launch Table as described in To Access the Script Launcher Module.

  2. Press mouse button 3 on the row displaying the desired script name.

  3. Select Launch Script.

    The script is launched.

ProcedureTo Stop Scripts

Steps
  1. Access the Launch Table as described in To Access the Script Launcher Module.

  2. Press mouse button 3 on the row displaying the script you want to stop.

    A pop-up menu appears.

  3. Choose Abort Scripts.

    The script stops running.