User Tools

Site Tools


user:bkrishe3:portfolio:hpc0project1

This is an old revision of the document!


What is this page for

  • This page is for the HPC0 project 0x1 System Status Documentation.

Documentation

  • In order to start you have to login to the vmserver to create your vm
  • Once logged in go to /etc/xen
  • Run the following command (changing $HOSTNAME to whatever you want to call it)
 # xen-create-image --hostname $HOSTNAME --pygrub --dist wheezy 
  • It takes a while (even longer if you forgot to set up the mirror)
  • If you want to see what xen does while creating your image
  • Go to /var/log/xen-tools and run
 tail -f $HOSTNAME.log 
  • After putting in the default password now we have to change DNS and DHCP
  • DNS is in /var/named/master, you have to edit both files
  • In the 10.80.3 file I changed
 102  IN  PTR  vm02.projects.lan. 
  • to
 102  IN  PTR  vm-102.projects.lan. 
  • and in the projects.lan I changed
 vm02  IN  A 10.80.3.102 
  • to
 vm-102  IN  A 10.80.3.102 
  • Now onto DCHP, this is the file /etc/dhcpd.conf
  • Under my own subgroup I added a few lines
 host vm102.projects.lan {
    hardware ethernet $ETHERNET;
    fixed-address vm-102.projects.lan;
 }
  • If your to lazy (like me) to boot up your VM just to type ifconfig
  • On the vmserver open up the file /etc/xen/$HOSTNAME.cfg and look for the networking subgroup
  • After you type everything correctly run
 # confupdate dns
 # confupdate dhcp
user/bkrishe3/portfolio/hpc0project1.1398184058.txt.gz · Last modified: 2014/04/22 16:27 by bkrishe3