create_fmw_home_profile

Creates a Fusion Middleware provisioning profile from an Oracle Home.

Format

emcli create_fmw_home_profile 
        -name="profile_name" 
        -ref_target="reference_target_name" 
        [-description="profile_description"] 
        [-oh_cred="Oracle_home_owner_credentials"] 
        [-schedule= 
              start_time:yyyy/MM/dd HH:mm; 
              [tz:{java timezone ID}]; 
              [grace_period:xxx]; 
        ] 

[ ]  indicates that the parameter is optional

Options

  • name

    Name of the profile to be created.

  • ref_target

    Name of the Oracle Home target to be used as a reference to create the profile.

  • description

    Description of the profile to be created.

  • oh_cred

    Named credential to be used to access the reference host. The format is:

    CREDENTIAL_NAME:CREDENTIAL_OWNER
    

    If no named credential is provided, preferred host credentials for the Oracle Home target are used.

  • schedule

    Schedule for the Deployment Procedure. If not specified, the procedure executes immediately.

    • start_time: Time when the procedure should start.

    • tz: Time zone ID.

    • grace_period: Grace period in minutes.

Examples

Example 1

This example creates a profile on the specified schedule from the given Oracle Home target using preferred credentials.

emcli create_fmw_home_profile 
      -name="OhProfile1" 
      -ref_target="/Farm01_base_domain/base_domain" 
      -description="An Oracle Home profile" 
      -schedule="start_time:2014/6/21 21:23;tz:America/New_York;grace_period:60"
 

Example 2

This example immediately creates a profile from the given Oracle Home target using given named credentials.

emcli create_fmw_home_profile 
      -name="OhProfile2" 
      -ref_target="WebLogicServer_10.3.6.0_myhost.mycompany.com_5033" 
      -oh_cred="MY_HOST_CRED:SYSMAN"