Changes

Jump to: navigation, search

OPS235 Lab 2 - CentOS7 - SSD

1,381 bytes removed, 17:10, 19 June 2016
no edit summary
=INVESTIGATION 2: ESSENTIAL VIRTUAL MACHINE OPERATIONS=
{|width="40%" align="right" cellpadding="10"
|- valign="top"
|
{{Admon/caution|Allow Time to Perform Yum Updates|Allow sufficient time in order to perform updates prior to the end of the lab. Since you will be updating ALL of your VMs, allow "lead-time" to start your updates and to backup your VMs prior to the end of the lab. '''NEVER force a shut-down of your VM while updates are running, since this will ruin your VM''', and you will have to restore from a backup, or redo your labs for that VM!}}
|}
===Part 1: Perform Software Updates===
 
It is important as a Linux System Administrator to update software on your Linux system periodically. Performing periodic updates will fix software bugs and inefficiencies as well as apply security patches in order to better secure your Linux server.
 
'''You are required to perform the following command for ALL of your 4 VMs:'''
 
<b><code><span style="color:#3366CC;font-size:1.2em;">yum update</span></code></b>
 
This will download and install all of the packages that have been updated since the installation DVD image was created. If you complete this command at Seneca, it should run quite fast as Seneca College hosts a CentOS Repository mirror (a copy of all of the current CentOS packages, on a local web server). You will be reminded at the end of each of the remaining labs to perform software updates on ALL of your VMs.
{| width="40%" align="right" cellpadding="10"
|colspan="2"|{{Admon/important|Backing up VMs|There are two general processes in order to back up your images:<ol><li>'''Compressing your images''' (also recommended to backup up to external storage USB Key) using the '''gzip''' command.</li><li>'''Backup the VM xml configuration file''' (preferably to USB key) using '''virsh''' shell command to add VM to virtual machine manager list (in the event that the HOST machine is "wiped" and re-installed, but VM images and xml configuration files have been backed up external storage).</li></ol><br />Taking the time to backup the image of the Operating System's file system allows the user to return to a '''"restoration point"''' using the '''gunzip''' command in case something bad occurs to the OS during a lab.<br />Failure to take the time to make and confirm backups can result in loss of lab work for the student!|}}
|}
=== Part 21: Backing Up Virtual Machines ===
:'''Perform the following steps:'''
::* In order to fully back up a virtual machine, what information should be saved in addition to the virtual machine image?
=== Part 32: Using Shell Scripts for VM Backup &amp; Management===
{|width="40%" align="right" cellpadding="10"
|- valign="top"
13,420
edits

Navigation menu