emcli deploy_jvmd usage
Deploys JVMD agent in a WebLogic Domain.
Format
emcli deploy_jvmd -domain_name="Domain Target Name" [-engine="JVMD Engine URL"] [-clusters="Clusters Name"] [-servers="Servers Name"] [-host_cred="Oracle Home Owner Credentials"] [-wls_cred="WebLogic Administrator Credentials"] [-deploy_mode="Deploy Mode"] [-java_args="Client java arguments"] [-schedule= start_time:yyyy/MM/dd HH:mm; [tz:{java timezone ID}]; [grace_period:xxx]; ] [-workDir="Working Directory Location"] [-libDir="Libraries Directory Location"] [ ] indicates that the parameter is optional.
Options
-
-domain_name
Name of the WebLogic Domain Target where the agent will be deployed.
-
-engine
Either JVMD Engine URL or configured JVMD Load Balancer URL. You can see all the acceptable URLs list in the JVMD agent download dialog box.
-
-clusters
Name of the cluster(s) the JVMD agent will be targeted.
-
-servers
Name of the server(s) the JVMD agent will be targeted.
-
-host_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.
where,-
Credential_name is the name of the named credential.
-
Credential_owner is 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.
where,-
Credential_name is the name of the named credential.
-
Credential_owner is the credentials of the Oracle home owner on the Administration Server host.
Note:
If no named credential is provided, the preferred administrator credentials for the domain target will be used. -
-
-deploy_mode
Deployment mode of the JVMD agent. This is an optional parameter. The valid modes are deploy, redeploy and undeploy. If no mode is provided, the 'deploy' mode will be used by default.
-
-java_args
Client java arguments that will be used to connect to the Administration Server. This is an optional parameter.
-
-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.
-
-libDir
Default directory for extracting native libraries. This is an optional parameter.
Example 1
A JVMD agent is deployed in the domain base_domain at the specified schedule and targeted to two clusters. Also, since the credentials haven't been specified, the preferred credentials for the target are used.
emcli deploy_jvmd -domain_name="/Farm01_base_domain/base_domain" -engine="protocol://myhost.mycompany.com:port" -clusters="Cluster1,Cluster2" -schedule="start_time:2016/6/21 21:23;tz:America/New_York;grace_period:60" -workDir="/u01/mytemp"