WebLogic 12c One-click Silent domain, cluster, managed, computer and add managed to cluster

Source: Internet
Author: User

1. Silent Installation (refer to previous articles)

2. Silent domain, cluster, managed, computer, and add managed to cluster


Write a response file that includes the Supervisor port, the SSL port, the cluster name, the managed name, the computer name, and the cluster to which the managed is added and the supervisor password set


[email protected] ~]$ cat CREAT.RSP

Read template from "/home/weblogic/oracle/middleware/oracle_home/wlserver/common/templates/wls/wls.jar";

Set Javahome "/usr/java/jdk1.8.0_141";

Set Serverstartmode "Dev";

Find Server "AdminServer" as AdminServer;

Set Adminserver.listenaddress "";

Set Adminserver.listenport "7001";

Set AdminServer.SSL.Enabled "true";

Set AdminServer.SSL.ListenPort "7002";

Create Cluster "Cluster-0" as Clustername1;

Create machine "machine-1" as Machinename1;

Create Server "Server-1" as BASE;

Set BASE. ListenAddress "";

Set BASE. Listenport "8001";

Set Base.cluster "Cluster-0";

Set Base.machine "Machine-1";

Create Server "Server-2" as BASE2;

Set BASE2. ListenAddress "";

Set BASE2. Listenport "8002";

Set Base.cluster "Cluster-0";

Set Base.machine "Machine-1";

Find User "WebLogic" as WebLogic;

Set Weblogic.password "weblogic123";

Write domain to "/home/weblogic/domains/jydomains";

Close template;

[Email protected] ~]$



After executing the result, the following will appear:

[Email protected] ~]$/home/weblogic/oracle/middleware/oracle_home/wlserver/common/bin/config.sh-mode=silent- Silent_script=/home/weblogic/creat.rsp

Warning:this is a deprecated script. Please invoke the config.sh script under Oracle_common/common/bin.

<< read template from "/home/weblogic/oracle/middleware/oracle_home/wlserver/common/templates/wls/wls.jar"

>> succeed:read template from "/home/weblogic/oracle/middleware/oracle_home/wlserver/common/templates/wls/ Wls.jar "

<< set config option javahome to "/usr/java/jdk1.8.0_141"

>> succeed:set config option javahome to "/usr/java/jdk1.8.0_141"

<< set config option serverstartmode to "Dev"

>> succeed:set config option serverstartmode to "Dev"

<< find Server "AdminServer" as AdminServer

>> succeed:find Server "AdminServer" as AdminServer

<< set AdminServer attribute listenaddress to ""

>> Succeed:set adminserver attribute listenaddress to ""

<< set AdminServer attribute listenport to "7001"

>> Succeed:set adminserver attribute listenport to "7001"

<< Set AdminServer attribute ssl! Enabled to "true"

>> Succeed:set adminserver Attribute ssl! Enabled to "true"

<< Set AdminServer attribute ssl! Listenport to "7002"

>> Succeed:set adminserver Attribute ssl! Listenport to "7002"

<< Create Cluster "Cluster-0" as Clustername1

>> succeed:create Cluster "Cluster-0" as Clustername1

<< Create Machine "machine-1" as Machinename1

>> succeed:create Machine "machine-1" as Machinename1

<< Create Server "Server-1" as BASE

>> succeed:create Server "Server-1" as BASE

<< set BASE attribute listenaddress to ""

>> Succeed:set BASE attribute listenaddress to ""

<< set BASE attribute listenport to "8001"

>> Succeed:set BASE attribute listenport to "8001"

<< set BASE attribute Cluster to "Cluster-0"

>> Succeed:set BASE attribute Cluster to "Cluster-0"

<< set BASE attribute machine to "machine-1"

>> Succeed:set BASE attribute machine to "machine-1"

<< Create Server "Server-2" as BASE2

>> succeed:create Server "Server-2" as BASE2

<< set BASE2 attribute listenaddress to ""

>> Succeed:set BASE2 attribute listenaddress to ""

<< set BASE2 attribute listenport to "8002"

>> Succeed:set BASE2 attribute listenport to "8002"

<< set BASE attribute Cluster to "Cluster-0"

>> Succeed:set BASE attribute Cluster to "Cluster-0"

<< set BASE attribute machine to "machine-1"

>> Succeed:set BASE attribute machine to "machine-1"

<< find User "WebLogic" as WebLogic

>> succeed:find User "WebLogic" as WebLogic

<< set WebLogic attribute Password to "********"

>> Succeed:set WebLogic attribute Password to "********"

<< write Domain to "/home/weblogic/domains/jydomains"

..................................................

>> succeed:write Domain to "/home/weblogic/domains/jydomains"

<< Close Template

>> succeed:close Template

[Email protected] ~]$


If there is an error, or there is a problem at some stage, it will be terminated immediately.




This article is from the "linux_oracle" blog, make sure to keep this source http://pankuo.blog.51cto.com/8651697/1980437

WebLogic 12c One-click Silent domain, cluster, managed, computer and add managed to cluster

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.