大橙子网站建设,新征程启航
为企业提供网站建设、域名注册、服务器等服务
weblogic技术交流群()
readTemplate('/data/wls1212/wlserver/common/templates/wls/wls.jar')
cd('Servers/AdminServer')
cmo.setName("testAdminServer")
set('ListenAddress','10.10.15.96')
set('ListenPort',8888)
cd('/')
cd("/Security/base_domain/User/weblogic")
cmo.setPassword("weblogic123")
setOption("OverwriteDomain",'true')
setOption('ServerStartMode','prod')
writeDomain('/data/domains/test11_domain')
closeTemplate()
readDomain('/data/domains/test11_domain')
cd('/')
create('ManagedServer8002','Server')
cd('Server/ManagedServer8002')
set('ListenPort',8002)
set('ListenAddress','10.10.15.96')
set('MaxOpenSockCount',5000)
cd('/')
create('ManagedServer8003','Server')
cd('Server/ManagedServer8003')
set('ListenPort',8003)
set('ListenAddress','10.10.15.96')
cd('/')
create('ManagedServer8004','Server')
cd('Server/ManagedServer8004')
set('ListenPort',8004)
set('ListenAddress','10.10.15.96')
cd('/')
create('ManagedServer8005','Server')
cd('Server/ManagedServer8005')
set('ListenPort',8005)
set('ListenAddress','10.10.15.96')
cd('/')
create('ManagedServer8006','Server')
cd('Server/ManagedServer8006')
set('ListenPort',8006)
set('ListenAddress','10.10.15.97')
cd('/')
create('ManagedServer8007','Server')
cd('Server/ManagedServer8007')
set('ListenPort',8007)
set('ListenAddress','10.10.15.97')
cd('/')
create('xlcpt_Cluster','Cluster')
assign('Server','ManagedServer8002,ManagedServer8003,ManagedServer8004,ManagedServer8005,ManagedServer8006,ManagedServer8007','Cluster','xlcpt_Cluster')
cd('Cluster/xlcpt_Cluster')
set('MulticastAddress','237.0.0.101')
set('MulticastPort', 8050)
set('WeblogicPluginEnabled','true')
updateDomain()
closeDomain()
exit()
/data/wls1212/wlserver/common/bin/wlst.sh create_testdomain.py