create_partition_profile

Format

emcli create_partition_profile
-name="Profile Name" 
-ref_target="Reference Target Name" 
-partition_name="Partition Name" 
[-oh_cred="Oracle Home Owner Credentials"]
 [-wls_cred="WebLogic Administrator Credentials"]
 [-schedule=start_time:yyyy/MM/dd HH:mm;
 [tz:{java timezone ID}];
 [grace_period:xxx]; ]
 [-workDir="Working Directory Location"]

[ ] indicates that the parameter is optional.

Options

  • name

    Name of the WebLogic Domain Partition Profile.

  • ref_target

    Name of the reference WebLogic Domain target from which the partition will be exported.

  • partition_name

    Name of the partition from which the profile will be created.

  • oh_cred

    Named credential used to access the reference host. This is an optional parameter. To pass the credential parameter, enter a name: value pair in the following format:

    credential_name:credential_owner

    Credential_name is the name of the named credential.

    Credential_owner are the credentials of the Oracle home owner on the Administration Server host.

    Note:

    All the operations will be performed on the Administration Server host.

    If no named credential is provided, the preferred host credentials for the Oracle home target will be used.

  • wls_cred

    Named credential used to access the Administration Server.

    This is an optional parameter. To pass the credential parameter, enter a name: value pair in the following format:

    credential_name:credential_owner

    Credential_name is the name of the named credential.

    Credential_owner are the credentials of the Administrator on the WebLogic Domain.

    Note:

    If no named credential is provided, the preferred Administrator credentials for the domain target will be used.

  • schedule

    Specify when to run the deployment procedure. If no value is entered, by default, the procedure runs immediately. To schedule a procedure, provide:

    • start_time: when the procedure should start.

    • tz: the timezone id.

    • grace_period: grace period in minutes.

  • workDir

    Specify the working directory to be used. This is an optional parameter

Example 5-1 Examples

A WebLogic Domain Partition profile called HRPartitionProfile is created using the partition HRPartition from the domain base_domain at the specified schedule.

No credentials were specified, so the preferred credentials are used.

emcli create_fmw_domain_profile 
-name="HRPartitionProfile" 
-ref_target="/Farm01_base_domain/base_domain" 
-partition_name="HRPartition" 
-description="A partition profile for human resources" 
-schedule="start_time:2016/6/21 21:23;tz:America/New_York;grace_period:60" 
-workDir="/u01/mytemp"