Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

How to stop the gs-agent thru command line

I have started my gs-agent using the below command line:

nohup ./gs-agent.sh > /dev/null 2>&1 &

How to stop the gs-agent thru command line (currently i am killing the process)

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=4052]{quote}

asked 2013-03-22 00:47:45 -0500

get4gopim gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

Not a clean option but gets the job done.

If you have up to 8 GSAs in your environment, create a "inputs.txt" file using below

echo 1,2,3,4,5,6,7,8 > inputs.txt

Run following to shutdown all agents in your environments.

./gs.sh gsa shutdown < inputs.txt

HTH
SKP

answered 2013-03-28 10:23:43 -0500

seankumar gravatar image
edit flag offensive delete link more
0

gs.sh gsa shutdown

answered 2013-03-22 05:15:20 -0500

rdavidovich gravatar image
edit flag offensive delete link more

Comments

If I run gs.sh gsa shutdown

it is asking to enter the below value:

Enter a comma-separated list to gsa shutdown or "c" to cancel :

but I have started the gsa thru gs-agent.sh command. I need only one command to shutdown all the gsc gsa gsm lus services. Is there anything similar to do that ?

get4gopim gravatar imageget4gopim ( 2013-03-27 12:10:53 -0500 )edit

curretnly I am killing the process :

kill -9 12308

but this is not the good way... I want to stop all the gsa,gsc,lus,gsm services in one comand or i will write some scripts to stop that ?

any one help on this ?

get4gopim gravatar imageget4gopim ( 2013-03-28 05:42:05 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-03-22 00:47:45 -0500

Seen: 366 times

Last updated: Mar 22 '13