Some Oracle VM 3 updates

Today we did another patch set update for Oracle VM 3 (3.0.3-build 240). This can be downloaded from My Oracle Support as patch ID 13614645. There are quite a few updates in here and I highly recommend any Oracle VM 3 customer or user to install this update.

This patch can be installed on top of Oracle VM 3.0 versions 3.0.2 and 3.0.3. The patch is cumulative for 3.0.3. So if you already installed patch update 1 (3.0.3-150) then this will just be incremental on top of that and brings you to 3.0.3-build 227. There is a readme file which contains the patchlist in the patch info.

The following patches are released on ULN for Oracle VM server 3.0 :

  • initscripts-8.45.30-2.100.18.el5.x86_64 The inittab file and the /etc/init.d scripts.
  • kernel-ovs-2.6.32.21-45.6.x86_64 The Linux kernel
  • kernel-ovs-firmware-2.6.32.21-45.6.x86_64 Firmware files used by the Linux kernel
  • osc-oracle-ocfs2-0.1.0-35.el5.noarch Oracle Storage Connect ocfs2 Plugin
  • osc-plugin-manager-1.2.8-9.el5.3.noarch Oracle Storage Connect Plugin Infrastructure
  • osc-plugin-manager-devel-1.2.8-9.el5.3.noarch Oracle Storage Connect Plugin Development
  • ovs-agent-3.0.3-41.6.x86_64 Agent for Oracle VM
  • xen-4.0.0-81.el5.1.x86_64 Xen is a virtual machine monitor
  • xen-devel-4.0.0-81.el5.1.x86_64 Development libraries for Xen tools
  • xen-tools-4.0.0-81.el5.1.x86_64 Various tooling for the manipulation of Xen instances
  • Errata emails will be sent in the next few days with details on the above updates. Or you will find them here.

    I also did an update of my Oracle VM utilities to 0.4.0. They are also available from My Oracle Support, patch ID 14736239.
    These utils can be unzipped and installed on the server running Oracle VM Manager. Typically in /u01/app/oracle/ovm-manager-3/ovm_utils. There is a set of man pages in /u01/app/oracle/ovm-manager-3/ovm_utils/man/man8. There now are 6 commands :

  • ovm_vmcontrol : VM level operations
  • ovm_servercontrol : server level operations
  • ovm_vmdisks : virtual disk/physical location mapping for VM disks
  • ovm_vmmessage : message passing utility between the manager and the VM tools (in the Oracle VM templates)
  • ovm_repocontrol : repository level operations
  • ovm_poolcontrol : pool level operations

    Some of the new changes :

  • at a pool level, acknowledge events and cascade to servers and virtual machines with outstanding events
  • at a pool level, do a rescan of the storage for fibrechannel/iscsi disks if you add new devices (it does this operation then on every running server)
  • at a repository level, fixup a device if it had a failed create repository
  • at a repository level, refresh the repository and this will update the free space in the UI for ocfs2 repositories
  • at a server level, acknowledge server events and cascade to virtual machines if needed
  • at a VM level, acknowledge VM events
  • at a VM level, bind vcpus to cores with vcpuset/vcpuget

    Please see the man pages and remember that these tools are just written As Is - no SRs... (per the documentation) Hopefully they are useful.

  • Comments:

    Only way to download this patch is to submit an SR to obtain a password?

    Posted by guest on April 06, 2012 at 04:01 PM PDT #

    Good stuff! This helps with several problems I've had recently. I also love the utilities. We really need a complete set of utilities if we are to treat the VM Servers as black boxes.
    Thanks!!!!

    Now if I can just compile the new Intel e1000e driver on the VM Servers for VLAN tagging ;(

    Posted by Robert Joost on April 12, 2012 at 11:37 AM PDT #

    Hi

    Pls, would it be possible to include "umask 22" into the script runUpgrader.sh or upgrade in a future OVM Manager updates?

    I ran it with our default umask 77 at first. It created 8 files under the directory tree /u01/app/oracle/ovm-manager-3/weblogic with the permissions 600 root root and the upgrade failed, because user oracle couldn't read them - files plan.xml.

    The right, but unmentioned, umask is more open 22. I don't know, why it is not set in the upgrade scripts at the beginning.

    There are 8 objects (1 dir and 7 files) owned by root under /u01/app/oracle/ovm-manager-3 in the version 3.0.3.126, but there are 107 objects under /u01/app/oracle/ovm-manager-3 in the new version 3.0.3.240. I'm not sure whether it's right.

    with hope
    Tom Mueller

    Posted by Tomas Mueller on April 12, 2012 at 11:22 PM PDT #

    @Tom : thanks , I will make sure the team looks into this

    @guest : fixed

    @Robert : hmm which version do you need of the driver - have you updated the server rpms as well?

    Posted by Wim on April 13, 2012 at 02:42 AM PDT #

    I set up the Tools template and understand how to build/re-build drivers and such on VM Servers now. It was flawless!

    Posted by Robert Joost on April 13, 2012 at 11:48 PM PDT #

    Wim,

    We took a look at the 0.4.0 utilities and they work as designed.

    Do you happen to have a roadmap of what you plan on adding, with regards to command-line tools, as the 3.x series continues?

    I like the approach that Oracle has acquired with Virtualbox, for example. I like being able to kick things off and manage it from command-line, if need be. It just makes things easier to script around. For example, right now we're attempting to troubleshoot an issue with one vlan bridge existing in ServerPoolA and not in ServerPoolB. We are working with the correct people on this, so that's not the issue. But the CLI would be the perfect option for us in the case where we need to remove 40-50 vm's quickly. Here's an example of something we might typically do:

    for SIMPLENAME in $(./ovm_vmcontrol -u admin -p nopassforyou -h localhost -c list | awk -F\' '/VM name/ {print $2}'); do
    `ovm_vmservercontrol -u admin -p nopassforyour -h localhost -c deletevm -v $SIMPLENAME`
    # maybe an option to force, or to remove related disks also?
    done

    Posted by guest on May 02, 2012 at 08:55 AM PDT #

    Post a Comment:
    • HTML Syntax: NOT allowed
    About

    Wim Coekaerts is the Senior Vice President of Linux and Virtualization Engineering for Oracle. He is responsible for Oracle's complete desktop to data center virtualization product line and the Oracle Linux support program.

    You can follow him on Twitter at @wimcoekaerts

    Search

    Categories
    Archives
    « April 2014
    SunMonTueWedThuFriSat
      
    1
    2
    3
    4
    5
    6
    7
    9
    10
    11
    12
    13
    14
    15
    16
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
       
           
    Today