fwimage

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

Synopsis

create
delete -i|--image imagename
list [-l|--detail]
update -i|--image imagename

Description

The Fwimage mode is one of a set of modes provided by the Enterprise Manager Ops Center. Use Fwimage subcommands to create and manage firmware image packages.

Type the fwimage command at the command line prompt to enter Fwimage mode. Type the end command to stop the mode and to return to the command line prompt.

Subcommands

list [-l|--detail]

Displays a list of all firmware images managed by Oracle Enterprise Manager Ops Center. Use this command to obtain the name for a specific image. Add the -l|--detail option to the command to display detailed information about the firmware image packages.

create

Starts a submode that uses subcommands to define a new firmware image. Use the following set commands to specify a new firmware image.


set name=imagename
set version=version
set type=type
set make=manufacturer
set url=None|URL
(Optional) set description=None|text
(Optional) set size=0|size
(Optional) set powerOffRequired=True|False
(Optional) set dependeeFirmwarePackageName=None|packagename
(Optional) set updateCount=count
show displays the definition of the create job.
unset uses the same properties as the set subcommand to cancel the definition.
reset cancels all properties defined with the set subcommand
commit starts the create job.
add_device -v|--vendor vendor -m|--model model [-V|--validated]
delete -i|--image imagename

Removes a firmware image package from Oracle Enterprise Manager Ops Center management. The package must not be in use by any host.

update -i|--image imagename

Starts a submode that uses subcommands to update an existing firmware image package. Use the set command to change the attributes of the package. Use the commit command to run the update job.

Options

-l|--detail

Specifies that the output of the list subcommand includes the additional information.

-m|--model

Specifies the model of a device.

-i|--image

Specifies that the subcommand acts on a specific image.

-v|--vendor

Specifies the vendor of a device.

--V|validated

Specifies that the new firmware image is validated.

Operands

count

The number of times that the firmware image package has been updated.

packagename

Identifies whether the new image package requires other packages and if so, the names of the packages. Valid values are None, the name of a package, or a comma-separated list of packages.

description

Text that identifies the image.

device

Specifies one or more devices supported by the firmware. Use a comma-separated list to include more than one device.

manufacturer

The identifier of the manufacturer of a new image.

model

The model of the device for the firmware image.

imagename

The identifier of a specific image package.

size

The maximum size of the new image package. The default size is 0.

type

The identifier for the category of firmware, for example ”disk.”

URL

The Uniform Resource Locator that identifies where the new image package is located.

vendor

The vendor of the device for the firmware image.

version

The identifier of the version of the new image package.

Examples

Example 1   Display a detailed list of images
EnterpriseController/fwimage > list -l
Example 2   Remove an image.
EnterpriseController/fwimage > delete -i SUNWmms
Example 3   Create an image package with a new device
EnterpriseController/fwimage > create
EnterpriseController/fwimage/create > set name=fwpkg
EnterpriseController/fwimage/create > set url=domain/path/directory
EnterpriseController/fwimage/create > set version=0.1
EnterpriseController/fwimage/create > set make=Sun
EnterpriseController/fwimage/create > add_device -v Sun -m Netra 240 Server --validated
EnterpriseController/fwimage/create > set device 
EnterpriseController/fwimage/create > set type=System-Firmware
EnterpriseController/fwimage/create > commit
Firmware image created successfully
EnterpriseController/fwimage/create > end
Example 4   Update an existing image with a new version and type
EnterpriseController/fwimage > update -i fwpkg
EnterpriseController/fwimage/update > set version=0.2
EnterpriseController/fwimage/update > set description="New support for Netra 240"
EnterpriseController/fwimage/update > commit
Firmware image created successfully
EnterpriseController/fwimage/update > end