Previous Topic: vm2class Reference - OverviewNext Topic: Using Role Based Access Control


vm2class Reference - Usage

The vm2class utility creates an appliance class from a Linux guest installed on z/VM.

Syntax
util vm2class app_name=name userid=user_id
              vol1_addr=virtual_address1 [… volN_addr=virtual_addressn]
              [--unmanaged] [--batch]
Options
app_name=name

Defines the name of the application to create. The name of the created class is name:VM2CLASS.

userid=user_id

Specifies the user ID of the Linux guest from which you want to create the appliance class.

vol1_addr=virtual_address1 [… volN_addr=virtual_addressn]

Specifies the virtual address of a minidisk, as defined in the user entry in the z/VM user directory. The device is added as a CA AppLogic® volume. One or more volumes can be specified. The volumes have the following characteristics:

--unmanaged

(Optional) Creates an unmanaged appliance.

Default: Managed

--batch

(Optional) Specifies noninteractive mode. On failure, the created appliance gets cleaned.

Default: Interactive mode

Supported Operating Systems

The utility supports the following minimum OS releases:

Examples

This example creates a managed class my-app:VM2CLASS with two volumes from user ID LNXGOLD1 using the noninteractive mode:

util vm2class app_name=my-app userid=LNXGOLD1 vol1_addr=0203 vol2_addr=0204 --batch