Milestone 2 - devinziegler/Devin-Tech-Journal GitHub Wiki

Milestone 2

Overview 🌎

  • Setup Windows Server for sysprep
  • Download and install AD on new windows VM

Current Network Diagram

Network Diagram

Diagram made in plantuml here

Configuring Windows Server for Sysprep

  1. Type sconfig in powershell
  2. Use option 6 to download and install updates ultill there are none left
  3. Make sure to set time zone & configure updates with what the system requires
  4. Install VMware Tools through the actions menu in ESXi

Sysconfig

  • Open Powershell ISE (Make sure it is x64 NOT x86)
  • Paste the following script & hit run script

Promote System To DC

  • A refresher on AD and Domain Controllers can be found here

  • Users can be created & added to groups in the Active Directoty Users and Computers application.

  • Configure DNS with the following in DNS Manager:

  1. Add a reverse lookup zone
  2. Add a host to .local, make sure to add an associated PTR record

VCenter Installation

Mount the VCenter ISO to the mgmt system using the following Steps

  1. Switch the file system to the ISO in the datastore
  2. Mount the ISO witht the following:
sudo mkdir /mnt/iso
sudo mounmt /dev/cdrom /mnt/iso
  1. Navigate through the ISO untill your reach the installation script
  • Complete the install filling out the prompts. Walkthrough video can be found here

This process will take a long time!! :)

Joining vCenter to Domain

Make sure each system is synced with pool.ntp.org

  1. Log into vSphere Client with vshere.local SSO [email protected]
  2. Under Administration Select SSO -> Sonfiguration
  3. Under Active Directory Domain select Join AD, use domain admin credentials
  4. Restart vCenter throught the management console

Logging in with AD creds

After the server is restarted log back in with vsphere SSO.

  1. Under Administration/configuration/identity provider select identity Sources
  2. Select add fill out with the following:
 Identity Source Type:  AD
 Domain name:           yourname.local
  1. Select the new Identity Source (your domain)
  2. Select Set as Default

Add domain admin to vcenter admin group

  1. Select Users & Groups/Groups/Administrators/ADD MEMBERS
  2. Under the Add Members drop down select yourname.local
  3. Add domain admin user to group and select save

You should not be able to log in with domain admin in vcenter

⚠️ **GitHub.com Fallback** ⚠️