개인 저장용 블로그

Jeus8 컨테이너(DAS,MS) 기동 및 정지 본문

미들웨어/Jeus

Jeus8 컨테이너(DAS,MS) 기동 및 정지

우엉잇 2022. 6. 2. 17:47

Managed Server를 기동 및 정지 시키는 방법으로는 세가지 방법이 있는것으로 보인다. 

 

1. command를 이용한 기동 및 정지 

2. webadmin을 이용한 기동 및 정지 

3. jeusadmin을 이용한 기동 및 정지 

 

# command를 이용한 기동 및 정지 

 

- MS 기동 

[weblogic@localhost bin]$ ./startManagedServer -domain jeus_domain -server server1 -u administrator -p welcome1
***************************************************************
  - JEUS Home         : /product/jeus/jeus8                           
  - JEUS Base Port    :                        
  - Java Vendor       : Sun                         
  - Added Java Option :                            
***************************************************************
+ /usr/java/jdk1.8.0_251/bin/java -server -Xmx512m -Xbootclasspath/p:/product/jeus/jeus8/lib/system/extension.jar -classpath /product/jeus/jeus8/lib/system/bootstrap.jar -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.library.path=/product/jeus/jeus8/lib/system -Djava.endorsed.dirs=/product/jeus/jeus8/lib/endorsed -Djava.naming.factory.initial=jeus.jndi.JNSContextFactory -Djava.naming.factory.url.pkgs=jeus.jndi.jns.url -Djava.net.preferIPv4Stack=true -Djava.util.logging.manager=jeus.util.logging.JeusLogManager -Djava.util.logging.config.file=/product/jeus/jeus8/bin/logging.properties -Djeus.home=/product/jeus/jeus8 -Djeus.jvm.version=hotspot -Djeus.tm.checkReg=true -Djeus.properties.replicate=jeus,sun.rmi,java.util,java.net jeus.server.ManagedServerLauncherBootstrapper -domain jeus_domain -server server1 -u administrator -p welcome1 -domain jeus_domain

================ JEUS LICENSE INFORMATION ================
=== VERSION : JEUS 8 (8.0.0.0-b105)
=== EDITION: Enterprise (Trial License)
=== NOTICE: This license restricts the number of allowed clients.
=== Max. Number of Clients: 5
==========================================================
.
.
.
[2022.06.02 16:04:40][0] [launcher-1] [Launcher-0040] Successfully started the server. The server state is now RUNNING.

- MS 정지 ( * BASE PORT 로 정지해야함)

[weblogic@localhost bin]$ ./stopServer -host localhost:9936 -u administrator -p welcome1
****************************************************************************
  - Usage : stopServer -host host:port -u username -p password 
****************************************************************************
Attempting to connect to localhost:9936.
The connection has been established to the managed server server1 in the domain jeus_domain.
The server [server1] has been shut down successfully.

* MS 기동 시 LISTEN PORT를 3개 사용하는것으로 보인다. 

.
.
[2022.06.02 16:45:34][2] [server1-1] [SERVER-0568] Service address='0.0.0.0:9936', hostname='192.168.122.1', representation ip='192.168.122.1'
[2022.06.02 16:45:34][2] [server1-1] [SERVER-0561] The default RMI export port = 9943 and bind address = 192.168.122.1/192.168.122.1.
[2022.06.02 16:45:35][2] [server1-1] [NET-0002] Beginning to listen to NonBlockingChannelAcceptor: 0.0.0.0:9936.
[2022.06.02 16:45:35][2] [server1-1] [NET-0002] Beginning to listen to NonBlockingChannelAcceptor: 0.0.0.0:8088.
[2022.06.02 16:45:35][2] [server1-1] [NET-0002] Beginning to listen to NonBlockingChannelAcceptor: 0.0.0.0:9741.
.
.

BASE PORT는 9936 , http-server PORT는 8088, jms-internal PORT 9741 입니다. 

 

# webadmin을 이용한 기동 및 정지

 

- Nodemanager 기동 

[weblogic@localhost bin]$ pwd
/product/jeus/jeus8/bin


[weblogic@localhost bin]$ ./startNodeManager 
***************************************************************
  - JEUS Home         : /product/jeus/jeus8                           
  - Java Vendor       : Sun                         
  - Added Java Option :                            
***************************************************************
+ /usr/java/jdk1.8.0_251/bin/java -server -Xmx512m -Dnodemanager -Xbootclasspath/p:/product/jeus/jeus8/lib/system/extension.jar -classpath /product/jeus/jeus8/lib/system/bootstrap.jar -Djava.library.path=/product/jeus/jeus8/lib/system -Djava.endorsed.dirs=/product/jeus/jeus8/lib/endorsed -Djava.naming.factory.initial=jeus.jndi.JNSContextFactory -Djava.naming.factory.url.pkgs=jeus.jndi.jns.url -Djava.net.preferIPv4Stack=true -Djava.util.logging.manager=jeus.util.logging.JeusLogManager -Djava.util.logging.config.file=/product/jeus/jeus8/bin/logging.properties -Djeus.tool.webadmin.locale.language=en -Djeus.home=/product/jeus/jeus8 -Djeus.jvm.version=hotspot -Djeus.properties.replicate=jeus,sun.rmi,java.util,java.net jeus.server.NodemanagerBootstrapper

================ JEUS LICENSE INFORMATION ================
=== VERSION : JEUS 8 (8.0.0.0-b105)
=== EDITION: Enterprise (Trial License)
=== NOTICE: This license restricts the number of allowed clients.
=== Max. Number of Clients: 5
==========================================================

 

- 콘솔 접속 및 MS Start 

- 컨테이너 status 확인 

- MS Stop 

jeusadmin을 이용한 기동 및 정지 이번 내용에선 생략하기로 하겠습니다... 

이것으로 Jeus8 컨테이너(DAS,MS) 기동 및 정지를 마치겠습니다. 

'미들웨어 > Jeus' 카테고리의 다른 글

Jeus8 Session 공유  (0) 2022.06.03
Jeus8 Deployment  (0) 2022.06.03
Jeus8 MS 추가  (0) 2022.06.02
Jeus8 디렉토리 구조 파악 및 Console 접속  (0) 2022.06.02
Jeus8 설치 콘솔모드 (Linux)  (0) 2022.06.02