In the last article we have seen that how to upgrade the oracle VM manager.Here we will see how we can upgrade the oracle VM servers. Once you have upgraded the VM manager , you may observed that lower version of oracle VM servers will be yellow marked in OVM console. Its always recommended to match the Oracle VM manager version with Oracle VM server. In this article we will see how we can upgrade the oracle VM server from 3.0.3 to 3.2.1 using OVM web console. We will also see how we can upgrade the server using yum update.
If you are familiar with Redhat Linux, then its very easy.
Here is the current version details of Oracle VM server.Login to Oracle VM server and execute “uname -a” to find the kernel version.
Here is the release details.
In my setup , I going to configure oracle VM manager box as yum repo and I can update the yum path to the OVS boxes.
1.Download the latest version of oracle VM server and keep it in oracle VM manager host.(Oracle Linux OS)
2.Login to Oracle VM manager host and mount the newly downloaded ISO(Oracle VM server). In my case, i have DVD and inserted on the server.So let me mount it directly.
[root@UA-OVM ~]# mount /dev/cdrom /OVS mount: block device /dev/sr0 is write-protected, mounting read-only [root@UA-OVM ~]# df -h /OVS Filesystem Size Used Avail Use% Mounted on /dev/sr0 241M 241M 0 100% /OVS [root@UA-OVM ~]# cd /OVS [root@UA-OVM OVS]# ls -lrt total 90 -rw-r--r-- 2 root root 106 Jan 15 2013 supportinfo -rw-r--r-- 2 root root 1397 Jan 15 2013 RPM-GPG-KEY-oracle -rw-r--r-- 3 root root 1397 Jan 15 2013 RPM-GPG-KEY -rw-r--r-- 3 root root 18390 Jan 15 2013 GPL -rw-r--r-- 2 root root 3334 Jan 15 2013 eula.py -rw-r--r-- 2 root root 6825 Jan 15 2013 eula.en_US -rw-r--r-- 3 root root 6825 Jan 15 2013 EULA drwxr-xr-x 2 root root 4096 Jan 15 2013 isolinux -r--r--r-- 1 root root 2646 Jan 15 2013 TRANS.TBL drwxr-xr-x 3 root root 43008 Jan 15 2013 Server drwxr-xr-x 3 root root 2048 Jan 15 2013 images [root@UA-OVM OVS]#
3.Perform the below steps in an order to get yum work over http.
[root@UA-OVM ~]# cd /var/www/html/ [root@UA-OVM html]# ln -s /OVS/Server /var/www/html/OVSREPO [root@UA-OVM html]# ls -lrt total 0 lrwxrwxrwx 1 root root 11 Jun 6 10:31 OVSREPO -> /OVS/Server [root@UA-OVM html]#
4.Test the link by opening http://192.168.2.10 in the browser.You can see OVSREPO link and if you click that it will take you to packages .
5.Login to oracle VM and update the yum repository information.Click on Tools and Resources and select Server Update Management (YUM)
6.Enter the URL which we have give in OVS.repo file and click on OK.
7.Select Server and VMs tab and select the server which doesn’t have any guest. If you have guest just move it to other OVS server or halt it.
8.Right click the server and click on edit to put the host in maintenance mode.
9.Right click the server again and click on update server.
10.Offcourse this step will automatically migrate the VM’s and it will put the server maintenance mode.
11.Click on the running jobs and you can see that update job in progress.
12.Login to oracle VM server and you can see yum update process is running on that.
13.Once the upgrade is completed ,system will reboot .
14.Once the OVS is up , you can check the version details.
The same way up can upgrade other Oracle VM servers .
You can also directly upgrade the oracle VM server using “yum update” command. After the 8th step , you can directly logged in to oracle VM server and execute “yum update ” command to upgrade the server.
Hope this article is informative to you .
Share it ! Comment it !! Be Sociable !!!
andres says
Thank you very much!