Open main menu

CDOT Wiki β

OPS235 Short-Term

Revision as of 08:42, 8 November 2016 by Msaul (talk | contribs)

Current Semester: Fall 2016

  1. Lab 1: Unusual problem of network not showing up in c7host VM. Happened because I had not enabled a second network adapter in VMware Workstation Pro (use Team as the type).

  2. Change all VM sizes to be at least 20GB because some (lab 2 VMs) still say 15GB and they cause problems during installation for CentOS 7.2

  3. I think in future (based on scripting questions I gave on midterm) that we will need to add to the questions section of the labs something to do with shell scripting - even a simple walk-through. This can be incorporated into future quizzes.

  4. VMware gets odd naming for interfaces, for example ifconfig in VMware on CentOS 7 I get this (among other network setup). The problem is they've switched from the interface naming. There is a workaround in CentOS FAQ: https://wiki.centos.org/FAQ/CentOS7

  5. I noticed that some students have a different volume group name for centos2 than centos_centos2
    I suspect it is that students didn't follow instructions when creating the centos2 VM by specifying the correct hostname: centos2
    This could be corrected by including centos2 being checked for correct hostname in lab2 checking script, but not time to do that for this semester.

eno16777736: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500

CentOS 7 VM (VMware) Known Issues

HP Z230 machines on campus

  1. Not getting network interface in CentOS (VMware network configured to using NAT). Solved (sometimes) by adding another network interface and setting that interface to VMnet8
  2. USB failure from Windows host. Could this be due to bad USB cable, but one student reported Windows on HP Z230 automatically unmounts the USB drive while the VM was running thereby freezing CentOS in VMware

Previous Semesters

Summer 2016 (Refer to previous semesters below)=

  1. No entries


Winter 2016

  1. N.B. - On "TODO list" - LAB 1 - Picture under part 2 - The picture called "Partition Verification" shows a LVM setup, but the instructions ask specifically for a standard partition setup.

  2. FIXED BUT REQUIRES VERIFICATION THAT FIX WORKED - LAB 1 - Investigation 3 - Part 2 - Questions 21 - Not important but, report3.bash script uses the command "cat /root/install.log >> installation_report.html", the file /root/install.log does not exist on centos7 install.

  3. N.B. On List for Murray Saul to work on during non-contact period - "tweak" lab2check2.bash to provide additional checks including xml dumps to home directory for all VMs and reminder from script to back those items to USB key. Also should check if centos2 has / for 8 GB and /home for 2GB. I read somewhere that xfs can mess up with LVM which we talk about in lab5. For next time, I will add in requirement in lab2 signoff that students show for all VMs the /etc/fstab to ensure ext4 fs. Perhaps checking script can be modified next time to check for that... Good idea to expand shell script check for ALL labs. Student would be required to show same information PLUS the results from running the checking shell script.

  4. N.B. On List for Murray Saul to work on during non-contact period - It would be nice to rearrange the content for lab5 to discuss df -h and space concerns first, then flow into LVM. This would provide a better "flow" to reinforce student understanding. Shell script at end would remain at end to show how to use crontab to automate (flag) space issues.

  5. N.B. On List for Murray Saul to work on during non-contact period - Good idea to review study questions at end of each lab to see if they are applicable to each lab.

  6. Would be neat to create prezi slide shows for each lab preparation (for class). This would be in sync with OPS335 course. Online slides can be exported to PDF files as well.

  7. N.B. On List for Murray Saul to work on during non-contact period - Would be helpful for a script or program to check all links in all OPS235 (OPS335, etc) WIKIs to check for non-working links. This would allow course overseer to run just prior to the start of the semester and be incorporated into the startup checklist.

  8. N.B. On List for Murray Saul to work on during non-contact period - Some students note different vg name (like centos instead of centos_centos2). Solution is to get students to issue vgs to obtain vg name. Should investigate why this is happening to prevent (eg. shell script check at end of a lab).

  9. N.B. On List for Murray Saul to work on during non-contact period - Check mailx package when installed (lab5 example) for OPS235 to see why not sending mail to demo that script works for a lower threshold point for file space usage.

  10. N.B. On List for Murray Saul to work on during non-contact period - Method to better explain in lab7 tunnelling via local ports (eg. show some command of available ports, etc) - example:
    sysctl net.ipv4.ip_local_port_range
    net.ipv4.ip_local_port_range = 32768 61000
    (But where does that fit in with using 20808?)


Summer 2015

  1. LAB 1 - Installing NON-GUI version of Linux OS: A lot of students ran into the same problem with lab 1, that is they didn't pay close enough attention to the instructions and installed the OS without a GUI. But that is no flaw in your wiki, just the tendency of students to rush through things. I have done my best to enforce that they should read all the instructions carefully BEFORE they start on the labs.

  2. LAB2 - Backup Script demo: Current VM backup script should also allow for backing up xml configuration files.

  3. LAB - LVM: Current VM backup script does not factor in virtual hard drive images. May be a good idea to add this to the backup script, so students can be encouraged to run backup scripts.

  4. The wget http://belmont.senecac.on.ca/centos/7/isos/x86_64/CentOS-7-x86_64-LiveGNOME-1503.iso command is still not working

  5. When students issue the “service iptables restart” command it returns a message that says the service is dead and not running. Yet, I’ve tested the iptables themselves by adding a few rules and they are certainly still working. I’m really not sure what exactly is going on. Perhaps it’s just a glitch in CentOS7?

  6. The virtualization software also seems to need a system reboot before the virtual network will come into effect. Simply restarting the virt-manager or the libvirtd service doesn’t seem to do it. So, again, rebooting the system is the way to go to make sure the virtual default NAT network becomes visible for new VMs.

  7. Some students in lab2 may not be performing the correct steps in creating VMS (image paths and types). A shell script to be run to check this would be useful, but may need release time to create a comprehensive and user-friendly shell script.

Winter 2015


Additional Resources / Navigation