17 September, 2015

MWA services bounce

How to Bounce MWA Services

Step 1: Connect as applmgr

Step 2: Check MWA services are running or not (ps -fu | grep mwa)

Step 3: Goto cd $INST_TOP/admin/scripts

Step 4: mwactlwrpr.sh stop apps/xxxx
(it may not stop all services, we can stop one by one like below)

Enter the following text where xxx is application user id with system administrator responsibility or a valid database user and yyy is the application user password.

mwactl.sh-login xxx/yyy stop [port number]

Ex: mwactl.sh -login apps/xxxx stop 10204

Port number: 10200
Port number: 10202
Port number: 10204
Port number: 10800(dispatcher)

Step 5: if if port number is using some other process , we need to check which process id is using that port number

 netstat -nlpt

 netstat -a | grep 10800


we need to check our port number at right side we will find the processes id like below

tcp        0      0 0.0.0.0:10800               0.0.0.0:*                   LISTEN      18688/MWADIS

=>we need to check that process

ps -ef | grep 18688

=> we need to kill that process

kill -9 18688


Now we can start the dispatcher with

mwactl.sh start 10800      


Shutting Down the MWA Telnet Server
==================================
Connect as applmgr

==>To shutdown the MWA telnet server complete the following procedure (at a UNIX/LINUX prompt):

Enter the following text:

 cd $INST_TOP/admin/scripts


mwactlwrpr.sh stop apps/xxxxx
(it may not stop all services, we can stop one by one like below)


==>Enter the following text where xxx is application user id with system administrator responsibility or a valid database user and yyy is the application user password.

mwactl.sh-login xxx/yyy stop [port number]

Ex: mwactl.sh -login apps/xxxxx stop 10204


Step 6: if port number is using some other process , we need to check which process id is using that port number

Starting the MWA Telnet Server:
=================================


To start the MWA telnet server complete the following procedure (at a UNIX/LINUX prompt):

Source the APPLSYS.env

Enter the following text:

  cd $INST_TOP/admin/scripts


mwactlwrpr.sh start apps/xxxxx
(it may not start all services, we can stop one by one like below)


Enter the following text:

  mwactl.sh start [port number]


Shutting Down the MWA Servers and Dispatcher:
==============================================

Enter the following text:

 cd $INST_TOP/admin/scripts

Enter the following text where xxx is application user id with system administrator responsibility or a valid database user, yyy is the application user password, and 2310 is the port number of the first server.

 mwactl.sh-login xxx/yyy stop 2310

Enter the following text where xxx is application user id with system administrator responsibility, yyy is the application user password, and 2320 is the port number of the second server.

mwactl.sh-login xxx/yyy stop 2320

Enter the following text:

 mwactl.sh stop_dispatcher.








Starting the MWA Servers and Dispatcher
=======================================

Source the APPLYSYS.env.

Enter the following text:

cd $INST_TOP/admin/scripts

Enter the following text to start the server:

 mwactl.sh start 2310 (or any port number)

Enter the following text to start the server:

mwactl.sh start 2320 (or any other port number).

Enter the following text to start the dispatcher:

 mwactl.sh start_dispatcher





No comments:

Post a Comment

OEM Agent Installation

./agentDeploy.sh AGENT_BASE_DIR=/u001/oracle/product/agent13c OMS_HOST=oem-dev.xxx.com EM_UPLOAD_PORT=1159 AGENT_REGISTRATION_PASSWORD=*****...