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

image

Dependencies and KVM

  • Ran apt upgrade then installed dependencies/KVM with apt

image

  • Checked if libvirtd is valid

image

  • Added my user to the libvirt group

image

Image Creation

  • Downloaded the VirtIO iso and Win Server 2019 iso from class website

image

  • Moved them to /var/lib/libvirt/images

image

Building the base image

  • Clicked file then New Virtual Machine

image

  • Selected Local install media (ISO image or CDROM)

image

  • Selected the Win Server 2019 iso and update the os I am install to reflect it

image

  • Set Memory and CPU

image

  • Set storage

image

image

  • Added another SATA CDROM for virtio-win

image

image

  • Installed Windows with the following options

image

image

image

  • My install at the moment looks like it is in the clear. Set updates to manual, time zone to est, and updated OS

image

  • Ran the Virtio Driver install setup

image

  • Ran QEMU guest agent setup too

image

  • Used wget to install chrome from class web server

image

  • Downloaded the Cloudbase-Init Setup and ran it

image

  • Ran Sysprep through it after waiting for updates to install

image

Image Import into Openstack

  • Created floating IP for instance

image

  • Copied file over to my home directory and ran two commands to change ownership

image

image

image

  • Created the image in openstack

image

Launching a new instance from the image

  • Created new flavor

image

  • Launched new image

image

  • Added to security group

image

  • Set floating IP

image

  • Accessed console

image

Deliverables

Deliverable 1. Provide a screenshot showing your running KVM. Show it with some proof you are on your super.

image

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

image

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

image

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)

image

  • 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.

Deliverable 5. Tech Journal. Thoroughly document, screenshot, and describe what you did within your environment to generate and import the image and spawn the windows instance. Reflect on how this image preparation and deployment compared to a similar one you did on vSphere. Please also provide a summary of the virtual networking being done with OpenStack in your own words and roughly how it works.