osprofile

Command to initiate the OSProfile mode and to use its subcommands.

Synopsis

clone -p|--profile profilename -n|--name profile_name_new
delete -p|--profile profilename
export -p|--profile profilename  -f|--file file_name
import -f|--file filename 
import_jet_template -p|--profile profilename -i|--image os_image -t|--template_path path 
list -l|--detail

Description

The OSProfile mode is one of a set of modes provided by the Enterprise Manager Ops Center. Use OSProfile subcommands to view a list of operating system profiles, to import new profiles from a local file system, and to export profiles to files.

Type the osprofile command at the command line prompt to enter OSProfile mode. Type the end command to stop the mode and to return to the command line prompt.

Subcommands

clone -p|--profile profilename -n|--name profilename_new

Copies an OS profile to one with a different name.

delete -p|--profile profilename

Removes an OS profile.

export -p|--profile profilename -f|--file filename

Moves a profile to a file with the extension .prof.

import -f|--file filename

Adds an operating system profile from a file. The file must have the prof extension. Before you import a profile that was exported previously, change the Name and Payload_Name fields.

import_jet_template -p|--profile profilename -i|--image os_image -t|--template_path path

Includes a JET template for OS provisioning.

list -l|--detail

Displays a list of profiles. Use this command to obtain the name of a specific profile to use with the other OSProfiles subcommands.

Options

-i|--image

Specifies an OS ISO image.

-l|--detail

Includes details in the list of profiles.

-n|--name

Specifies a new operating system profile.

-p|--name

Specifies an operating system profile.

-f|--file

Specifies a name for the file with the exported profile.

-t|--template_path

Specifies the path to the JET template.

Operands

os_image

Name of ISO file with OS image.

path

Full path for the local location of the OS image file.

profilename

Name of an operating system profile.

filename

Name of the new file that contains exported profile.

Examples

Example 1   
EnterpriseController/osprofile > list 
    Profile Name: sles10Jeff1
        Description: linux enterprise server at Jeff
        DistroName: sles10
        OS Version: SUSE-Linux-Enterprise-Server-SP2-10.2-0
        Platform: x86
Example 2   Imports the ddgr profile
EnterpriseController/osprofile > import -p ddgr.prof
Successfully import profile from 'ddgr.prof'
Example 3   Exports the ddgr profile
EnterpriseController/osprofile > export -p ddgr -f la_ddgr.prof