2012年2月15日星期三

The Sixth Week

I searched the Internet and finally found some documents for reading. Right now I have the idea of what it is and how it works roughly. Dr. Parimala and I have talked about some details on the work and expectation of the first step during this month. Firstly, I will do some deeper research on how Xen-tools is working under Solaris 10 in a isolated envirnment; and then moving to getting some VMs to work just as what I have done on my broken laptop.
Further, I may work on creating some very simple programs which can run independently to test the performence of the Live Migration. The main idea is to have independent programs running at the same time or even in order, then when one program with heavy workload, the CPU will automatically start the process of Live Migration which can assign the a new VM and make the live copy to it for the program. The ideal model or the algorithm may be like: choosing the core (or CPU)with least workload or best performance; can assign the RAM to VMs dymatically and be able to collect unused RAM and reassign it to where it is required.
However, so many issues come out, and I have to deal with before it can go. For later,I need to figure out  whether it is needy to find a basic way to control or manage the connection between VMs. On the other side, Dr. Parimala's Master Student--Himani is very helpful to answer some of my questions.

The Fifth Week

Since we are faced with some hardship* during the project and we actually have some achievement of installing and setting up Xen and VMs on a single machine.We were there to find a replacement for my dead machine. We actually found one in Dr. Parimala's lab, and it is installed with Yellow Dog Linux which is a Debian/Fedora version. What is more, that machine is protected by password and the system administrator could not find the password, the only way to use that machine is to reinstall the OS and get the Root permit.Then I tried to find some ISO image file for it, however sources on the P2P network are too few that it may take one week to download the file. we decide to slightly change our topic of the project.
Live Migration is a very hot topic since Windows 2008 Sever RC2 was released. And rightnow, it is getting hotter by more and more utilities of Cloud Computing. Now, we have a desktop with Solaries and all related softwares installed and tested, which really makes the work a little bit easier. What I have done so far is to figure out the way to setting up the Xen on strict Linux family like CentOS and Ubuntu, when talking about Solaris I only have a little bit experience of using the Unix-like system for fun a few years ago.

*My laptop crashed down and it could not start again anyway.

2012年2月1日星期三

4th week and some issues

  Today, I had informal conversation with Dr. Parimala. We still talked about the process.

  There is a list with some details of several tries that I did to install Xen onto my linuxes:

CentOS:
        5.5/ 5.6 can work(need to start xend service manually very often and re-compile the source code often for unknown reason ).
5.7 cannot work

Ubuntu:
        9.04 can work(crashes very often), but a lot of issues that have to figure out before we can actually put it to a local network.

10.04 can work, the kernel still does not support the Xen, everything has to be done manually. During that, a lot of unknown issues may happen such like: service of Xend cannot start; version of grub has to be downgrade to 1.0; 32-bit version of system needs much more work to compile the kernel.

11.04 can install Xen(xend cannot start), almost all the work of installation of Xen can be automatically done by the Synatic Software Centre, and from this version of Ubuntu, it's kernel starts to support Xen again(Version 3), and the workload to installing it to 32-bit system only needs an extra package. Afterthat, the problem occurs during edit the ~/boot/grub/grub.cfg. The modulo of Xen and Xend is there however it still cannot restart with the linux-xen kernel.Furthermore, even I went into menu.lst, and made the Xend-Sever on, the samething.
Also, I tried Ubuntus that use Wubi for installation, which turned out not to be successful in the end. And those issues may be that, this form of installation will not boot up the linux kernel in the bottom. The linux is located upon Dos and Xen kernel needs to be located between hardware and OS.

   Finally, I managed to get it working on Ubuntu 10.04(version of Xen is 4.01). I can have one vitual machine working under it. However, after I shun down my laptop, I cannot start my laptop again. From the final perspective, I failed due to some unkown issues then.
   Here is some of my assumption on that:
   I have multi-OS's installed in my laptop, some are windows and the rest are Linuxes. For details, if Ubuntu will be installed after Windows, then it should use another loader to replace Grub. However, working with Xen, we have no choice so far but using Grub. So after Xen is installed and editing grub files, it will not help for loading up the system, but bringing issues.
   To add it, the possible solution for it so far may be that: make the workstation(the laptop/desktop) installed a Linux version as the only OS in the hard disk. And there may be possible unknown solutions for the Linux that installed by Wubi.