Thursday, December 28, 2017

Setup And Configure Active Directory Domain Service

Requirements:
  • Windows 2008 R2 x64 server with updates installed
  • Local Admin account credentials of the server
  • Unique Domain Name to be used for your organisation
  • An NTFS partition with enough free space
  • NIC configured with Static IP Addressessi
  • Remote management enabled on the local server
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Configure NIC with Static IP Address:

In order to setup a domain server, we need to have the static IPs configured as a pre requirements. It is possible to install AD on a server with dynamic IP address, by doing that the DNS registrations may fail and also the AD functionality may be lost.

To configure static IP address, follow the below steps:

1. Go to Control Panel.

2. Open Network and Sharing Center and click on Manage Network Connections on the left side.

3. Under Network Connections, right click your Local Area Connection and select Properties.

4. Click Internet Protocol Version 4 (TCP/IP) and click Properties.

5. Now configure the IP Address/Netmask/Gateway.

6. Under DNS, assign the local server IP address.
   
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Add the Active Directory Domain Services role:

First check if DNS roles is currently enabled on the server. It is not a mandatory to install DNS roles first, we can also install it during the AD installation. But, the best practice is to add DNS role first always.

Adding the Active Directory Domain Services role installs the framework for Windows Server 2008 to become a DC and run AD DS. It does not promote the server to a DC or install AD DS.
  1. Open Server Manager and click on Roles.
  2. In the Roles Summary section, click Add Roles.Active Directory Domain Services
  3. On the Before You Begin page of the Add Roles Wizard, click Next.Active Directory Domain Services
  4. On the Select Server Roles page, select the Active Directory Domain Services check box, and then click Next.Active Directory Domain Services
  5. If there is any additional features are required add them in the installation screen.
  6. On the Confirmation page, click Next.
  7. On the Installation Progress page, click Install.
  8. On the Results page, after the role is successfully added, click Close.Active Directory Domain Services

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Install Active Directory Domain Services:

Now that you have added the AD role, you can start the AD installation by typing (dcpromo.exe) in the run box.
  • Start the installation by typing dcpromo.exe in command prompt/run window.
  • In the Welcome page of the Active Directory Domain Services Installation Wizard, ensure that the Use advanced mode installation check box is cleared, and then click Next.

    Windows AD Install
  • On the Operating System Compatibility page, click Next.
  • On the Choose a Deployment Configuration page, select Create a new domain in a new forest and then click Next.

    Windows AD Install
  • On the Name the Forest Root Domain page, enter the domain name that you choose during preparation steps. Then, click Next.

    Windows AD Install
  • The installation program verifies the NetBIOS name.

    Windows AD Install
  • On the Set Forest Functional Level page, select Windows Server 2008 R2 in the Forest function level list (If your environment has Windows 2003 servers, choose the same here). Then, click Next.

    Windows AD Install
  • On the Set Domain Functional Level page, select the same option as per previous windows. Then, click Next.

    Windows AD Install
  • The installation program examines and verifies your DNS configuration.

    Windows AD Install
  • On the Additional Domain Controller Options page, ensure that the DNS server check box is selected, and then click Next.

    Windows AD Install
  • In the message dialog box that appears, click Yes.
  • On the Location for Database, Log Files, and SYSVOL page, accept the default values and then click Next.

    Windows AD Install
  • On the Directory Services Restore Mode Administrator Password page, enter the domain administrator password that you chose during the preparation steps. This is not your admin password that was emailed to you during the creation of your server, although you can use that password if you want to. Then, click Next.

    Windows AD Install
  • On the Summary page, review your selections and then click Next.

    Windows AD Install
  • The installation begins.  (Note: If you want the server to restart automatically after the installation is completed, select the Reboot on completion check box.)

    Windows AD Install
  • If you did not select the Reboot on completion check box, click Finish in the wizard. Then, restart the server.  This completes the installation of the AD domain services.

    Windows AD Install

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Now that we have successfully installed the AD, we need to create Forward Lookup and Reverse Lookup Zones for your domain. Once the zones are created, we can add New Host to your domain. For each host a (A) record will be created for IPv4 address. For IPv6 address (AAAA) – quad A record will be created. Also, make sure that Create associated PTR record is checked when a new host is added to the domain.

Thanks.  Please share your comments and feedback.

Saturday, November 11, 2017

VMware ESXi 6.5 Step by Step Installation and Configuration

Requirements:

1. We need to download the ESXi-6.5.0-4564106(Build 4564106) ISO from VMware. We can download from VMware
2. A host machine with at least 2 CPU cores (supports 64-bit x86 processors).
3. A host machine with at least 4 GB RAM.
4. Requires the NX/XD bit to be enabled for the CPU in the BIOS.
5. To support 64-bit virtual machines, support for hardware virtualization (Intel VT-x or AMD RVI) must be enabled on x64 CPUs.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

vCenter Server New Maximums:

In this release we have a new maximums guide that can be found here
Note that these maximums are specific to vSphere 6.5 Update 1 and are _not_ retroactive. vSphere 6.5 releases prior to Update 1 are still bound by the maximums published here.

Here are some of the increased vSphere 6.5 Update 1 numbers:


  • Maximum vCenter Servers per vSphere Domain: 15 (increased from 10)
  • Maximum ESXi Hosts per vSphere Domain: 5000 (increased from 4000)
  • Maximum Powered On VMs per vSphere Domain: 50,000 (increased from 30,000)
  • Maximum Registered VMs per vSphere Domain: 70,000 (increased from 50,000)

Hopefully these new scale numbers are welcome improvements!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Step by Step Installation and Configuring of ESXi 6.5:


1. Boot from the downloaded ISO and the boot menu appears. Select VMware ESXi 6.5.0 installer from the menu.

ESXi 6.5

2. Now the installer will load the files in preparation for the installation.
ESXi 6.5
ESXi 6.5

3. Setup now displays the welcome screen, press Enter to continue installation.
ESXi 6.5

4. Accept the EULA.
ESXi 6.5

5. Setup will scan for the hardware devices available.
ESXi 6.5

6. Select the hard disk in which the ESXi to be installed. I have assigned 2 drives for the host.
ESXi 6.5

7. Select the Keyboard layout US Default.
ESXi 6.5

8. Now you need to set the root password for the host. Ensure that password meets the complexity criteria set by the system.
ESXi 6.5

9. Installer will scan for additional components present in the machine.
ESXi 6.5

10. Once we confirm the install here, the disk will be repartitioned and the installation will begin.
ESXi 6.5

11. Now the installation is in progress.
ESXi 6.5

12. Installation is now completed and its prompting for reboot. Press Enter to Reboot.
ESXi 6.5

13. Reboot is completed and we now start the configuration of the host. Login using the root credentials. (Press F2 key to get the login prompt).

14. The DCUI(Direct Console User Interface) menu looks the same, there is no changes in submenus or design from the previous ESXi versions. Here we only need to concentrate on "Configure Management Network" option. Use arrow keys to navigate and hightlight the menu and press enter.

15. Under the Mangement Network Configuration, we have submenus and lets configure them one by one. IPv4 address, SubnetMask and Gateway is assigned.

16. I am choosing to disable IPv6 here as I am not using it in this environment.

17. Next assign the Primary and Secondary DNS Servers and the hostname for the ESXi.

18. Assign the DNS Suffix and we are done with the configuration part. Reboot once to complete the setup.

19. We have now successfully Installed and Configured an ESXi 6.5 host.


 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This was a routine ESXi installation steps from the previous versions. There is no changes as to installation process, looks, menu options at all. The only changes we can see is the capactiy of the ESXi host (I have given the new numbers at the top). 

Thanks.  Please share your feedback and comments.