R12.2 Apps DBA. Powered by Blogger.

MWA Services Start and Stop

No comments :
Login as applmgr user :
Go to $ADMIN_SCRIPTS_HOME
Stop Mobile Application Services :
mwactl.sh -login apps/apps_password stop_force
mwactlwrpr.sh stop apps/apps_password
Start Mobile Application Services :
mwactl.sh -login apps/apps_password start
mwactlwrpr.sh start apps/apps_password
Check Mobile Services are up and Runing:
ps -ef | grep mwa
Find port Number of Mobile Services :
grep mwa $CONTEXT_FILE
Connect to Mobile Services :
telnet hostname.domainname portnumber(mobile application service port_number)
++++++++++++++++++++++++++++++++++++
Hot to configure Mobile applications on EBS – 11i
++++++++++++++++++++++++++++++++++++
1. Stop the current servers.
a. $ cd $MWA_TOP/bin
b. $ nohup mwactl.sh -login SYSADMIN/sysadmin1 stop 10260
    $ netstat -na  | grep 10260
c. $ ./mwactl.sh stop_dispatcher
2. Verify that MWA servers are stopped.
a. $ ps -ef | grep mwa
b. No processes should be found.
3. Locate the mwa.cfg file in the $MWA_TOP/secure directory.
4. Edit the mwa.cfg file and configure following parameters
a. Set mwa.DbcFolder=full directory of folder containing the .dbc file ending with “/”:
mwa.DbcFolder=/d01/oracle/SVRSUPTappl/fnd/11.5.0/secure/SVRSUPT_svrsuptsql1
b. Set mwa.DbcFile=dbc file name with extension:
mwa.DbcFile=SVRSUPT
c. Set mwa.logdir=full directory of log file without the trailing “/”:
mwa.logdir=/d01/oracle/SVRSUPTcomn/admin/log/SVRSUPT_svrsuptsql1
d. Set mwa.LogLevel=error or trace:
mwa.LogLevel=error
e. Set mwa.TelnetPortNumber=port number
mwa.TelnetPortNumber=10240
f. Set mwa.DropConnectionTimeout= no. of minutes:
mwa.DropConnectionTimeout=5
g. Set mwa.StaleSessionTimeout= no. of minutes:
mwa.StaleSessionTimeout=60
h. Specify the port number and machine for running the dispatcher:
mwa.Dispatcher=svrsuptsql1.d-rco.com:10328
i. Specify the server manager telnet server information
mwa.TelnetServer=svrsuptsql1.d-rco.com:10260;10262
5. Start the MWA telnet servers
a. $ cd $MWA_TOP/bin
b. $ nohup ./mwactl.sh start 10260 &
6. Start the dispatcher
a. $ nohup ./mwactl.sh start_dispatcher &
++++++++++++++++++++++++++++++++
how to check it is working or not:
Start  à  Run à cmd à telnet hostame:portnumber  ß press enter  , it will show 4 options select , appropriate option & give username & password.
++++++++++++++++++++++++++++++++
Another way we need to start up MWA ..
$MWA_TOP/bin/mwactl.sh -login sysadmin/<passwd> start <port no>
$MWA_TOP/bin/mwactl.sh -login  sysadmin/<passwd>  stop  <port no>
netstat -a|grep <port no>
========================================
By default these scripts were not included in adstpall.sh and adstrtal.sh scripts. To add them enable
1. s_other_service_group_status
2. s_mwastatus
in context file and run autoconfig.
If you want to check port number for mwa. Look at following paramters in context file:
1. s_mwaPortNo.
2. s_mwaTelnetPortNo.
===================================
Find port Number of Mobile Services :
grep mwa $CONTEXT_FILE
Connect to Mobile Services :
telnet hostname.domainname portnumber(mobile application service port_number)

No comments :

Post a Comment

Note: only a member of this blog may post a comment.