Thursday, September 17, 2015

NLB in Windows 2012 Step by step

 
Network Load Balancing clusters enable you to manage a group of independent servers as a single system for greater scalability, increased availability, and easier manageability. You can use Network Load Balancing to implement enterprise-wide scalable solutions for the delivery of Transmission Control Protocol/Internet Protocol (TCP/IP) based services and applications.Network Load Balancing as many advantages over other load balancing solutions that can introduce single points of failure or performance bottlenecks. Because there are no special hardware requirements for Network Load Balancing, you can use any industry standard compatible computer in a Network Load Balancing cluster.
1. First need to  Install the Windows NLB feature on all of the node (In my case two nodes) need to be added into the NLB.
Go in to Server manager > Manage >Add New Feature

  clip_image002

2. Then you will get the below mentioned detail screen. click next to continue
clip_image004

3. Need to select Role-base or Feature-base installation. If you are doing this remotely from another server then you can select the second option.
clip_image006

4. Select the Server from the server pool
clip_image008

5. Next page, now you can select NLB feature and click next.
clip_image010

6.Add the features.
clip_image011

7. now you can see the confirmation window. read that and click next to proceed.
clip_image013 
clip_image015
8. Once done, you will be able to logging to NLB wizard
clip_image017

9. Go in to “Network Load Balancing Manager” and right click and select "New Cluster"
clip_image019

10. Now you can give the primary Server Host IP address
clip_image021

11. Next window will ask for a cluster IP and the Name configuration.
clip_image023
clip_image024

12. Other Cluster parameter can be entered here.
clip_image025

13. Here you can configure the port rules.
clip_image026

14. Recommended way is to add the port rules and initial configuration you can keep all ports open. When you are commissioning then you can add the specific ports.
clip_image027

15. Once this done, you will see the firs node was added to the NLB cluster. now you need to configure the secondary node.
clip_image029

16. Follow the same steps mentioned above and give the secondary server IP address.
clip_image031

Here you can see that I have configured a another network card for HB.
clip_image032
clip_image033
clip_image033[1]

Now you will see both the nodes are active.
clip_image035

If you want to change the Priority of those nodes you can select one node and change the priority.
clip_image022

Hope this will help you to configure NLB in Windows 2012 Server.











































Saturday, September 12, 2015

Windows 2008 Cluster Setup Step by step

 
A failover cluster is a group of independent computers that work together to increase the availability of applications and services. The clustered servers (called nodes) are connected by physical cables and by software. If one of the cluster nodes fails, another node begins to provide service (a process known as failover). Users experience a minimum of disruptions in service.
I have presented the storage as below. Need to say that if your two cluster server are separate Hosts then you have a way of presenting the same Volumes in to both Host. I have tried this because of the current requirement and I work fine. but this will not going to give you the full functions of the Cluster Service. because of that it’s better to have to present two different volumes from different clusters.
Storage volumes or logical unit numbers (LUNs) exposed to the nodes in a cluster must not be exposed to other servers, including servers in another cluster. The following diagram illustrates this.
image
 
First you need to present the the Luns. If your to host are physical you can easily do this and if you are using virtual environment, then you need to go with Raw device mapping. when you are doing this its better to map those volume in new SCSI Controller and change the policy as physical.
image
Then you can go in to Server manager and add a new feature.
clip_image002
Select the Failover Clustering from there and click next.
clip_image004
Click Install
clip_image006
In you both host you need to have two network interfaces and one is for the heartbeat and other one is for the management. 
image
As you can see below I have configured two different networks and Public network is having access to the production and HB network is only between those two host.
image           image
Once you done with that you can go to Failover Cluster manager and do the clustering.
clip_image008
Select Create new Cluster.
clip_image010
Click next.
clip_image012
Then you can add the cluster nodes by searching in the thee active directory. Select both the node and click next to proceed.
image
You can run the Validation testing to check whether there is any issue in those Nodes.
clip_image016
clip_image018
Select Run All Test to get a clear picture on the configuration.
clip_image020
clip_image022
clip_image024
Here I have got an error saying that one of the Cluster disk is having FAT 32 file system. I have formatted that in NTFAS and ran the test again.
clip_image026
Next page you can give the cluster name and the Cluster IP address which is common to the both the Nodes. then click next to get the configuration  information.
image
 
clip_image032
image
Once you click on the View Report. you will get the details about the task and now you will able work with the
image
This is the shortest steps that you can follow to create a Windows Cluster. now you can do some testing by creating some folders in one node and shutting down the nodes.






































Wednesday, May 6, 2015

Active Directory Backup and Recovery Step-by-Step

  You can also restore Active Directory information on a domain controller by restoring the System State data from backup media. This restores Active Directory as well as the other System State components on which Active Directory depends. There are two general methods for restoring Active Directory from backup media. those are,
1. nonauthoritative .
2. authoritative.
Nonauthoritative restore means that when a domain controller is restored from backup media, the restored data is updated through normal replication. Each restored directory partition is updated with that of its replication partners.
Authoritative restore means that after Active Directory is restored nonauthoritatively from a backup medium that the entire directory, a subtree, or individual objects can be designated to take precedence over any other instances of those objects on replicated domain controllers. So, through normal replication, the restored domain controller becomes authoritative in relation to its replication partners. Even if the authoritatively restored replica set is older than the current replicas, the older data is replicated to all of its replication partners. Authoritative restore is typically used to restore a system to a previously known state,
 
Here I'm going to use Nonauthoritatively Restoring Active Directory technique. for that we can use Windows Server backup tool.
Fist you can follow below mentioned steps to enable windows backup feature.
Go to Roles and services
clip_image002
clip_image004
clip_image006
Select windows Server backup Feature 
clip_image008 
clip_image010
clip_image012
clip_image014
Once you done with the installation you can open Windows Server backup Tool.
clip_image016
Then you can configure new backup  job. here I'm going to select “Backup Once” option. 
clip_image017
It’s good to have full server backup with us. because of that I'm selecting Full Server. 
clip_image018
I’m going to keep the backup in a remote location and i have already shared a folder for that. Here I’m giving the path of the Share folder. 
clip_image019You can give permission for this backup file. 
clip_image020
clip_image021
clip_image022
clip_image023 clip_image024
To restore, You can select the backup job and from the action pane select Recover
clip_image002[1]
clip_image003
clip_image004
clip_image005
Here you can elect the file and the folders that you want to recover.
clip_image006
You can select the recovery location as Original location or else you can say that Recovered that toy another location.
clip_image007
Once you click recover file will be recovered to the location that you have selected before.
clip_image008