rhpctl import image

Use the rhpctl import image command to create an image by copying the entire software contents from the specified path to the Rapid Home Provisioning Server.

Syntax

rhpctl import image -image image_name -path path_to_installed_home
   [-imagetype ORACLEDBSOFTWARE | SOFTWARE] [-owner user_name]
   [-state {TESTABLE | RESTRICTED | PUBLISHED}]

Parameters

Table F-15 rhpctl import image Parameters

Parameter Description
-image image_name

Specify the name of the image that you want to add.

-path path_to_installed_home

Specify the absolute path ___location of the software home that you want to import (for Oracle Database images, this is the ORACLE_HOME).

-imagetype
 ORACLEDBSOFTWARE|SOFTWARE

Specify the type of image you are importing. If you are using Oracle Database software, then specify ORACLEDBSOFTWARE. Otherwise, specify SOFTWARE.

-pathowner user_name

Specify the user with read access to the files and directories under the specified path.

Note: This parameter is applicable only for non-Oracle database software homes.

-state {TESTABLE
 | RESTRICTED | PUBLISHED

Specify whether the state of the image is testable, restricted, or published.

Example

To import an image:

$ rhpctl import image -image PRODIMAGEV1 -path /u01/app/product/12.1.0/dbhome -pathowner orcl