Databases Reference
In-Depth Information
There's more...
The same cluster can also be created using the following WLST.
Creating a WebLogic cluster using WLST
1. Log in as wls user to shell and start WLST:
[wls@prod01]$ $WL_HOME/common/bin/wlst.sh
2. Connect to the Administration Server using wlsadmin as the user, <pwd>
as the password, and t3://prod01.domain.local:7001 as the server URL:
wls:/offline> connect("wlsadmin","<pwd>","t3://prod01.domain.
local:7001")
3. Run the following WLST commands to create the cluster and server instances:
edit()
startEdit()
cd('/')
cmo.createCluster('PROD_Cluster')
cd('/Clusters/PROD_Cluster')
cmo.setClusterMessagingMode('unicast')
cd('/')
cmo.createServer('PROD_Server01')
cd('/Servers/PROD_Server01')
cmo.setListenPort(8001)
cmo.setCluster(getMBean('/Clusters/PROD_Cluster'))
cmo.setMachine(getMBean('/Machines/prod01'))
cd('/')
cmo.createServer('PROD_Server02')
cd('/Servers/PROD_Server02')
cmo.setListenPort(8002)
cmo.setCluster(getMBean('/Clusters/PROD_Cluster'))
cmo.setMachine(getMBean('/Machines/prod01'))
cd('/')
cmo.createServer('PROD_Server03')
 
Search WWH ::




Custom Search