Running script packages on classic virtual system instances

Run a script package on a classic virtual system instances.

Before you begin

Note: The Virtual System Patterns (Classic) is not supported in IBM Cloud Pak System Software version 2.3.5 and later.
You must have a deployed classic virtual system instance and at least one script package that is associated with the instance. Script packages must also be configured to run when you initiate it, so you can run the package as many times as needed.

If you did not deploy the virtual system instance, you must be granted All (Full) permission for the virtual system instance to run the script package.

Procedure

  1. Click Patterns > Virtual System Instances (Classic).
  2. From the list of available virtual system instances, select the appropriate instance.
  3. In the details of the selected instance, expand the Virtual machines node.
  4. Expand the node of the virtual machine on which you want to run the script package.
  5. In the Script Packages section, select [Execute].
  6. If required, type the user name and password of the administrator. There might be more parameters available to configure as well, depending on the script package.
    Note: These credentials are not used to run the script package. The script package runs by using the root user context. These credentials are passed to the running script as environment variables with the key names ADMINUSERNAME and ADMINPASSWORD so that they can be used by the script if needed for tasks such as product administration. These environment variables are only valid in the execution environment of the script package. If no credentials are needed for the tasks that are carried out by the script package, such as the Must Gather Logs script, the script completes successfully even when these credentials are left blank.
  7. Wait for the script package to complete.