Help me in automating the recycling of UNIX server


 
Thread Tools Search this Thread
Top Forums Web Development Help me in automating the recycling of UNIX server
# 1  
Old 11-25-2012
Help me in automating the recycling of UNIX server

Hello everyone...I am very new to UNIX hence needs your help in below.

i have written a script to change some configuration in property files and its working fine.but to reflect that change at the application i want to recycle WAS and ihs.i.e. run below start and stop commands at /usr/local/bin
./stop_was6 once it gets over ./start_was6 similarly ./stop_was6 followed by start_ihs

COuld you please help me in automating this.

Moderator's Comments:
Mod Comment edit by bakunin: please make sure you post to the correct forum next time. Further, please document more clearly your environment. From what you write i suppose you have a "WebSphere Application Server", which is middleware from IBM, but I am not at all sure about that. You might want to clarify.

Transferring the thread to Web Development Forum


---------- Post updated at 08:07 AM ---------- Previous update was at 07:42 AM ----------

I am working in unix environment and sorry as i am not getting option for changing the forum and my goal is write a shell script to recycle the server.as i already have other script for some task in shell and wants to append this shell script with the previous one.

Last edited by bakunin; 11-25-2012 at 09:02 AM..
# 2  
Old 11-25-2012
Please post the output of:
Code:
uname -a

# 3  
Old 11-26-2012
Linux svm0922pdv 2.6.18-274.17.1.e15 #1 SMP Wed Jan 4 22:45:44 ESt 2012 x86_64 x86_64 x86_64 GNU/Linux
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Automating UNIX/Solaris password resets

Hi, we are running solaris 5.10 and looking for solutions to automate password resets? Plz assist. Thanks, Sridhar (6 Replies)
Discussion started by: chvgms
6 Replies

2. Windows & DOS: Issues & Discussions

Need help with automating a python script on a Windows server

Experience level with scripting (1-10 scale): 1-2....still learning!!! I've got a python script that calls on an API to gather information from a ticketing system. This script is used to track time worked on tickets. My boss is wanting that script to be run once a week. The script runs... (1 Reply)
Discussion started by: tuscanitunr
1 Replies

3. Shell Programming and Scripting

Automating file transfer between two SSH enabled server.

Hi Experts, Few more words to the title, both the servers are ssh enabled but I have read only access to the second server, so I cannot automate SFTP process using RSA/DSA keys. I am using Control M to trigger the script and do not want any manual intervention to enter the password to complete... (4 Replies)
Discussion started by: nchourasiya
4 Replies

4. AIX

AIX PID Recycling

Had a bizzare problem last night with one of our tools running on an AIX server that has not come up before. The tool has been in use for over a year without this problem showing up.The tool basically does this: -Kick off a background task and record the PIDGo and do a bunch of other taskswait for... (4 Replies)
Discussion started by: steadyonabix
4 Replies

5. UNIX for Advanced & Expert Users

Module for log recycling

hi......... can anyone suggest me how n where can i find the module used for recycling logs in Unix(some .so file is used i suppose).till date i have done it with scripting but maintaining the script is becoming difficult. many2 thanx in advance -manuj (2 Replies)
Discussion started by: manuj upadhyay
2 Replies

6. Shell Programming and Scripting

Shell Scripts for automating server inventory for unix servers

Dear Team, I am very new to shell scripting & and presently monitoring unix boxes I am looking for a shell script which will give me the below output script should contain - hostname,OS Version,CPU details, Physical Memory, Partitions Details, Network Details and Software Installed,... (5 Replies)
Discussion started by: whizkidash
5 Replies

7. UNIX for Dummies Questions & Answers

Automating UNIX backups?

Hi all, I'm quite limited in UNIX unfortunately for me, and need to find a solution to something thats giving me headaches every morning. We need to make daily backups of a server we have in the office every morning, as well as then FTPing the created backup files over to a specific FTP address... (3 Replies)
Discussion started by: de049
3 Replies

8. Shell Programming and Scripting

Automating Database scripts in UNIX

Hi everybody, can someone please suggest me how to implement the running of SQL table scripts(.sql) at a specific time automatically in UNIX ?Thanks (2 Replies)
Discussion started by: konquistador
2 Replies

9. UNIX for Dummies Questions & Answers

Automating Database scripts in UNIX

Hi everybody, can someone please suggest me how to implement the running of SQL table scripts(.sql) at a specific time automatically in UNIX ?Thanks (0 Replies)
Discussion started by: konquistador
0 Replies

10. HP-UX

Automating Database scripts in UNIX

Hi everybody, can someone please suggest me how to implement the running of SQL table scripts(.sql) at a specific time automatically in UNIX ?Thanks (0 Replies)
Discussion started by: konquistador
0 Replies
Login or Register to Ask a Question