PrepAway - Latest Free Exam Questions & Answers

You need to ensure that all new connections to App1 are directed to Server2

Your network contains two Web servers named Server1 and Server2. Both servers run Windows
Server 2012 R2.
Server1 and Seiver2 are nodes in a Network Load Balancing (NLB) cluster. The NIB cluster contains an
application named App1 that is accessed by using the URL http://app1.contoso.com.
You plan to perform maintenance on Server1.
You need to ensure that all new connections to App1 are directed to Server2. The solution must not
disconnect the existing connections to Server1.
What should you run?

PrepAway - Latest Free Exam Questions & Answers

A.
The Stop-NlbCluster cmdlet

B.
The nlb.exe stop command

C.
The Suspend-NlbCluster cmdlet

D.
The nlb.exe suspend command

Explanation:
The Stop-NlbClusterNode cmdlet stops a node in an NLB cluster. When you use the stop the nodes in
the cluster, client connections that are already in progress are interrupted. To avoid interrupting
active connections, consider using the -drain parameter, which allows the node to continue servicing
active connections but disables all new traffic to that node.

7 Comments on “You need to ensure that all new connections to App1 are directed to Server2

  1. Daniel Wu says:

    The Stop-NlbClusterNode cmdlet stops a node in an NLB cluster. When you use the stop the nodes in the cluster, client connections that are already in progress are interrupted. To avoid interrupting active connections, consider using the -drain parameter, which allows the node to continue servicing active connections but disables all new traffic to that node




    0



    0
  2. Gary Trembath says:

    Answer is D

    Guys you need to be more vigilant of the option

    Stop-NlbClusterNode -drain would be the correct powershell command! but its not an option!

    you have to select the old DOS command nlb.exe suspend
    nlb.exe suspend Cluster:Host

    stop-NLBcluster with stop the entire Cluster

    you only need to stop one clusternode and not the entire cluster, and you need to ensure that all new connections to App1 are directed to Server2

    look at the different commands
    stop-NlbClusterNode -hostname server1 -drain
    stop-NlbCluster -hostname server1 -drain

    https://technet.microsoft.com/en-us/library/cc772833(WS.10).aspx

    nlb.exe suspend clusterName:NodeName
    nlb.exe suspend app1.contoso.com:server1

    for this you need to use the old DOS command
    Answer is D




    0



    0
  3. AJ50 says:

    1- The Stop-NlbClusterNode cmdlet stops a node in an NLB cluster. When you use the stop the nodes in the cluster, client connections that are already in progress are interrupted. To avoid interrupting active connections, consider using the -drain parameter, which allows the node to continue servicing active connections but disables all new traffic to that node.

    https://technet.microsoft.com/en-us/library/ee817127.aspx

    2- nlb.exe stop command> Stops cluster operations on the specified hosts. The optional parameters allow the command to address a specific cluster, a specific cluster on a specific host, all clusters on the local computer, or all global computers that are part of the cluster.
    https://technet.microsoft.com/en-us/library/cc754596(v=ws.11).aspx

    3- nlb.exe suspend >Suspends all cluster operations until the resume command is issued. Suspend temporarily stops cluster operations if they were previously started. The purpose of this command is to override any remote control commands that might be issued. All subsequent cluster-control commands except resume and query are ignored. The optional parameters allow the command to address a specific cluster, a specific cluster on a specific host, all clusters on the local computer, or all global computers that are part of the cluster.

    https://technet.microsoft.com/en-us/library/cc754596(v=ws.11).aspx

    4- Suspend-NlbCluster >The Suspend-NlbClusterNode cmdlet suspends a specific node in a Network Load Balancing (NLB) cluster. A node in a cluster may need to be suspended to override any remote control cmdlets, or non-Windows PowerShell® operations, that are issued or for maintenance work.

    https://technet.microsoft.com/en-us/library/hh801264(v=wps.630).aspx

    Now you have all the commands you can see that given answer is right.




    1



    0

Leave a Reply