Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Windows Server 2016 deployment DHCP Failover Cluster

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

This article focuses on how to deploy DHCP Failover Cluster; in Windows Server 2016. What is Failover Cluster? please check the Microsoft technical documentation.

Subject deployment environment prerequisite settings configuration storage role installation connection storage configuration disk configuration failover cluster configuration scope verification deployment environment numbered server name IP address operating system 001AD1192.168.100.250Windows Server 2016 Datacenter Evaluation002Storage192.168.100.252Windows Server 2016 Datacenter Evaluation003DHCP1192.168.100.246Windows Server 2016 Datacenter Evaluation004DHCP2192.168.100.247Windows Server 2016 Datacenter Evaluation005CDHCP192.168.100.248DHCP Cluster/006DHCP192.168.100.249DHCP Service/ prerequisite settings

1. Configure AD domain controller, how to configure AD domain controller, please see create AD domain

2. Deploy Storage. How to configure storage, please see deployment Storage.

3. Set the IP address. DNS points to the domain controller IP.

DHCP1:

IP Address:192.168.100.246

Netmask:255.255.255.0

Gateway:192.168.100.1

DNS:192.168.100.250

DHCP2:

IP:192.168.100.247

Netmask:255.255.255.0

Gateway:192.168.100.1

DNS:192.168.100.250

4. Set the computer name and join the contoso.com domain

Configure Stora

Storage needs to be configured with two ISCSI virtual disks, one storage disk setting 20GB and one arbitration disk 1GB

First configure a storage disk, open Server Manager on the Storage server, and click File and Storage Services

Go to "Server Manager"-"File and Storage Services"-"ISCSI"

Click "Task"-"New ISCSI Virtual disk"

Run the New ISCSI Virtual disk Wizard, select ISCSI Virtual disk location, and click next

Set the ISCSI virtual disk name and click next

Set "ISCSI virtual disk size", we set 20GB here, and click "next"

ISCSI destination Select "New ISCSI destination" and click "next"

Set the target name and click "next"

Set up the access server, click "add", select the method to identify the initiator, select "enter the value of the selected type", select "IP address" for the type, set the value to "192.168.100.246", and click "OK".

Add another IP address type with the value "192.168.100.247"

Once the access server is added, click "next"

Enable the verification service here to directly "next"

Confirm the configuration and click "create"

Configuration is complete, click "close"

At this point, you can see the ISCSI virtual disk you just created in "ISCSI virtual disk".

You also need to configure an arbitration disk. Still click "Task"-"New ISCSI Virtual disk" in the ISCSI interface.

Run the New ISCSI Virtual disk Wizard, select the ISCSI virtual disk location, and click next

Set the ISCSI virtual disk name and click next

Set "ISCSI virtual disk size" to 1GB here. The arbitration disk does not need to be too large. Click "next".

Set "ISCSI goal". It has already been set. Select "existing ISCSI goal" and click "next".

Confirm the configuration and click "create"

Configuration is complete, click "close"

Now that both ISCSI virtual disks have been created, deploy DHCP

Role installation

Role installation, DHCP1 and DHCP2 configuration are the same

Open Server Manager in DHCP1 and click add roles and Features

Run the add roles and Features Wizard and click next

Select role-based or feature-based installation for installation type, and click next.

Select the server and click "next"

Server role Select "DHCP Server", prompt "add features required by DHCP server", click "add features"

When DHCP Server is selected, click next

Function Select "failover Cluster" and prompt "add features required for failover clustering?" , click "add feature"

When the failover clustering feature is selected, click next

Click "next"

Confirm the configuration and click "install"

The roles and features have been installed, click "close", and then restart the server

Log in to the DHCP1 server after restart, open Server Manager, and click "Notification"-"finish DHCP configuration".

Run the Post-installation configuration Wizard for DHCP and click next

Select "use the following user credentials" for authorization. I log in here with a domain administrator. Of course, you can also create an account with domain administrator privileges to log in, and click "submit".

Configuration is complete, click "close"

Connect the storage configuration disk

Connect storage configuration disk, DHCP1 and DHCP2 configuration are the same

Connect Stora

Open the Server Manager in DHCP1 and click tools-ISCSI initiator

The Microsoft ISCSI service is not yet running. For ISCSI to work properly, you must start the service. Click Yes.

Pop up "ISCSI initiator Properties", fill in the stored IP address in the target bar, and click "Quick Connect"

Pop up the Quick Connect dialog box and click finish

In the ISCSI initiator Properties, click OK

Configure disk

Right-click "start"-"disk Management" on DHCP1

At this point, you can see the two hard drives that have been connected.

Right-click disk 1-online

Right-click disk 2-online

Right-click disk 1-initialize disk

At this point, you can select "disk 1" and "disk 2" to initialize together, and click OK.

At this point, you can see two initialized disks.

Right-click disk 1-New simple Volume

Run the New simple Volume Wizard and click next

Specify the volume size and click "next"

The drive for assigning the volume is disk E, click "next"

To configure the formatted partition, click "next"

To finish creating a new simple volume, click finish

Disk 2 is the same as disk 1. You need to create a new simple volume. Right-click "disk 2"-"New simple volume".

Run the New simple Volume Wizard and click next

Specify the volume size and click "next"

Specify a drive for the volume and click next

To configure the formatted partition, click "next"

To finish creating a new simple volume, click finish

At this point, the disk is configured.

Disk E and disk F also appear in my computer.

Configure a failover cluster

Failover cluster only needs to be configured on one DHCP. Open DHCP1 Server Manager-tools-failover Cluster.

Open failover Cluster Administrator and click verify configuration

Run the verify configuration Wizard and click next

Select the server, click "Browse", enter "DHCP" in the input object name, click "check name", select "DHCP1" and "DHCP2", and click "OK" twice.

When the server is selected, click "next"

Test option "run all tests", click "next"

Confirm the configuration and click "next"

Verify complete, click "finish"

Still on failover Cluster Administrator, click create Cluster

Run the create Cluster Wizard and click next

Select the server, click "Browse", enter "DHCP" in "input object name", click "check name", select "DHCP1" and "DHCP2", and click "OK" twice.

When the server is selected, click "next"

To configure the cluster name and IP address, click next

Confirm the configuration and click "next"

After creating the cluster configuration, click "finish"

Expand the cluster and click "Node" to see the "DHCP1" and "DHCP2" nodes

Click on the disk, you can see "Cluster disk 1" and "Cluster disk 2", and "Cluster disk 2" is automatically set to "disk Witness in Arbitration"

Click the role, click "configure role"

Run the High availability Wizard and click next

Select a role, select "DHCP Server" here, and click "next"

To configure the name and IP address of the client access point, click next

Select storage, select Cluster disk 1 here, and click next.

Confirm the configuration and click "next"

Configuration complete, click "finish"

At this point, you can see that the DHCP in the role is running, and the owner node is on DHCP1.

Configure scope

Note: if DHCP is configured on the node where the DHCP server is running, one is temporarily unconfigurable.

You can now see on the cluster that the node where DHCP is running is on DHCP1

Open Server Manager on DHCP1 and click tools-DHCP

Open the DHCP Manager, expand DHCP, and right-click "IPv4"-"New scope"

Run the New scope Wizard, configure the role domain name, and click next

To configure the IP address range of the scope, click "next"

To configure the excluded address range, click "next"

To configure the lease duration of the address, click "next"

To configure DHCP options, click "next"

To configure the gateway, click next.

To configure the domain name and DNS server, click "next"

To configure the WINS server, click next

To configure the activation scope, click next

Scope configuration is complete, click finish

By this time, the scope has been configured, and a computer has obtained the IP address.

Verification

At this time, find a new computer and set the IP address to be obtained automatically. You can see that the IPv4 DHCP server is 192.168.100.249. The verification is successful.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report