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

VMWare: How to Convert Physical To Virtual Machine

1. Install VMWare Converter in physical machine 2. Run converter 3. Turn on virtual machine…

How To Use Putty with an AWS Private Key

Step 1: convert .PEM file into a .PPK format Run puttygen.exe Click on Load Navigate…

Kubernetes – Pausing Applications by Scaling Deployments or Stateful Sets

# Pause application kubectl scale deploy nextcloud --replicas=0 kubectl scale statefulsets nextcloud-db-postgresql --replicas=0 kubectl scale…