NetAdminTools.com
 
SignalQ Sites:
L1G3R Information Systems - Coprolite - SpotBridge - NAW
RoboCoop - AreWeDown - SolarPower - SysAdminTools
Xfig - Gold Loaf - GeekPapa - FixGMC - FixRambler
Solar Energy - Energy Efficiency - Solar Panels
Home Energy Savings
Categories:
GNU/Linux | Homebrew designs | Perl | Ruby | Administration | Backup/Recovery | Bugs/Fixes | Certification | Database | Email | File/Print | Hardware | Information Grab Bag | Interoperability | GNU/Linux ABCs | Monitoring | Name Resolution | Network Services | Networking | Remote Control | Security | Desktop | Web | BSD | Solaris | GIAGD | ERP | REALbasic

Last 30 Days | Last 60 Days | Last 90 Days | All Articles | RSS


Categories:
·GNU/Linux
·Homebrew designs
·Perl
·Ruby
·Administration
·Backup/Recovery
·Bugs/Fixes
·Certification
·Database
·Email
·File/Print
·Hardware
·Information Grab Bag
·Interoperability
·GNU/Linux ABCs
·Monitoring
·Name Resolution
·Network Services
·Networking
·Remote Control
·Security
·Desktop
·Web
·BSD
·Solaris
·GIAGD
·ERP
·REALbasic
·All Categories


Using the WLBS CLI tool to Control Network Load Balancing on Windows 2000 Advanced Server
Topic:Networking   Date: 2003-05-09
Printer Friendly: Print   

spacerspacer
<<  <   >  >>

Subject

In order to use the WLBS CLI, you need to enable remote control:



The WLBS CLI lives as wlbs.exe in system32.

Query the cluster:

C:\>wlbs query 10.50.100.10 /passw
WLBS Cluster Control Utility V2.3. (c) 1997-99 Microsoft Corporation
Password:
Accessing cluster '10.50.100.10' (10.50.100.40):
Host 7 (10.50.100.17) reported: converged
Host 1 (10.50.100.11) reported: converged as DEFAULT
Host 3 (10.50.100.13) reported: converged
Host 6 (10.50.100.16) reported: converged
Host 4 (10.50.100.14) reported: converged
Host 5 (10.50.100.15) reported: converged
Host 2 (10.50.100.12) reported: converged
C:\>

Stop host .16:

C:\>wlbs stop 10.50.100.10:10.50.100.16 /passw
WLBS Cluster Control Utility V2.3. (c) 1997-99 Microsoft Corporation
Password:
Accessing cluster '10.50.100.10' (10.50.100.40):
Host 6 (10.50.100.16) reported:
Cluster operations stopped.
C:\>
C:\>wlbs query 10.50.100.10 /passw
WLBS Cluster Control Utility V2.3. (c) 1997-99 Microsoft Corporation
Password:
Accessing cluster '10.50.100.10' (10.50.100.40):
Host 6 (10.50.100.16) reported: stopped
Host 2 (10.50.100.12) reported: converged
Host 4 (10.50.100.14) reported: converged
Host 1 (10.50.100.11) reported: converged as DEFAULT
Host 7 (10.50.100.17) reported: converged
Host 3 (10.50.100.13) reported: converged
Host 5 (10.50.100.15) reported: converged
C:\>

One really cool option is drainstop. This option will disable new connections to the host. If you need to schedule maintenance, use drainstop on that host, and when users log off, they won't be able to get back on, yet it won't interrupt the existing connections.

 
C:\>wlbs drainstop 10.50.100.10:10.50.100.15 /passw
WLBS Cluster Control Utility V2.3. (c) 1997-99 Microsoft Corporation
Password:
Accessing cluster '10.50.100.10' (10.50.100.40):
Host 5 (10.50.100.15) reported:
Connection draining started.
C:\>
C:\>wlbs query 10.50.100.10 /passw
WLBS Cluster Control Utility V2.3. (c) 1997-99 Microsoft Corporation
Password:
Accessing cluster '10.50.100.10' (10.50.100.40):
Host 5 (10.50.100.15) reported: draining
Host 6 (10.50.100.16) reported: stopped
Host 3 (10.50.100.13) reported: converged
Host 1 (10.50.100.11) reported: converged as DEFAULT
Host 4 (10.50.100.14) reported: converged
Host 7 (10.50.100.17) reported: converged
Host 2 (10.50.100.12) reported: converged
C:\>

Stop the host from being part of the cluster with the stop option:

C:\>wlbs stop 10.50.100.10:10.50.100.11 /passw
WLBS Cluster Control Utility V2.3. (c) 1997-99 Microsoft Corporation
Password:
Accessing cluster '10.50.100.10' (10.50.100.40):
Host 1 (10.50.100.11) reported:
Cluster operations stopped.
C:\>
C:\>wlbs query 10.50.100.10 /passw
WLBS Cluster Control Utility V2.3. (c) 1997-99 Microsoft Corporation
Password:
Accessing cluster '10.50.100.10' (10.50.100.40):
Host 3 (10.50.100.13) reported: stopped
Host 1 (10.50.100.11) reported: stopped
Host 6 (10.50.100.16) reported: stopped
Host 2 (10.50.100.12) reported: draining
Host 5 (10.50.100.15) reported: stopped
Host 4 (10.50.100.14) reported: converged as DEFAULT
Host 7 (10.50.100.17) reported: stopped

Start the host with, well... drumroll... start:

C:\>wlbs start 10.50.100.10:10.50.100.12 /passw
WLBS Cluster Control Utility V2.3. (c) 1997-99 Microsoft Corporation
Password:
Accessing cluster '10.50.100.10' (10.50.100.40):
Host 2 (10.50.100.12) reported:
Connection draining suspended.
Cluster operations started.
C:\>
C:\>wlbs query 10.50.100.10 /passw
WLBS Cluster Control Utility V2.3. (c) 1997-99 Microsoft Corporation
Password:
Accessing cluster '10.50.100.10' (10.50.100.40):
Host 5 (10.50.100.15) reported: converged
Host 1 (10.50.100.11) reported: converged as DEFAULT
Host 3 (10.50.100.13) reported: converged
Host 6 (10.50.100.16) reported: converged
Host 2 (10.50.100.12) reported: converged
Host 7 (10.50.100.17) reported: converged
Host 4 (10.50.100.14) reported: converged
C:\>

For other options, use wlbs /help | more.


People:
Places:
Things:
Times:





Please read our Terms of Use and our Privacy Policy
Microsoft, Windows, Windows XP, Windows 2003, Windows 2000, and NT are either trademarks or registered trademarks of Microsoft Corporation. NetAdminTools.com is not affiliated with Microsoft Corporation. Linux is a registered trademark of Linus Torvalds, and refers to the Linux kernel. The operating system of most distributions that contain the Linux kernel is GNU/Linux. All logos and trademarks in this site are property of their respective owner. Copyright 1997-2011 NetAdminTools.com