Beruflich Dokumente
Kultur Dokumente
Introduction
What is a cluster? Why?
MSCS HowTo
Overview
A Two-Node MSCS Cluster A Four-Node MSCS Cluster
MSCS HowTo
Terminology
Shared-nothing Resource group Cluster Service Architecture Online-Offline Ownership Virtual Server
MSCS HowTo
Virtual Server
Physical View
Client View
MSCS HowTo
Hardware Requirements
MSCS HowTo
Network Requirements
A unique NetBIOS cluster name. Five unique, static IP addresses: two for the network adapters on the private network, two for the network adapters on the public network, and one for the cluster itself. A domain user account for Cluster service (all nodes must be members of the same domain). Each node should have two network adaptersone for connection to the public network and the other for the node-to-node private cluster network. If you use only one network adapter for both connections, your configuration is unsupported. A separate private network adapter is required for HCL certification.
MSCS HowTo
Software Requirements
Microsoft Windows 2000 Advanced Server or Windows 2000 Datacenter Server installed on all computers in the cluster. A name resolution method such as Domain Naming System (DNS), Windows Internet Naming System (WINS), HOSTS, etc. Terminal Server to allow remote cluster administration is recommended.
MSCS HowTo
All shared disks, including the quorum disk, must be physically attached to a shared bus. Verify that disks attached to the shared bus can be seen from all nodes. This can be checked at the host adapter setup level. SCSI devices must be assigned unique SCSI identification numbers and properly terminated. All shared disks must be configured as basic (not dynamic). All partitions on the disks must be formatted as NTFS. While not required, the use of fault-tolerant RAID configurations is strongly recommended for all disks. The key concept here is fault-tolerant raid configurations not stripe sets without parity
MSCS HowTo
Installation Overview
MSCS HowTo
MSCS HowTo
Setting up networks
Power down all shared devices Power up all nodes Two network adapters on each node
MSCS HowTo
4.
5.
Right-click My Network Places and then click Properties. Right-click the Local Area Connection 2 icon. Click Status to verify connection status, as well as the speed of connection. If the window shows that the network is disconnected, examine cables and connections to resolve the problem before proceeding. Click Close. Right-click Local Area Connection 2 again, click Properties, and click Configure. Click Advanced.
MSCS HowTo
MSCS HowTo
Click Transmission Control Protocol/Internet Protocol (TCP/IP). Click Properties. Click the radio-button for Use the node address Type in a subnet mask of 255.0.0.0. Click the Advanced radio button and select the WINS tab. Select Disable NetBIOS over TCP/IP. Click OK to return to the previous menu.
MSCS HowTo
Microsoft strongly recommends setting static IP addresses for all network adapters in the cluster, both private and public. If IP addresses are obtained via DHCP, access to cluster nodes could become unavailable if the DHCP server goes down. If you must use DHCP for your public network adapter, use long lease periods to assure that the dynamically assigned lease address remains valid even if the DHCP service is temporarily lost. In all cases, set static IP addresses for the private network connector.
MSCS HowTo
Rename the Local Area Network Icons 1. Right-click the Local Area Connection 2 icon. 2. Click Rename. 3. Type Private Cluster Connection into the textbox and press Enter. 4. Repeat steps 1-3 and rename the public network adapter as Public Cluster Connection
MSCS HowTo
Click Start, click Run and type cmd in the text box. Click OK. Type ipconfig /all and press Enter. IP information should display for all network adapters in the machine. Type ping ipaddress where ipaddress is the IP address for the corresponding network adapter in the other node.
MSCS HowTo
3.
4.
Right-click My Computer, and click Properties. Click Network Identification. The System Properties dialog box displays the full computer name and domain. If you are using member servers and need to join a domain, you can do so at this time. Click Properties and follow the onscreen instructions for joining a domain. Close the System Properties and My Computer windows.
MSCS HowTo
2.
3.
4.
5.
Click Start, point to Programs, point to Administrative Tools, and click Active Directory Users and Computers. Click the + to expand Reskit.com (if it is not already expanded). Click Users. Right-click Users, point to New, and click User. Type in the cluster name and click Next.
MSCS HowTo
7.
8. 9.
10.
Set the password settings to User Cannot Change Password and Password Never Expires. Click Next and then click Finish to create this user. Right-click Cluster in the left pane of the Active Directory Users and Computers snap-in. Select Properties from the context menu. Click Add Members to a Group. Click Administrators and click OK. This gives the new user account administrative privileges on this computer. Close the Active Directory Users and Computers snap-in.
MSCS HowTo
MSCS HowTo
4.
5. 6. 7. 8.
Right click My Computer, click Manage, and click Storage. Double-click Disk Management. Right-click unallocated disk space. Click Create Partition The Create Partition Wizard begins. Click Next twice. Enter the desired partition size in MB and click Next. Accept the default drive letter assignment by clicking Next. Click Next to format and create partition.
MSCS HowTo
2. 3. 4.
Right-click the desired partition and select Change Drive Letter and Path. Select a new drive letter. Repeat steps 1 and 2 for each shared disk. When finished, the Computer Management window should look like this. Now close the Computer Management window.
MSCS HowTo
Type some words into Notepad and use the File/Save As command to save it as a test file called test.txt. Close Notepad. Right-click test.txt and click Copy. Double-click a shared drive partition. Click Edit and click Paste. Double-click test.txt to open it on the shared disk. Close the file. Highlight the file and press the Del key to delete it from the clustered disk. Repeat the process for all clustered disks to verify they can be accessed from the first node.
MSCS HowTo
2.
3.
4.
Click Start, click Settings, and click Control Panel, Add/Remove Programs, Add/Remove Windows Components. Select Cluster Service. Click Next. Cluster service files are located on the Windows 2000 Advanced Server CD-ROM. Click Next.
MSCS HowTo
MSCS HowTo
Create Cluster
5.
Because this is the first node in the cluster, you must create the cluster itself. Select The first node in the clusterand then click Next.
MSCS HowTo
8.
11.
Enter a name for the cluster (up to 15 characters), and click Next. Type the user name of the cluster service account that was created during the preinstallation. Provide a password. Type the domain name, and click Next. At this point the Cluster Service Configuration Wizard validates the user account and password. Click Next.
MSCS HowTo
The Add or Remove Managed Disks dialog box specifies which disks on the shared SCSI bus will be used by Cluster service. Add or remove disks as necessary and then click Next.
MSCS HowTo
Configure Network
12. 13.
14. 15.
Click Next in the Configuring Cluster Networks dialog box. Make sure that the network name and IP address correspond to the network interface for the public network. Check the box Enable this network for cluster use. Select the option All communications (mixed network) as shown in Figure 10 below. Click Next. Check the box Enable this network for cluster use. Select the option Internal cluster communications only.
MSCS HowTo
Configure Network
19.
20.
Click Next. In normal operation this connection will be used for cluster communication. In case of the Private Cluster Connection failure, cluster service will automatically switch to the next network on the listin this case Public Cluster Connection. Make sure the first connection in the list is the Private Cluster Connection and click Next.
MSCS HowTo
Configure Network
21.
Enter a unique cluster IP address (Example 172.16.12.20) and Subnet mask (255.255.252.0), and click Next
MSCS HowTo
Configure Network
22.
23.
24.
MSCS HowTo
Click Start, click Programs, click Administrative Tools, and click Cluster Administrator. If your snap-in window is similar to to this picture, your Cluster service was successfully installed on the first node. You are now ready to install Cluster service on the second node
MSCS HowTo
4. 5. 6.
In the Create or Join a Cluster dialog box, select The second or next node in the cluster, and click Next. Enter the cluster name and click Next. Leave Connect to cluster as unchecked. The Cluster Service Configuration Wizard will automatically supply the name of the user account selected during the installation of the first node. Enter the password for the account (if there is one) and click Next. Click Finish to complete configuration. The Cluster service will start. Click OK. Close Add/Remove Programs.
MSCS HowTo
More nodes
If you are installing additional nodes, repeat these steps to install Cluster service on all other nodes.
MSCS HowTo
Verify Installation
1. 2.
Click Start, click Programs, click Administrative Tools, and click Cluster Administrator. Right-Click the group Disk Group 1 and select the option Move. The group and all its resources will be moved to another node. After a short period of time the Disk F: G: will be brought online on the second node. If you watch the screen, you will see this shift.
MSCS HowTo
Tada!
MSCS HowTo
Whats next?
Clusters for High Availability Clusters for Farming
MSCS HowTo
MSCS HowTo