Milestone 10 ‐ OpenStack & Windows - lpcyber1/SYS350 GitHub Wiki
Documentation
Prerequisite
- Enable IP Forwarding and uncomment the line
net.ipv4.ip_forward = 1
in/etc/sysctl.conf
Dependencies and KVM
- Ran
apt upgrade
then installed dependencies/KVM with apt
- Checked if
libvirtd
is valid
- Added my user to the
libvirt
group
Image Creation
- Downloaded the VirtIO iso and Win Server 2019 iso from class website
- Moved them to
/var/lib/libvirt/images
Building the base image
- Clicked
file
thenNew Virtual Machine
- Selected
Local install media (ISO image or CDROM)
- Selected the Win Server 2019 iso and update the os I am install to reflect it
- Set Memory and CPU
- Set storage
- Added another SATA CDROM for virtio-win
- Installed Windows with the following options
- My install at the moment looks like it is in the clear. Set updates to manual, time zone to est, and updated OS
- Ran the Virtio Driver install setup
- Ran QEMU guest agent setup too
- Used
wget
to install chrome from class web server
- Downloaded the Cloudbase-Init Setup and ran it
- Ran Sysprep through it after waiting for updates to install
Image Import into Openstack
- Created floating IP for instance
- Copied file over to my home directory and ran two commands to change ownership
- Created the image in openstack
Launching a new instance from the image
- Created new flavor
- Launched new image
- Added to security group
- Set floating IP
- Accessed console
Deliverables
Deliverable 1. Provide a screenshot showing your running KVM. Show it with some proof you are on your super.
Deliverable 2. Provide a screenshot similar to the one below that shows:
- Instance page with sys350 Server 19 instance Active
- Instance created with your customized flavor and keypair
- Fixed and floating IP address allocated to the instance
- Terminal open to show you are on your Ubuntu with your name & super’s unique IP
Deliverable 3. Provide a screenshot similar to the one below that shows:
Show your instance and floating IP along with successful ping to the floating IP
Deliverable 4. Provide a big happy screenshot similar to the one below that shows:
- All Instance details
- security groups, the two ip addresses
- A remmina session to your instance
- Show the remmina connections ip address
- A ping from your Windows Server to your Ubuntu host (superX)
- A ping from your Windows Server to the internet *A terminal window on your Ubuntu host (superX) showing:
- your Freeman IP address
- a ping to the floating IP of your Server19 instance and a partridge in a pear tree (doesn’t count towards grade)
- I am having a problem pinging and rdp into the instance but the instance still has internet connection. It is probably an error on my part with security groups or network settings.