[isalist] Re: Some tasks using scripts.

  • From: "Gerald G. Young" <g.young@xxxxxxxx>
  • To: <isalist@xxxxxxxxxxxxx>
  • Date: Fri, 13 Apr 2007 14:28:24 -0400

I'm not sure that sequence of commands would wait for nlb drain to
"finish" before nlb stop was executed; draining would start and then nlb
would be stopped.  You might be able to get away with the following
sequence, though.

 

nlb drainstop

nlb disable

 

As I understand it (without testing), drainstop can only be terminated
by explicitly executing nlb stop or nlb start.

 

The above sequence should allow the drainstop command to finish and then
disable listening, assuming NLB does start again immediately after
drainstop completes; nlb disable won't work if NLB is actually stopped.

 

Having said that, though, there is still the question as to whether or
not ISA continues to manage NLB after the commands are administratively
executed from the command line - NLB stops but since ISA didn't issue
the stop, ISA restarts NLB.

 

Cordially yours,

Jerry G. Young II

Application Engineer, Platform Engineering and Architecture

NTT America, an NTT Communications Company

 

22451 Shaw Rd.

Sterling, VA 20166

 

Office: 571-434-1319

Fax: 703-333-6749

Email: g.young@xxxxxxxx

 

From: isalist-bounce@xxxxxxxxxxxxx [mailto:isalist-bounce@xxxxxxxxxxxxx]
On Behalf Of Thor (Hammer of God)
Sent: Friday, April 13, 2007 2:11 PM
To: isalist@xxxxxxxxxxxxx
Subject: [isalist] Re: Some tasks using scripts.

 

nlb drain doesn't work?  If you want a drain and stop just do 

 

nlb drain

nlb stop

 

But don't you want it started again?  I'll drop out of this one since
Jerry is in on it...

 

t

        ----- Original Message ----- 

        From: D PIETRUSZKA USWRN INTERLINK INFRA ASST MGR
<mailto:DPietruszka@xxxxxx>  

        To: isalist@xxxxxxxxxxxxx 

        Sent: Friday, April 13, 2007 10:54 AM

        Subject: [isalist] Re: Some tasks using scripts.

         

        I executed:

         

        "wlbs drainstop"

         

        and

         

        "nlb drainstop"

         

        Both did the same thing I mentioned before.

        What I'm trying to accomplish is the same you do from the ISA
console going to monitoring/services right click over the NLB service
and select "drain and stop", but from the command prompt or using a
script.

         

        Regards

        Diego R. Pietruszka

        MSC (USA) - Interlink Transport Technologies

         

________________________________

        From: isalist-bounce@xxxxxxxxxxxxx
[mailto:isalist-bounce@xxxxxxxxxxxxx] On Behalf Of Gerald G. Young
        Sent: Friday, April 13, 2007 1:32 PM
        To: isalist@xxxxxxxxxxxxx
        Subject: [isalist] Re: Some tasks using scripts.

         

        What is the command you are attempting to execute?

         

        Cordially yours,

        Jerry G. Young II

        Application Engineer, Platform Engineering and Architecture

        NTT America, an NTT Communications Company

         

        22451 Shaw Rd.

        Sterling, VA 20166

         

        Office: 571-434-1319

        Fax: 703-333-6749

        Email: g.young@xxxxxxxx

         

        From: isalist-bounce@xxxxxxxxxxxxx
[mailto:isalist-bounce@xxxxxxxxxxxxx] On Behalf Of D PIETRUSZKA USWRN
INTERLINK INFRA ASST MGR
        Sent: Friday, April 13, 2007 1:26 PM
        To: isalist@xxxxxxxxxxxxx
        Subject: [isalist] Re: Some tasks using scripts.

         

        Yes I tried both options, but look like the NLB drain, stopped
and started automatically.

        ISA is showing that on the alerts tab, but I didn't find a way
to emulate the drain you can do from the ISA console.

         

        Regards

        Diego R. Pietruszka

        MSC (USA) - Interlink Transport Technologies

         

________________________________

        From: isalist-bounce@xxxxxxxxxxxxx
[mailto:isalist-bounce@xxxxxxxxxxxxx] On Behalf Of Gerald G. Young
        Sent: Friday, April 13, 2007 12:31 PM
        To: isalist@xxxxxxxxxxxxx
        Subject: [isalist] Re: Some tasks using scripts.

         

        NLB has both an 'nlb drainstop' and 'nlb drain' command.  Full
syntax is listed in online Help.

         

        Cordially yours,

        Jerry G. Young II

        Application Engineer, Platform Engineering and Architecture

        NTT America, an NTT Communications Company

         

        22451 Shaw Rd.

        Sterling, VA 20166

         

        Office: 571-434-1319

        Fax: 703-333-6749

        Email: g.young@xxxxxxxx

         

        From: isalist-bounce@xxxxxxxxxxxxx
[mailto:isalist-bounce@xxxxxxxxxxxxx] On Behalf Of Thor (Hammer of God)
        Sent: Friday, April 13, 2007 12:15 PM
        To: isalist@xxxxxxxxxxxxx
        Subject: [isalist] Re: Some tasks using scripts.

         

        Doesn't nlb.exe have a drain parameter?  NLB isn't my area of
expertise, but I thought you could "drain" from the command line
somehow... I bet Jim knows ;)

         

        t

                ----- Original Message ----- 

                From: D PIETRUSZKA USWRN INTERLINK INFRA ASST MGR
<mailto:DPietruszka@xxxxxx>  

                To: isalist@xxxxxxxxxxxxx 

                Sent: Friday, April 13, 2007 8:48 AM

                Subject: [isalist] Re: Some tasks using scripts.

                 

                But the thing is, I'm looking to specifically do a drain
of the service, no a stop. Is there any parameter on the net stop to do
a drain, or is there any other command to run a drain?

                 

                Regards

                Diego R. Pietruszka

                MSC (USA) - Interlink Transport Technologies

                 

________________________________

                From: isalist-bounce@xxxxxxxxxxxxx
[mailto:isalist-bounce@xxxxxxxxxxxxx] On Behalf Of Thor (Hammer of God)
                Sent: Friday, April 13, 2007 10:08 AM
                To: isalist@xxxxxxxxxxxxx
                Subject: [isalist] Re: Some tasks using scripts.

                 

                You'd have to do something like "net stop" in a script
that uses "RunAs" to escalate privileges.  You could obfuscate the
password in an encoded vscript, but they could get to it if they wanted
to badly enough. 

                 

                But, you could tell them not to do that and then audit
for logon events for the account you created to do that-- at least you
could know if it was being abused.

                 

                t

                 

                        ----- Original Message ----- 

                        From: D PIETRUSZKA USWRN INTERLINK INFRA ASST
MGR <mailto:DPietruszka@xxxxxx>  

                        To: isalist@xxxxxxxxxxxxx 

                        Sent: Friday, April 13, 2007 5:38 AM

                        Subject: [isalist] Some tasks using scripts.

                         

                        Dears, I need to give some IT guys the ability
to drain the NLB service, but I assume the only person that can do that
in ISA2004 or ISA2006 is an administrator of the array or enterprise.

                        Since I don't want to make those guys
administrators of any array, I'm wondering if there is a way to drain
the service using a script. Does anybody know a way to do it?

                         

                        Thanks

                         

                        Regards

                        Diego R. Pietruszka

                         

Other related posts: