Is it mandatory or not to stop/start Applcation server ehen Restarting Database Server?

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Is it mandatory or not to stop/start Applcation server ehen Restarting Database Server?
# 1  
Old 03-10-2018
Is it mandatory or not to stop/start Applcation server ehen Restarting Database Server?

Good afternoon

I need your help please.
There is a Mantenance Windos which needs to Restart de Database Server 192.x.x.97 to set up some configuration

Is it mandatory or not to stop/start Applcation server that runs in 192.x.x.95 ?
Is it mandatory or not to stop/start apache and Tomcat?
I see some processes running on this server?

I appreciate your help in advanced

Code:
$ ps -fea|grep -i tomcat
ictprd   16669     1  0 Jan24 ?        02:09:13 /usr/java/jdk1.8.0_45/jre/bin/java -Djava.util.logging.config.file=/ict/product/ict/apache-tomcat-8.0.32/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Doracle.net.tns_admin=/oracle/app/oracle/product/12.1.0/client_1/network/admin -Djava.awt.headless=true -Xms1024m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=1024m -Djava.endorsed.dirs=/ict/product/ict/apache-tomcat-8.0.32/endorsed -classpath /ict/product/ict/apache-tomcat-8.0.32/bin/bootstrap.jar:/ict/product/ict/apache-tomcat-8.0.32/bin/tomcat-juli.jar -Dcatalina.base=/ict/product/ict/apache-tomcat-8.0.32 -Dcatalina.home=/ict/product/ict/apache-tomcat-8.0.32 -Djava.io.tmpdir=/ict/product/ict/apache-tomcat-8.0.32/temp org.apache.catalina.startup.Bootstrap start
ictprd   62781 33636  0 13:12 pts/9    00:00:00 grep -i tomcat

ictprd@prdwbmsapp01<PRD> : [/obc/product/obc/DEV/logs]
$ ps -fea|grep -i apache
ictprd   16669     1  0 Jan24 ?        02:09:13 /usr/java/jdk1.8.0_45/jre/bin/java -Djava.util.logging.config.file=/ict/product/ict/apache-tomcat-8.0.32/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Doracle.net.tns_admin=/oracle/app/oracle/product/12.1.0/client_1/network/admin -Djava.awt.headless=true -Xms1024m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=1024m -Djava.endorsed.dirs=/ict/product/ict/apache-tomcat-8.0.32/endorsed -classpath /ict/product/ict/apache-tomcat-8.0.32/bin/bootstrap.jar:/ict/product/ict/apache-tomcat-8.0.32/bin/tomcat-juli.jar -Dcatalina.base=/ict/product/ict/apache-tomcat-8.0.32 -Dcatalina.home=/ict/product/ict/apache-tomcat-8.0.32 -Djava.io.tmpdir=/ict/product/ict/apache-tomcat-8.0.32/temp org.apache.catalina.startup.Bootstrap start
ictprd   19828     1  0 Jan24 ?        02:46:18 java -Dename=PRD -Dpname=ictbootstrapper -Doracle.net.tns_admin=/oracle/app/oracle/product/12.1.0/client_1/network/admin -Demma.coverage.out.file=ictserver.coverage.ec -Xmx800m -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton -cp .:/ict/product/ict/PRD/cfg:/ict/product/ict/PRD/lib/activation.jar:/ict/product/ict/PRD/lib/aopalliance.jar:/ict/product/ict/PRD/lib/api.jar:/ict/product/ict/PRD/lib/asm.jar:/ict/product/ict/PRD/lib/bcpkix-jdk15on.jar:/ict/product/ict/PRD/lib/bcprov-jdk15on.jar:/ict/product/ict/PRD/lib/capi_idl.jar:/ict/product/ict/PRD/lib/capi_server.jar:/ict/product/ict/PRD/lib/centralclient.jar:/ict/product/ict/PRD/lib/centralserver.jar:/ict/product/ict/PRD/lib/cglib.jar:/ict/product/ict/PRD/lib/common.jar:/ict/product/ict/PRD/lib/commons-beanutils-core.jar:/ict/product/ict/PRD/lib/commons-cli.jar:/ict/product/ict/PRD/lib/commons-codec.jar:/ict/product/ict/PRD/lib/commons-dbcp.jar:/ict/product/ict/PRD/lib/commons-digester.jar:/ict/product/ict/PRD/lib/commons-httpclient.jar:/ict/product/ict/PRD/lib/commons-io.jar:/ict/product/ict/PRD/lib/commons-lang.jar:/ict/product/ict/PRD/lib/commons-logging.jar:/ict/product/ict/PRD/lib/commons-pool.jar:/ict/product/ict/PRD/lib/com.springsource.javax.jms.jar:/ict/product/ict/PRD/lib/com.springsource.org.apache.commons.codec.jar:/ict/product/ict/PRD/lib/com.sun.el.jar:/ict/product/ict/PRD/lib/crypto.jar:/ict/product/ict/PRD/lib/FastInfoset.jar:/ict/product/ict/PRD/lib/gson.jar:/ict/product/ict/PRD/lib/guava.jar:/ict/product/ict/PRD/lib/help_2057_central.jar:/ict/product/ict/PRD/lib

# 2  
Old 03-10-2018
Yes, in general you must shutdown the application service (tomcat) first, so it can flush data to the DB.
Then shutdown or restart the DB server.
# 3  
Old 03-10-2018
Wouldn't a "service stop routine" be part of the host shutdown sequence?

Last edited by RudiC; 03-11-2018 at 07:22 AM..
# 4  
Old 03-10-2018
Yes there are three separated shells scripts one to stop/starrt APP. 2nd shell to start/stop apache and 3rd shell to start/stop web logic

What happens if I deliberately start/stop APplication but not Apache and WebLogic?
There woul be any problem?

Thanks for your support in advanced
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell script to stop and start server

Hi, I need to create a shell script for automated server patching, with the following scenario: I have two Linux servers Primary and secondary. Server patching should start on Primary 1st and then secondary. 1st check both servers are up and running. Then stop primary and patching will... (1 Reply)
Discussion started by: rcroyal88
1 Replies

2. Solaris

restarting sysedge on a solaris server

If I want to restart sysedge on a solaris box and it does not want to come up. It gets stucked. How can I check where the sysedge pid file so I can delete it and try to start sysedge again? What can cause sysedge to not come up? Thanks, (0 Replies)
Discussion started by: Pouchie1
0 Replies

3. UNIX for Advanced & Expert Users

mandatory & record locking using client server architecture

Hi I want a program of employee database locking with mendatory & record locking using client server architecture .there are two type of clients one which has all permissions of read/write called supervisor & another can only read the file.employee data base should contain 1) name 2)ID 3)BU... (1 Reply)
Discussion started by: rluha
1 Replies

4. UNIX for Dummies Questions & Answers

Help with restarting SUN m4000 server

I'm trying to power on our SUN m4000 server after a recent shutdown. When I try to connect to the xscf console I'm getting prompted for a password. The system is not asking for a login just a password. Below is the output from the xscf console. Anyone know how I can safely get back to the... (0 Replies)
Discussion started by: orahi001
0 Replies

5. Solaris

To Shut down the server. Do the Maintainance and Start Up the server

Hello All I just want to know how to Shut Down the Solaris Machines( Servers ) for Maintainance and then Start Up the Machines ( Servers ) . I think I will have to Log In as root to do that . Also how do i Check if all the services running on that server before shut down are running... (6 Replies)
Discussion started by: supercops
6 Replies

6. Solaris

server restarting

Hello people, My solaris server is rebooting, not sure how!!! Which log should I look in to? I checked /var/adm/messages and dmesg also. How do I check older dmesg logs? I checked lastlog and also ran the last command. Nothing useful pointing to why server rebooted. Also when server reboots I... (4 Replies)
Discussion started by: rcmrulzz
4 Replies

7. Solaris

How to start/stop cron jobs on live server

Hi, I am working with a company where some times i need to start/stop cron jobs on need basis. I have one option to kill cron daemon.Is it right? Please correct me. Waiting for your reply. Thanks in advance.. (2 Replies)
Discussion started by: varaprasadu
2 Replies

8. Solaris

cannot telnet after restarting server

Dear guys, Pls help me this case. I telnet normally to Solaris. After restarting it manually, I can only console, cannot telnet from my latop although I can ping it. I checked /etc/default/login /usr/sbin/in.telnetd /etc/inet/inetd.conf All these files are the same. I don't see telnet... (2 Replies)
Discussion started by: wipi
2 Replies

9. Solaris

Help: how to start/stop FTP server in solaris?

As the title. Thanks (1 Reply)
Discussion started by: eddsos
1 Replies

10. Solaris

How to change Timezone without restarting teh server

Hi I have changed my timezone using the command export TZ='Asia/Calcutta" but teh affect is taking place only in teh shell where I am logged in. If I export teh variable when I open the new session, things are fine. Can I affetct the change universally, without restarting the server. ... (2 Replies)
Discussion started by: krishan
2 Replies
Login or Register to Ask a Question