subscribe iconSubscribe to this information

IVM defsysplanres command

Purpose

Defines the system plan resource.

Syntax

defsysplanres -r osinstall -n <resource name> -v <resouce value> [-d <resource description>] [-help]

Descriptio

The defsysplanres command defines a system plan resource for use by system plans deployed from the Integrated Virtualization Manager (IVM).

Flags

-r Specifies the type of system plan resources to define. To define the installation resources for the operating system, the only valid value is osinstall.

This command does not create the resource. It sets the reference to an operating system installation resource that can later be used within system plans that are deployed from the IVM where the resource has been defined. This resource is defined only to the IVM and not to any system plan. If the resource defined appears with a location attribute in a system plan, the plan location is used instead.

-n Specifies the name of the system plan resource you want to define. When a system plan is deployed that needs to use the resource, the name is used to retrieve the plan resource location attribute. Valid values follow:
  • resource name - the name of the resource to define.
  • sles9 - Define the installation resources for installing the SLES9 Linux® operating system with a system plan.
  • rhel4 - Define the installation resources for installing the Red Hat 4 Linux operating system with a system plan.
  • aix52 - Define the installation resources for installing the AIX® 5.2 operating system with a system plan.
  • aix53 - Define the installation resources for installing the AIX 5.3 operating system with a system plan.
-v Specifies the value of the resource. This value is not checked for validity by the command. It is treated as a string value.
-d Specifies a description for the resource. This is an open text description field.
-help Displays the help text for this command and exit.

Exit Status

The following exit values are returned:
0 Successful completion.
>0 Invalid flag, argument, or command failure.

Examples

  1. To define the plan resource for the osinstall type used as the Red Hat installation source, type:
     defsysplanres -r osinstall -n rhel4
            -v rhel43
            -d "Red hat install source"
  2. To define the plan resource for the osinstall type used as the AIX 5.3 installation source, type:
    defsysplanres -r osinstall -n aix53
            -v aix53install

Send feedback | Rate this page

Last updated: Fri, Oct 30, 2009