Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

There are two ways of creating a new IBIC virtual machine in a workstation.

Get a copy current version of Virtual Machine from server

In IBIC computing system, Virtual Machine are produced internally. These are milestone releases. Current and previous version of Virtual Machine are stored in central IBIC NAS storage.

For developing purpose, you should always start from current version, and keep track of customization for later migration of central copy. With this method, you can easily have a current version of Virtual Machine anywhere, your workstation, or your home laptop, and use a vm player to run the virtual machine.

  1. Copy current version of Virtual Machine from NAS to your workstation local directory,
Code Block
#cd /current_vm
#cp -r IBIC_0.0.1 /var/lib/vmware/Virtual\ Machine/
Replace IBIC-0.0.1 with the name of virtual machine

# To start VM ware that located in IBIC workstation, start web browser, and type address:

Code Block
https://workstation.ibic.washington.edu:8333/
  1. Follow the instruction on the menu for adding new Virtual Machine, add the vmware you just copied, in this case, it would be IBIC-0.0.1

Create new IBIC Virtual Machine using script

This method requires scripts that are located in a network attached file server.

# Start VMWare server console using web browser, and type address:

Code Block
https://workstation.ibic.washington.edu:8333/ 

         Follow the instruction on the menu for creating a new vm, and configure boot disk to a iso image file in freenas.OS iso file can be located at following location:

Code Block
/freenas/stegbk/OS_installer/RHEL5.3_installer/
  1. Once approach to Install OS stage,  use the kickstart file to start installation.
    At the installation prompt, type:
Code Block
linux ks=nfs:ibicnas.ibic.washington.edu:/export/ibic/home/vm.ks

# Power up the new created virtual machine when installation completed, and mount network file server to the new created vm.

Code Block
#mkdir /mnt/home
#mount ibicnas.ibic.washington.edu:/export/ibic/home /mnt/home

# Setup your vm workstation using scripts in /mnt/home/stegbk

Code Block
#cd /mnt/home/stegbk/setup_linux
#./init_source_dirs.sh
#./first_boot.sh

# Reboot, and log in as root to start installing software package

Code Block
#cd /mnt/home/stegbk/setup_linux
#./install_vm_package.sh