Monday May 11, 2015

Oracle VM 3.3.x: guest hot-backup on different repository (v. 0.6d)


Here you can find the new version ( 0.6d ) of the HotCloneVm.sh script ( one new bug-fix introduced, see above )


The requirement was to have an hot guest backup placed on an NFS-reporitory; this NFS repository ( mounted by all Oracle VM servers also on different pools ) is also mounted from a backup-server; on the other hand, an important requirement is the introduction of an automated backup retention policy.


The target is to have hot backups of guests on a target NFS repository where backup-server(s) (that could be based on all media library supplied by different Hardware Vendors) store everything on media library (tape and/or further media library) and, at the same time, apply a real retention policy time-based or redundancy-based.


So, here you have the script ( that interacts with Oracle VM Manager 3 CLI ) that allows you to schedule hot-snaps and to put them on a dedicated repository (NFS is suggested but you can also evaluate to put them on an OCFS2 repository and export only this "backup" repository outside ).


At the following link you can find a zipped file containing:
  • "SetupSsh.sh" script to setup key-based authentication to Oracle VM Manager 3 CLI
  • "HotCloneVm.sh" script to execute guests hot-backups and proceed to apply retention policies
  • "HotCloneVM_0.6.pdf" containing a real user-guide to implement this backup strategy
  • "README_FIRST.txt" containing some tips to configure ssh timeout(s)

# EDIT May, 11 2015 # 

Introduced new release "0.6d" that fixes one problem where CloneCustomizer of "MoveVm phase" is being

deleted even if it is in use.

# EDIT March, 13 2015 # 

Introduced new release "0.6c" that fixes two kind of problems:

- cloned backups own vNics.

- script is not able to apply backup retention on guest with a "-" in the name

At the following link there is the new 0.6d release available

Script tested also on latest 3.3.2 release. 

Download Here!

Corrections, comments and enhancements are welcome. 

Simon Coter 

Thursday Feb 12, 2015

Oracle VM 3.3.2 Officialy released!

We just released a maintenance update for Oracle VM 3.3 to bring new hardware support, improved stability, and to provide bug fixes.
You can review the What's New wiki for the list of notable bug fixes.
- Oracle VM Server for x86 release 3.3.2
- Oracle VM Manager 3.3.2
- Oracle VM Agent for SPARC 3.3.2

To download the updates:
- Oracle VM Server 3.3.2 for x86, search patch ID 20492240
- Oracle VM Manager 3.3.2, search patch ID 20492250
- Oracle VM Agent 3.3.2 for SPARC, search patch ID 20492222
We also released Windows PV Drivers 3.2.3 to My Oracle Support.
It is a maintenance update that includes all the cumulative bug fixes since the previous 3.2.2 release. The patch update can be downloaded by searching patch ID 16863114 . Be sure to review the README file for a list of bug fixes.
Official Oracle VM blog with all the details available here.

Thursday Nov 20, 2014

Virtual Appliances Download for Oracle VM Hands-on Labs



Thanks to the success of the hands-on labs at Oracle OpenWorld and Virtual Technology Summit, we are now making those hands-on labs available for public download via OTN.
By the hyper-link
http://www.oracle.com/technetwork/server-storage/vm/downloads/hol-oraclevm-2368799.html you can find and download all the images (virtualbox machines) and documentation of the following labs:



  • Create your own template using Oracle VM 3.3.1
  • Build a Private DBaaS Cloud with Oracle VM and Oracle Enterprise Manager 12c
  • Build a complete high-available Oracle VM Architecture



Simon COTER

Monday Sep 16, 2013

Oracle OpenWorld 2013 hands on labs: HOL9981, HOL9982 and HOL10003

oow2013

Oracle OpenWorld 2013 will  start in a few days. As every year, among the 2000+ sessions presented there will be many Hands on labs.

These labs are a unique opportunity to better understand several Oracle products (applications, database, middleware, OS, virtualization, ...). The idea of these labs is to enable 40 to 50 customers and partners to meet in a room and install/configure/use Oracle products on laptops during 1 or 2 hours, following detailed documentation and being helped by several Oracle experts.

Once again, thanks to Doan Nguyen (Principal product marketing director for Oracle VM), Olivier Canonge, Christophe Pauliat and I will run labs about Oracle VM for X86 virtualization.

This year, we were able to propose 3 labs. See details below.

HOL10003: Deploy and Manage a Private Cloud with Oracle VM and Oracle Enterprise Manager 12c

Date: Monday September 23, 3:15pm - 4:15pm
Location: Mariott Marquis Hotel, Room Nob Hill CD
Detailed documentation (PDF)

HOL9981: Best Practices for Migrating to Oracle VM and Oracle Linux from VMware and Red Hat

Date: Monday September 23, 1:45pm - 2:45pm
Location: Mariott Marquis Hotel, Room Nob Hill CD
Detailed documentation (PDF)

HOL9982: Oracle Real Application Clusters 12c: Deploying Four Nodes in Minutes with Oracle VM Templates

Date: Tuesday September 24, 5:15pm - 6:15pm
Location: Mariott Marquis Hotel, Room Nob Hill CD
Detailed documentation (PDF)

If you attend Oracle OpenWorld and are interested by Infrastructure Cloud or Virtualization, add those labs to your calendar using the Schedule Builder tool.

If you cannot be present, you can still run those labs at office or home using your own X86 machine by following the detailed documents.

Wednesday Sep 11, 2013

Script: Know which dom(0) hold a dom(u)

More than one time we would like to know on which physical server our guest resides without open a new connection to our Oracle VM Manager.

So I created a little script that interact with Oracle VM Manager 3 CLI and supply us this information automatically.

Requirements:

- expect installed

- Oracle VM Manager network reachable

Executing the script:

########################################################
 While executing on Oracle VM Guest:
 Use whohost.sh <Oracle VM Manager password> <Oracle VM Manager host>
 Example:
           whohost.sh Welcome1 ovm-mgr.oracle.local
########################################################
#####################################################################################
 If executed from a client and want to specify <guest id> or <guest name>:
 Use whohost.sh <Oracle VM Manager password> <Oracle VM Manager host> <guest vmid(uuid)>
 Example <guest id>:
           whohost.sh Welcome1 ovm-mgr.oracle.local id=0004fb00000600006e13bfb3507a2f29
 Use whohost.sh <Oracle VM Manager password> <Oracle VM Manager host> <guest name>

 Example <guest name>:            whohost.sh Welcome1 ovm-mgr.oracle.local name=vmdb01 #####################################################################################

This little bash script could be executed on a client ( laptop ) or directly on a guest; when executed on a linux guest

we can evaluate to leave out the guest vmid or guest name ( the script automatically picks up the uuid of the guest ).

Execution examples:

From a laptop ( simple client ):

[scoter@area51: ~]# ./whohost.sh Welcome1 srvovmm.oracle.local name=srvtestdb01.oracle.local
 Name = srvtestdb01.oracle.local
 Id = 0004fb0000060000d84a68991ef40c69
 Operating System = Microsoft Windows Server 2008
 Server = 00:14:5e:bc:a7:e8:00:14:5e:bc:a7:e8:00:0e:0c:b1  [srvovm04.oracle.local]

From an Oracle VM guest ( linux ):

 [root@srvlnx01 ~]# ./whohost.sh Welcome1 srvovmm.oracle.local
  Name = srvlnx01.oracle.local
  Id = 0004fb0000060000a8e1af6d58064b4f
  Operating System = Oracle Linux 5
  Server = 00:14:5e:bc:a7:e8:00:14:5e:bc:a7:e8:00:0e:0c:b1  [srvovm02.oracle.local]

Here you can find the little script.

I would like to thank you my colleague Jerome Anten for the collaboration on building up this little but handy script.

Corrections, comments and enhancements are welcome.

Simon Coter

About

Simon Coter is a Principal Product Manager for Oracle VM and VirtualBox.

Search

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