|
|
|
date: Mon, 24 Mar 2008 12:42:02 -0700,
group: microsoft.public.exchange.clustering
back
Re: Cluster shutdown sequence
Hi Brian,
finally, I realized I didn't need that WMI script, since the 'cluster'
command can be executed on any domain member server (provided you run it with
the right credentials), since the cluster name and the cluster node names are
well known in all your domin.
So, I simply run this script (one line per node):
cluster /cluster:clustername group node3 /off
cluster /cluster:clustername group node2 /off
cluster /cluster:clustername group node1 /off
note that the cluster command exits when the entire group is offline (unlike
the shutdown command), so you're done. I
Best regards,
Mario
"Bri" wrote:
> Mario.. do you have this script?
>
> Brian
>
> "Mario Ferloni" wrote:
>
> > Hi,
> >
> > > The script is cool, but what I think he needs is a WMI script to check which
> > > node is Active or Passive before the shutdown? And who owns the Cluster
> > > Group.
> >
> > This script already helps me a lot and, you centered the point, what I am
> > going to do now is to write that wmi script, perhaps in vbscript. When it
> > will be ready I'll post it here for the benefit of the community.
> >
> > Thank you very much for you help! Best regards,
> > --
> > Mario Ferloni
date: Tue, 25 Mar 2008 00:00:00 -0700
author: Mario Ferloni
Re: Cluster shutdown sequence
Mario
Thanks for the info! I am a bit new to clustering. So I have to take the
cluster group offline first in Cluster Administrator? and then run the
commands below? Not sure what you meant that "the cluster commands exist with
the cluster is offline". Also ...Where i have a 4 node cluster and the 4rth
node is the passive I am guessing I need to do that 1 first?
Oh yea...What is the procedure to bring all back online?
Also is this docomented anywhere online? I have been googlin quite a bit
with not much luck... except here!
Brian
"Mario Ferloni" wrote:
> Hi Brian,
>
> finally, I realized I didn't need that WMI script, since the 'cluster'
> command can be executed on any domain member server (provided you run it with
> the right credentials), since the cluster name and the cluster node names are
> well known in all your domin.
> So, I simply run this script (one line per node):
>
> cluster /cluster:clustername group node3 /off
> cluster /cluster:clustername group node2 /off
> cluster /cluster:clustername group node1 /off
>
> note that the cluster command exits when the entire group is offline (unlike
> the shutdown command), so you're done. I
>
> Best regards,
> Mario
>
> "Bri" wrote:
>
> > Mario.. do you have this script?
> >
> > Brian
> >
> > "Mario Ferloni" wrote:
> >
> > > Hi,
> > >
> > > > The script is cool, but what I think he needs is a WMI script to check which
> > > > node is Active or Passive before the shutdown? And who owns the Cluster
> > > > Group.
> > >
> > > This script already helps me a lot and, you centered the point, what I am
> > > going to do now is to write that wmi script, perhaps in vbscript. When it
> > > will be ready I'll post it here for the benefit of the community.
> > >
> > > Thank you very much for you help! Best regards,
> > > --
> > > Mario Ferloni
date: Tue, 25 Mar 2008 09:40:02 -0700
author: Bri
Re: Cluster shutdown sequence
Brian,
"Bri" wrote:
[...]
> So I have to take the
> cluster group offline first in Cluster Administrator? and then run the
> commands below?
no. Those commands are the scripted version of the action you take in
cluster administrator to take cluster groups offline. They are simply the
same thing.
> Not sure what you meant that "the cluster commands exist with
> the cluster is offline".
it's a typo... exist = exits
> Also ...Where i have a 4 node cluster and the 4rth
> node is the passive I am guessing I need to do that 1 first?
no, the fourth is already offline. You don't need to take it off.
And, remember: after you take the three nodes offline you have to shutdown
the four servers by means of the shutdown command.
to be honest, and to cleanly shutdown all, you should also stop the cluster
service on the four server (since you can't take offline the cluster group),
then proceed to shutdown.
> Oh yea...What is the procedure to bring all back online?
ah, yes: when you'll bring the servers up, the cluster service will start
automatically, but it will not take the cluster groups online, because they
werent' online at shutdown. So, you'll have to take them online using the GUI
or using the same script, but with the /on switch:
cluster /cluster:clustername group node3 /on
cluster /cluster:clustername group node2 /on
cluster /cluster:clustername group node1 /on
where clustername is the NETBIOS name of the cluster and nodex is the group
name.
> Also is this docomented anywhere online? I have been googlin quite a bit
> with not much luck... except here!
don't know. Probably it is documented somewhere, but I don't really know,
except, of course, for the cluster command documentation.
>
> Brian
>
Best regards,
--
Mario Ferloni
date: Tue, 25 Mar 2008 11:45:02 -0700
author: Mario Ferloni
Re: Cluster shutdown sequence
Oh ok.. so simply put i can go into cluster admin, right click on each node
(probably the passive first?) and take each off line? Then just reverse it
when I want to bring it back?
Brian
"Mario Ferloni" wrote:
> Brian,
>
> "Bri" wrote:
> [...]
> > So I have to take the
> > cluster group offline first in Cluster Administrator? and then run the
> > commands below?
>
> no. Those commands are the scripted version of the action you take in
> cluster administrator to take cluster groups offline. They are simply the
> same thing.
>
> > Not sure what you meant that "the cluster commands exist with
> > the cluster is offline".
>
> it's a typo... exist = exits
>
> > Also ...Where i have a 4 node cluster and the 4rth
> > node is the passive I am guessing I need to do that 1 first?
>
> no, the fourth is already offline. You don't need to take it off.
>
> And, remember: after you take the three nodes offline you have to shutdown
> the four servers by means of the shutdown command.
>
> to be honest, and to cleanly shutdown all, you should also stop the cluster
> service on the four server (since you can't take offline the cluster group),
> then proceed to shutdown.
>
> > Oh yea...What is the procedure to bring all back online?
>
> ah, yes: when you'll bring the servers up, the cluster service will start
> automatically, but it will not take the cluster groups online, because they
> werent' online at shutdown. So, you'll have to take them online using the GUI
> or using the same script, but with the /on switch:
>
> cluster /cluster:clustername group node3 /on
> cluster /cluster:clustername group node2 /on
> cluster /cluster:clustername group node1 /on
>
> where clustername is the NETBIOS name of the cluster and nodex is the group
> name.
>
> > Also is this docomented anywhere online? I have been googlin quite a bit
> > with not much luck... except here!
>
> don't know. Probably it is documented somewhere, but I don't really know,
> except, of course, for the cluster command documentation.
> >
> > Brian
> >
> Best regards,
> --
> Mario Ferloni
date: Tue, 25 Mar 2008 11:53:01 -0700
author: Bri
Re: Cluster shutdown sequence
Thanks Mario! Disregard my last posting ... i guess i spotted something shiny
on the floor and failed to read your whole posting!
Brian
"Mario Ferloni" wrote:
> Brian,
>
> "Bri" wrote:
> [...]
> > So I have to take the
> > cluster group offline first in Cluster Administrator? and then run the
> > commands below?
>
> no. Those commands are the scripted version of the action you take in
> cluster administrator to take cluster groups offline. They are simply the
> same thing.
>
> > Not sure what you meant that "the cluster commands exist with
> > the cluster is offline".
>
> it's a typo... exist = exits
>
> > Also ...Where i have a 4 node cluster and the 4rth
> > node is the passive I am guessing I need to do that 1 first?
>
> no, the fourth is already offline. You don't need to take it off.
>
> And, remember: after you take the three nodes offline you have to shutdown
> the four servers by means of the shutdown command.
>
> to be honest, and to cleanly shutdown all, you should also stop the cluster
> service on the four server (since you can't take offline the cluster group),
> then proceed to shutdown.
>
> > Oh yea...What is the procedure to bring all back online?
>
> ah, yes: when you'll bring the servers up, the cluster service will start
> automatically, but it will not take the cluster groups online, because they
> werent' online at shutdown. So, you'll have to take them online using the GUI
> or using the same script, but with the /on switch:
>
> cluster /cluster:clustername group node3 /on
> cluster /cluster:clustername group node2 /on
> cluster /cluster:clustername group node1 /on
>
> where clustername is the NETBIOS name of the cluster and nodex is the group
> name.
>
> > Also is this docomented anywhere online? I have been googlin quite a bit
> > with not much luck... except here!
>
> don't know. Probably it is documented somewhere, but I don't really know,
> except, of course, for the cluster command documentation.
> >
> > Brian
> >
> Best regards,
> --
> Mario Ferloni
date: Tue, 25 Mar 2008 13:45:01 -0700
author: Bri
|
|