banner



How To Configure Windows Cluster 2012

Microsoft Failover Cluster Managing director (MSFCM) on Windows server 2012/2016

Since Microsoft Windows 2012, Microsoft accept reconfigured the way in which you tin can manage High Availability with print services. They introduced the ability to utilise Hyper-V and failover clusteringClustering allows your organisation to ensure your services are not affected if anything should happen to your main server. PaperCut is a cluster compatible awarding and is supported under Windows (Microsoft Cluster Server / MSCS, Microsoft Failover Cluster Manager / MSFCM, Vetitas Cluster Server / VCS) and Linux (Novell Cluster Services / NCS, Linux-HA) at all levels of the application, including: clustering at the print spooler service layer by integrating with clustering services, failover based clustering at the Application Server layer using clustering services, and at the database layer past utilising cluster aware databases such as Microsoft SQL Server, PostgreSQL, or Oracle. to make your impress serverA print server is a system responsible for hosting print queues and sharing printer resources to desktops. Users submit print jobs to a print server rather then direct to the printer itself. A impress server can be a dedicated server just on many networks this server also performs other tasks, such equally file serving a highly available virtual machine. This solution provides total server failover options and can be implemented with the PaperCut NG/MF Application ServerAn Awarding Server is the main server program responsible for providing the PaperCut user interface, storing data, and providing services to users. PaperCut uses the Awarding Server to manage user and business relationship information, manage printers, calculate impress costs, provide a web browser interface to administrators and end users, and much more than. , Secondary Server, and/or Site ServerSite Servers accept over the role of a Primary Application Server in the event of network outages. Central roles taken over include authentication, copy and print tracking and Find-Me printing. Site Servers ensure continuous availability of printing resources to support key business organisation functions over unreliable network links or during unplanned network disruptions. .

In that location are several steps involved in the setup of this failover solution:

  • Before you Brainstorm

  • Footstep one: Configure roles / features on nodes for high availability

  • Step 2: Connecting to iSCI network drives

  • Footstep 3: Create the failover cluster

  • Pace 4: Create a high availability virtual machine

  • Step 5: Prepare upward your print server

Before y'all Begin

Systems Requirements:

  • 2+ concrete servers

  • MS Server 2012/2016 with Hyper-V capabilities

  • iSCI SAN with 2 drives configured

  • Bulldoze 1: 5GB (to exist used for the Quorum if using only ii nodes)

  • Drive 2: VM server storage

You will also require the post-obit:

  • Administrative rights to be able to join machines to the domain

  • IP address to connect to your SAN

  • IP Addresses for the following:

    • two x IP addresses for the Physical Servers

    • 1 x IP accost for the Cluster

    • 1 10 IP accost for the VM

Footstep 1: Configure roles / features on nodes for high availability

  1. Install MS Windows Server 2012 or MS Server 2016 onto your 2 server nodes.

  2. In the Server Manager > Dashboard, click Add roles and features.

    The Before you begin window is displayed.

  3. Click Adjacent.

    The Select installation type window is displayed.

  4. Select Role-based or characteristic-based installation.

  5. Click Adjacent.

    The Select destination server window is displayed.

  6. Select the server that you are logged in on.

  7. Click Next.

    The Select server roles window is displayed.

  8. In the Roles list, select Hyper-Five.

    The Add feature that are required for Hyper-V window is displayed. This window shows the dependencies that will exist installed.

  9. Click Add Features.

  10. Click Next.

    The Select features window is displayed.

  11. In the Features listing, select Failover Clustering.

    The Add together features that are required for Failover Clustering window will pop up and at present exist displayed. This window shows the dependencies that will be installed with this characteristic.

  12. Click Add together Features.

    The Hyper-V window is displayed.

  13. Click Adjacent.

    The Create Virtual Switches window is displayed.

  14. In Network adapters, select the network that you want your virtual machine to use for the cluster. If you have multiple NIC's listed hither, choose the advisable one/due south.

  15. Click Adjacent.

    The Virtual Car Migration window is displayed.

  16. Select the Let this server to transport and receive live migrations of virtual machines checkbox. This allows the VM to transfer between your nodes where required.

  17. Click Next.

    The Default Stores window is displayed. Exercise non change the default stores.

  18. Click Side by side.

    The Confirm installation selections window is displayed.

  19. Cheque the setting to ensure you are happy with the selected items to be installed.

  20. Click Install.

    The chosen Function and Feature will be installed on your machine.

  21. When the installation is complete, restart the machine to finalize the installation.

  22. Repeat the above steps on any additional nodes you lot want to include in the failover cluster.

Footstep 2: Connecting to iSCI network drives

  1. Start the iSCI initiator then connect to your ii SAN drives:

    1. Click Start > Windows Administrative Tools > iSCI Initiator.

      NOTE

      One of the drives is configured for your Quorum and the other is configured for the virtual machines. 5GB is required for the Quorum and the second drive volition exist used to store your Virtual machines. Therefore, ensure you accept provided plenty disk infinite on this drive to handle the virtual machine storage.

    2. Ensure the drives are set to allow simultaneous connections. This is configured on your SAN. Brand sure you have granted access to your two cluster servers.

  2. Connect to the SAN drives:

    1. Open iSCSI initiator.

    2. Click the Targets tab.

    3. In Target, enter the IP address for the SAN.

    4. Click Quick Connect.

      Your advertised drives are displayed.

    5. Highlight a drive; then click connect to connect to each drive.

    6. When a drive is connected, click Done.

    7. Click the Volumes and Devices tab.

    8. Click Car Configure.

    9. Click OK.

    10. When you are connected on the first machine, click Start > WIndows Authoritative tools > Computer Direction > Disk Management.

    11. Your two disks appear as Unknown and Offline. They too display the size you lot configured on the SAN (eg: 5GB and 150GB).

  3. Bring the disks online:

    1. Right-click the disk number.

    2. Select Online.

  4. Echo the above pace for the 2nd drive.

  5. Initialize the disks:

    1. Right-click the deejay number side by side to one of the new drives.

    2. Select Initialize disk.

    3. In the box that appears, ensure that both your new disks have a tick marking next to them.

    4. Set as MBR.

    5. Click OK.

  6. Configure the new drive:

    1. Right-click the kickoff drive.

    2. Select Create New Simple Volume.

    3. Leave the defaults in identify.

    4. Choose a bulldoze letter to assign.

    5. Label your drives:

      • 5GB drive—label the drive as Quorum

      • 150GB (larger drive)—label it as ClusterStorage

  7. Repeat the in a higher place steps for the second drive.

  8. Once this is done for your commencement node (Server), repeat these steps on your boosted nodes (Servers). For instance, from the 2 listed servers above (Server1 and Server2), yous must connect the iSCSI drives on both systems before they volition exist bachelor for your cluster.

    Note

    Every bit the simple volume is at present configured, you lot only need to initialise the disks on the other Nodes, not recreate the Volume.

    Step three: Create the failover cluster

    From the Bone of any of the nodes:

    1. Click Outset > Windows Administrative tools > Failover Cluster Manager to launch the Failover Cluster Managing director.

    2. Click Create Cluster.

      The Before you Brainstorm window is displayed.

    3. Click Next.

      The Select Servers window is displayed.

    4. Enter the server names that y'all desire to add to the cluster. Alternatively, you tin locate them via Scan.

    5. Click Add.

    6. Click Next.

      The Validation Alarm window is displayed.

    7. Select Yes to allow verification of the cluster services.

    8. Click Next.

      The Validate a Configuration Wizard is displayed. This wizard validates the server configuration.

    9. Click Adjacent.

      The Testing Options window is displayed.

    10. Select Run all tests (recommended).

    11. Click Next.

      The Confirmation window is displayed. This window lists all of the tests that will be run.

    12. Click Side by side.

      The Validating window is displayed while all of the clustering tests are being run. This process may take several minutes depending on your network infrastructure and the number of nodes yous have chosen to add together to your cluster.

    13. When the tests have completed, bank check the written report then fix whatever configuration errors. The cluster setup will fail if any errors exist.

      NOTE

      A common fault is the NIC/s used on the two nodes. The NIC/s must take the same proper noun on both servers for the cluster to use the NIC in the configuration.

      The Access Signal for Administering the Cluster window in the Create Cluster wizard is displayed.

    14. In Cluster Name, enter a proper name for your cluster.

    15. In the available network provide an IP address for the cluster.

      Notation

      This name and IP address will be registered in your DNS

    16. Click Next.

      The Confirmation window is displayed. This window lists the settings to be applied to your new cluster.

    17. Select the Add together all eligible storage to the cluster check box.
      The organisation will now endeavor to assign any storage it can find.

    18. Click Next.

      The arrangement attempts to create the new cluster in your domain. This may take a while as there are several checks that must take place and tests that are conducted while the system is configured.

      When the process is complete, the Summary window is displayed stating that the cluster sorcerer completed successfully.

    19. Click Finish.

    20. Check to confirm that the cluster is configured correctly:

      1. In the Failover Cluster Manager, navigate to Nodes.

      2. Bank check that all nodes in the cluster are online. If they are non, go to the server that is offline and bring the arrangement online to join the cluster.

    21. Navigate to Storage > Disks.

      The organisation detects the SCSI drives and displays them here. If you lot were setting this upwardly with simply two nodes, and then the 5GB Quorum cluster would take been assigned as Disk Witness in Quorum.

      NOTE

      If no disks are displayed, check that you have correctly completed the steps on all nodes detailed in Connecting to ISCSI network drives.

      The configured storage space is assigned to Bachelor Storage.

    22. Configure this storage to be function of the cluster:

      1. Right-click the disk assigned to available storage; so select Add to Cluster Shared Volumes.

      The cluster is now assigned to Cluster Shared Book.

    23. Cheque the Cluster Events folder for whatsoever reported issues with the cluster. If in that location are no problems, you can configure your virtual car in the cluster environment.

    Stride 4: Create a loftier availability virtual car

    1. In the Failover Cluster Manager, aggrandize the cluster created in the previous steps.

    2. Correct-click Roles; and so select Virtual Machines > New Virtual Automobile.

      The New Virtual Machine window is displayed.

    3. Select the node yous want to set the virtual car upward on. It doesn't affair which node you cull, but we recommend you choose the node that y'all are currently working on.

    4. Click OK.

      The New Virtual Automobile Magician is displayed. This window explains the steps involved in setting upward a virtual machine.

    5. Click Next.

      The Specify Proper name and Location window is displayed.

    6. In Name, enter a proper noun for your virtual machine.

    7. In Location, enter the drive where the VM will be stored on the server.
      For this VM to be able to move between the nodes, choose the ClusterStorage\Volume drive. This is usually located on C:\ClusterStorage\Volume1\ or like.

    8. Click Adjacent.

      The Specify Generation window is displayed.

    9. Select the generation of virtual car y'all want to use:

      • Generation 1—offers the all-time cantankerous compatibility with versions. Generation ii offers greater security, better performance, and supports the UEFI deejay partitioning.

      • Generation 2—supported on the current releases, only non the older versions of Hyper-Five. Also Generation ii virtual machines are not supported by Azure.

      Important

      Once this option is fabricated, it nearly likely volition not exist able to be changed. There are some tools that allow you to switch generation (for case, Azure DR allows yous to to convert to Gen1 or Gen2 based on failover location), simply it is best to presume that it cannot be changed.

    10. Click Next.

      The Assign Memory window is displayed.

    11. In Startup memory, enter the relevant amount of retentivity that y'all want for this virtual motorcar.

    12. If you want the retentiveness to be dynamic, select the Use Dynamic Memory for this virtual machine check box.

    13. Click Next.

      The Configure Networking window is displayed.

    14. In Connection, select the NIC you lot want to assign to this virtual auto.

    15. Click Side by side.
      The Connect Virtual Hard Disk window is displayed.

    16. In Name, enter a proper noun for your virtual machine. This is the name that volition exist displayed in Hyper-V.

    17. In Location, enter a location on the cluster bulldoze for the hard drive. By default, this is unremarkably created on your system nether C:\ClusterStorage\Volume1\.

    18. Set the difficult drive size.

    19. Click Next.

      The Installation Options window is displayed.

    20. Select the install location for your operating arrangement. If you lot intend to perform this installation at a after fourth dimension, select Install an Operating System Later.

    21. Click Next.

      The Completing the New Virtual Machine Wizard window is displayed. This window displays the options that you have selected for the configuration of this Hyper-V machine.

    22. Review your selections and if you are happy with them, click Finish.

      When the Hyper-V machine has been configured, the Summary window displays a  Success message.

    23. Click Finish.

    24. If your 2 node machines are running different CPU models, enable processor compatibility:

      1. With the virtual motorcar turned off, in Hyper-V Manager, highlight the machine.

      2. From the Action pane select Settings > Processor.

      3. Aggrandize Processor; then click Compatibility.

      4. Select the Drift to a physical calculator with a different processor cheque box.

      5. Click OK.

    25. Ensure that the new nodes are configured to accept the virtual machine in the effect of a failover:

      1. In the Failover Cluster Managing director, select Roles.

      2. Double-click your virtual machine.

      3. On the General tab, under Preferred owners, select the nodes that you want to manage your virtual machine in the issue of a failure.

      4. Click OK.

Step 5: Set upward your print server

  1. From the Cluster Manager window kickoff your VM and install Windows.

  2. Configure the machine on your network.

  3. For testing purposes, turn off Windows Firewall and so you can RDP and Ping this machine.

  4. Configure your impress queues.

  5. Examination that printing works successfully:

    1. Bank check printing on the server.

    2. Map the print queueA print queue displays information near documents that are waiting to be printed, such as the printing status, document owner, and number of pages to print. You tin can utilize the impress queue to view, pause, resume, restart, and cancel print jobs. from a customer motorcar on the network and exam press.

  6. When press is working successfully, test the failover.

    1. In Failover Cluster Manager, correct-click the VM you have created.

    2. Click Move.

    3. Select Quick Migration > Select Node.

    4. Select a node that the VM is not currently residing on.

      The VM volition at present showtime up on the other node.

  7. When the virtual car condition shows that it is running, remote desktop into this auto to ensure it is still operational. Whatever windows you had open up previously should however be running.

  8. Install PaperCut NG/MF onto this auto.

  9. Send several test print jobs to ensure that PaperCut NG/MF is operating correctly.

  10. Install your shared print queues to a client machine.

  11. Print a document.

  12. Log in to the server node that the PaperCut NG/MF VM is running on; and then restart the server.

  13. While the server is restarting, from the client car, send several test print documents to the shared printer.

  14. The impress jobs are processed and the VM fails over successfully to 1 of your other nodes.

    HA accomplished!

Notation

Don't forget to reapply your firewall services on your auto before deploying into production.

Source: https://www.papercut.com/support/resources/manuals/ng-mf/common/topics/cluster-server-2012-2016.html

Posted by: fernandezving1979.blogspot.com

0 Response to "How To Configure Windows Cluster 2012"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel