Posted On March 31, 2019

Amazon Web Services Testing

kimconnect 0 comments
blog.KimConnect.com >> Virtualization >> Amazon Web Services Testing
AWS Test Procedures:
 
Test Control Condition:
Launch an Instance by choosing Windows OS AMI
Create a local domain administrator account as admin and password as password
Join the computer to theKim Connect domain
 
Simulation 1: Recover from a Destroyed Instance
 
Copy AMI from running instance
Terminate original instance
Launch the copied instance
Attach the backup volumes from snapshots
 
Run these command from a local workstation that has Systernals installed:
 
Reset computer account password with domain controller
———- This procedure doesn’t work! ——————-
psexec \\mail01 -e -h -u mail01\admin -p password netdom resetpwd /s:dc01 /ud:kimconnect\admin /pd:password && shutdown -r -t 0
 
Re-attach volumes
psexec \\mail01 -e -h -u kimconnect\admin -p password diskpart /s “\\kimconnect.com\netlogon\activateDrives.txt”
 
Simulation 2: Recover from Autoscale Group instance reconstruction
 
Attach the instance to an AWS Autoscale Group (procedure to be detailed later)
 
Reboot the instance to simulate a “machine down” problem. A new instance would be launched by the Autoscale Group. The original instance should be terminated by that Autoscale Group. This new instance would have a “broken trust relationship” with the domain; thus, its computer password account should be reset with the following proceedure:
 
Reset computer account password with domain controller
psexec \\mail01 -e -h -u mail01\admin -p password netdom resetpwd /s:dc01 /ud:kimconnect\admin /pd:password && shutdown -r -t 0
 
Simulation 3: TBD

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

PowerShell: Gather All Guess VM of All Hyper-V Clusters in the Domain

# getAllVms.ps1 $clusterName='*' function includeRSAT{ $ErrorActionPreference='stop' [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 #$rsatWindows7x32='https://download.microsoft.com/download/4/F/7/4F71806A-1C56-4EF2-9B4F-9870C4CFD2EE/Windows6.1-KB958830-x86-RefreshPkg.msu' $rsatWindows7x64='https://download.microsoft.com/download/4/F/7/4F71806A-1C56-4EF2-9B4F-9870C4CFD2EE/Windows6.1-KB958830-x64-RefreshPkg.msu' $rsatWindows81='https://download.microsoft.com/download/1/8/E/18EA4843-C596-4542-9236-DE46F780806E/Windows8.1-KB2693643-x64.msu' $rsat1709 = "https://download.microsoft.com/download/1/D/8/1D8B5022-5477-4B9A-8104-6A71FF9D98AB/WindowsTH-RSAT_WS_1709-x64.msu"…

Adding a Domain Security Group into the Hyper-V Administrator Users Group

Issue: Resolution: Click Start > Control Panel > Administration Tools > Computer Management > System Tools…

Upgrade Virtual Hardware Version in VMM

The following script will upgrade all guest virtual machines from a lower version to the…