Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
clean shutdown of configserver and mongos (sharding set)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tim  
View profile  
 More options Nov 7 2012, 7:43 am
From: Tim <tim.a.zimmerm...@googlemail.com>
Date: Wed, 7 Nov 2012 04:43:28 -0800 (PST)
Local: Wed, Nov 7 2012 7:43 am
Subject: clean shutdown of configserver and mongos (sharding set)

Hi,

I have three config-server and one mongos instance.

What's the best way to do a clean shutdown (in order to restart them or
restart a other configuration).

I tried
"mongo host:port/admin" to call the mongos-shell
and used the commands

> use admin
> db.shutdownServer()

but it did not work:

uncaught exception: assert failed : unexpected error: "shutdownServer failed: unauthorized: this command must run from localhost when running db without auth"

Is there an order (1st: config server, 2nd: mongos)... do I have to delete the mongo.lock file and so on in order to clean
all the configs that are stored?

best regards


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim  
View profile  
 More options Nov 8 2012, 3:49 am
From: Tim <tim.a.zimmerm...@googlemail.com>
Date: Thu, 8 Nov 2012 00:49:07 -0800 (PST)
Local: Thurs, Nov 8 2012 3:49 am
Subject: clean shutdown of configserver and mongos (sharding set)

(Or Even to shutdown mongos )


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tetlika  
View profile  
 More options Nov 8 2012, 6:14 am
From: tetlika <tetl...@gmail.com>
Date: Thu, 8 Nov 2012 03:14:13 -0800 (PST)
Local: Thurs, Nov 8 2012 6:14 am
Subject: Re: clean shutdown of configserver and mongos (sharding set)
I beleive the best way of clean shutdown is to:

1. stop ballancing
2. shutdown mongoses services
3. shutdown config mongod services
4. shutdown shards mongod services

On 8 Лис, 10:49, Tim <tim.a.zimmerm...@googlemail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim  
View profile  
 More options Nov 8 2012, 6:42 am
From: Tim <tim.a.zimmerm...@googlemail.com>
Date: Thu, 8 Nov 2012 03:42:40 -0800 (PST)
Local: Thurs, Nov 8 2012 6:42 am
Subject: Re: clean shutdown of configserver and mongos (sharding set)

hi tetlika,

I fail to shutdown mongos ... (like descriped above) do you have an idea
how to simply shutdown mongos?
Is there a special command for that?

Am Donnerstag, 8. November 2012 12:14:26 UTC+1 schrieb tetlika:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andre de Frere  
View profile  
 More options Nov 19 2012, 11:00 pm
From: Andre de Frere <andre.defr...@10gen.com>
Date: Mon, 19 Nov 2012 20:00:45 -0800 (PST)
Local: Mon, Nov 19 2012 11:00 pm
Subject: Re: clean shutdown of configserver and mongos (sharding set)

Hi Tim,

As described in the output of the error, you cannot shutdown the process
remotely if you are not using auth.  You will need to either enable auth,
or remote into the box so that you can issue the commands from localhost.

Regards,
André


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »