weblogic 12c 一键静默建域集群受管,计算机以及添加受管到集群

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了weblogic 12c 一键静默建域集群受管,计算机以及添加受管到集群相关的知识,希望对你有一定的参考价值。

1.静默安装(参照以往文章)

2.静默建域、集群、受管,计算机以及添加受管到集群


编写响应文件,内容包括主管端口,ssl端口,集群名字,受管名字,计算机名字,以及受管添加到哪个集群并且设置主管密码


[[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] ~]$



执行后结果,会出现如下内容:

[[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] ~]$


如果有报错,或者到某个阶段有问题,会立刻终止。




本文出自 “linux_oracle” 博客,请务必保留此出处http://pankuo.blog.51cto.com/8651697/1980437

以上是关于weblogic 12c 一键静默建域集群受管,计算机以及添加受管到集群的主要内容,如果未能解决你的问题,请参考以下文章

Weblogic中wlst的使用

weblogic12.1.3 静默安装 建域

Weblogic 12C win-server 部署,受管服务器启动报认证错误解决方法

weblogic 12c 静默安装

weblogic 12C静默安装

weblogic集群管理机能启动,受管机启动则报错,错误提示是密码不对,求高手解答?