Oracle VM Templates: Resizing a Template's Disk

Is it possible to shrink (i.e., resize) the Virtual Disk of a Virtual Machine Template? Specifically, I'd like to to reduce the size of the +12GB Virtual Disk that's prepackaged with the OVM_OL6U2_x86_64_PVM template (that comes as part of the Oracle Linux 6 Update 2 template (OVF) - Paravirtualized x86_64 (64 bit) assembly - OVM_OL6U2_x86_64_PVM.ova [Oracle P/N V33689-01]).
Eric Pretorious
Truckee, CA

francok wrote:
i test to import the JDE Enterprise Server E1 from the Oracle VM Templates. I get a error, that they miss the system.img file. i know that in this template only the E1_ENT.img is in. On OVM 2.2.2 it will work because the import is another way. So i just copy the system.img to that template make a new tar and import it, and now it will work. But is there a date or a relaunch from the templates to work official with OVM 3.0.1? i see that on the E1-JDE Templates the Date is form 9.September 2011, but i dont see what they have changed. So what is the best way for import without any modifications Oracle VM Templates to Oracle VM Server 3.0.1?The existing templates should import into OVM3 without modification. I'll try and get the test/QA guys to look at the JDE template and check this as well.

Similar Messages

  • Oracle rac templates 11g R2 buildcluster.sh error

    Hi All,
    am facing below error, while creating oracle rac templates. kindly let us know how to resolve below error.
    ===error=========================
    Oracle RAC 11gR2 OneCommand (v1.2) for Oracle VM - (c) 2010-2011 Oracle Corporation
       Cksum: [1170221909 255000 racovm.sh] at Sun Jan  5 04:15:14 EST 2014
       Kernel: 2.6.18-194.0.0.0.3.el5xen (i686) [1 processor(s)] 1700 MB
    2014-01-05 04:15:14:[printparams:Time :racnode1] Completed successfully in 4 seconds (0h:00m:04s)
    2014-01-05 04:15:14:[setsshora:Start:racnode1] SSH Setup for the Oracle user(s)...
    INFO (node:racnode1): Running as oracle: /u01/racovm/ssh/setssh-Linux.sh -s -x -c NO -h nodelist -p ***   (setup on 2 node(s): racnode1 racnode2)
    ERROR: Failed to create temporary file /tmp/setssh-cretmpQY3958 on localhost, can not proceed
    Exiting...
    ERROR (node:racnode1): Failed to configure passwordless SSH for the oracle user
    2014-01-05 04:15:17:[setsshora:Time :racnode1] Completed with errors in 3 seconds (0h:00m:03s), status: 1
    2014-01-05 04:15:17:[buildcluster:Time :racnode1] Completed with errors in 58 seconds (0h:00m:58s), status: 1
    thanks,
    Mike.

    Try this. It worked for me.
    Please keep in mind that you will need wait till each step finishes successfully before move to next one
    For Step1 and 2, you can skip node(s) on which you didn't execute root.sh yet.
    Step 1: As root, run "$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force" on all nodes, except the last one.
    Step 2: As root, run "$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force -lastnode" on last node. This command will zero out OCR and VD disk also.
    Step 3: As root, run $GRID_HOME/root.sh on all node one by one

  • Error creating Virtual Machine from Oracle VM Template Input/output error

    Hi,
    I'm creating a virtual machine from the Oracle VM Template (OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM) I downloaded from eDelivery. I keep getting this error.
    =========
    Check Agent Version
    Check Address and NetworkType
    Register virtual machine img
    Register virtual machine geninfo
    Register networks
    Register virtual disks
    CopyFromTemplateAsync:Call agent
    CopyFromTemplateCallBack
    CallBack:end-success:end:failed:<Exception: ['dd', 'if=/var/ovs/mount/ECE4B252180944D18EE19A4F6C9EC3F0/seed_pool/OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM/System.img', 'iflag=direct', 'of=/var/ovs/mount/ECE4B252180944D18EE19A4F6C9EC3F0/running_pool/39_E_BIZ_1213_APP/System.img', 'bs=1M'] => dd: reading `/var/ovs/mount/ECE4B252180944D18EE19A4F6C9EC3F0/seed_pool/OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM/System.img': Input/output error
    4872+0 records in
    4872+0 records out
    5108662272 bytes (5.1 GB) copied, 205.557 seconds, 24.9 MB/s
    >
    StackTrace:
    File "/opt/ovs-agent-2.3/OVSXUtility.py", line 354, in utl_cp_vm
    run_cmd(args=cmd)
    File "/opt/ovs-agent-2.3/OVSCommons.py", line 92, in run_cmd
    raise Exception('%s => %s' % (args, err))
    Update virtual machine status:Error
    ========
    After endless searches there doesn't seem to be a lot of information out there.
    Any help will be appreciated.
    regards
    Dave

    It looks like your disk drive may have bad sectors on it, and when the dd copy reaches those bad sectors, it reports an error. Check /var/log/messages on the OVM server to see if it reports disk errors.

  • Oracle SQL template to create re-usable DDL/DML Scripts for Oracle database

    Hi,
    I have a requirement to put together a Oracle SQL template to create re-usable DDL/DML Scripts for Oracle databases.
    Only the Oracle DBA will be running the scripts so permissions is not an issue.
    The workflow for any DDL is as follows:-
    1) New Table
    a. Check if the table exists from the system/admin views.
    b. If table exists then give message "Table Exists"
    c. If table does not exist then execute DDL code
    2) Add Column
    a. Check if Column exists for a given table from system/admin views
    b. If column exists in the specified table,
    b1. backup table.
    b2. alter table to make changes to the column
    b3. verify data or execute dml script convert from backup to the new change.
    c. If Column does not exist
    c1. backup table
    c2. alter table to add column
    c3. execute dml to populate column with default value.
    The DML scripts are for populating base tables with data required for business operations.
    3) Add new row
    a. check if row exists by comparing old values of each column with new values to be added for the new record.
    b. If exists, give message row exists
    c. If not exists, add new record.
    4) Update existing record (We have createtime columns in these tables so changes can be tracked)
    a. check if row exists using primary key.
    b. If exists,
    b1. deactivate the record using the "active" column of the table
    b2. Add new record with the changes required.
    c. If does not exist, add new record with the changes required.
    Could you please help with some ideas which can get this done accurately?
    I have tried several ways, but I am not able to put together something that fulfills all requirements.
    Thank you,

    First let me address your question. (This is the easy part.)
    1. The existence of tables can be found in DBA_TABLES. Query it and and then use conditional logic and execute immediate to process the DDL.
    2. The existence of table columns is found in DBA_TAB_COLUMNS. Query it and then conditionally execute your DDL. You can copy the "before picture" of the table using that same dba view, or even better, use DBMS_METADATA.
    As for your DML scripts, they should be restartable, reversible, and re-run-able. They should "fail gracefully" on error, be written in such a way that they can run twice in a row without creating duplicate changes.
    3. Adding appropriate constraints can prevent invalid duplicate rows. Also, you can usually add to the where clause so that the DML does only what it needs to do without even relying on the constraint (but the constraint is there as a safeguard). Look up the MERGE statement to learn how to do an UPSERT (update/insert), which will let you conditionally "deactivate" (update) or insert a record. Anything that you cannot do in SQL can be done with simple procedural code.
    Now, to the heart of the matter...
    You think I did not understand your requirements?
    Please be respectful of people's comments. Many of us are professionals with decades of experience working with databases and Oracle technology. We volunteer our valuable time and knowledge here for free. It is extremely common for someone to post what they feel is an easy SQL or PL/SQL question without stating the real goal--the business objective. Experienced people will spot that the "wrong question" has been asked, and then cut to the chase.
    We have some good questions for you. Not questions we need answers from, but questions you need to ask yourself and your team. You need to reexamine this post and deduce what those questions are. But I'll give you some hints: Why do you need to do what you are asking? And will this construct you are asking for even solve the root cause of your problems?
    Then ponder the following quotations about asking the right question:
    Good questions outrank easy answers.
    — Paul Samuelson
    The only interesting answers are those which destroy the questions.
    — Susan Sontag
    The scientific mind does not so much provide the right answers as ask the right questions.
    — Claude Levi-Strauss
    You can tell whether a man is clever by his answers. You can tell whether a man is wise by his questions.
    — Mahfouz Naguib
    One hears only those questions for which one is able to find answers.
    — Friedrich Nietzsche
    Be patient towards all that is unresolved in your heart and try to love the questions themselves.
    — Rainer Maria Rilke
    What people think of as the moment of discovery is really the discovery of the question.
    — Jonas Salk
    Judge a man by his questions rather than his answers.
    — Voltaire
    The ability to ask the right question is more than half the battle of finding the answer.
    — Thomas J. Watson

  • Oracle VM Template Error - Power on VM:  failed

    Hi This is driving me crazy.
    I'm trying to do proof on concept so I can check we can use this in our enterprise.
    I have set up 64bit Oracle VM and Oracle VM Manager with a working 2003 server no problems its running fine.
    I have downloaded the Oracle VM Template which has Oracle 10G database 64bit linux install.
    I have imported it and then when i try to power on I get the following error, with the pre-warning message below it.
    The template is running off local storage which is plentyful.
    Also is there any easy way of seeing how how storage you actually have, I find the interface quite frustrating on the storage front.
    Power on VM: failed:<Exception: return=>failed:<Exception: ['xm', 'create', '/OVS/running_pool/24_scctest/vm.cfg']=>Error: Boot loader didn't return any data! > StackTrace: File "/opt/ovs-agent-2.2/OVSXXenVM.py", line 57, in xen_start_vm run_cmd(args=cmd) File "/opt/ovs-agent-2.2/OVSCommons.py", line 98, in run_cmd raise Exception('%s=>%s' % (cmdlist, p.childerr.read())) > StackTrace: File "/opt/ovs-agent-2.2/OVSSiteVM.py", line 86, in start_vm raise e Oct 6, 2009 9:38:33 AM Error
    Configure VM: scctest failed: <Exception: Error updating the image.> StackTrace: File "/opt/ovs-agent-2.2/OVSSiteVM.py", line 471, in config_vm raise Exception("Error updating the image.") Oct 5, 2009 3:20:56 PM Warn
    Please help

    I suspect that the hypervisor isn't capable of running the guest. Check the output of xm info|grep xen_caps to see if it can run x86_64 guests. Here is an example:
    # xm info|grep xen_caps
    xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64

  • Oracle VM Template for Primavera PPM

    Hi,
    Will edelivery be releasing any Oracle VM templates for Primavera Project Portfolio Management in the foreseeable future (within the next 2 months)? We are exploring VM deployment options with Primavera.
    Thanks.
    Regards,
    Martin

    Hi,
    i downloaded the templates, got the vm guests running. But when I login to Siebel guest and start_siebel I get... core dump and errors that gateway (and the rest) cannot be started. I am quite puzzled with this, any ideas strongly appreciated.
    Cheers,
    A.

  • OVAB as an Oracle VM Template

    Any plans on producing an Oracle VM template which has an Oracle Linux OS, and Oracle Virtual Assembly Builder configured and installed? That would be really helpful.
    Alison

    The current plan is to continue with provisioning OVAB using Oracle Installer but we will surely make a note of providing an OVM template for OVAB in future. At the same time, would be interested in knowing your use case where you think an OVM template would be much more useful/easier than using Installer to provision OVAB product.
    Thanks
    Shail

  • Re: Oracle Database Template

    I have the same issue. I have a database template created in 11.2.0.2.0 and I need this template to use in 11.2.0.3.0. I was wondering if I need to install 11.2.0.2.0 and then upgrade it to 11.2.0.3.0 to be able to use the template. I am not sure if there is a more efficient way of doing it. Is there a better way of migrating templates created in an earlier version of Oracle?

    This following thread is also yours, right?
    Oracle Database Template
    Aman....

  • OEL 5.5 running Oracle VM Templates

    Dear experts
    I have installed a server with OEL 5.5 in order to run the Oracle VM Templates for Siebel.
    I'm able to run the oracle vm's using xm create vm.cfg
    However I cannot ping the guest machine just started.
    I'm able to login with VNC using the host ip.
    Any clues?

    Is the firewall enabled for the guest OS? I'd expect it to be enabled by default and thus deny an ICMP packets.

  • Oracle VM and Oracle VM Template for Enterprise Manager Cloud Control 12c M

    Hello!
    After installation of *"Oracle VM 3.1.1 Media Pack v1 for x86_64 (64 bit)"* to bare hardware
    can I install Oracle VM Template for Enterprise Manager Cloud Control 12c Media Pack ?
    Is it the wrong plan ?
    What to do if I need to set VLAN №1 ? (according note of installer I have to choose number between 2 and 4094 )
    Thanks and regards,
    Pavel
    Edited by: Pavel on Jul 30, 2012 5:01 AM

    Yes, you can install Oracle VM Manager, create a server pool with the one parent Oracle VM server in it, and then deploy the Oracle VM template in the pool. Once EM VM is up and running, you can register the same Oracle VM Manager with EM, to manage the pool.
    In general, it is not recommended that you use the OVM server backend directly. But for bootstrapping the EM environment, you can also try the following:
    Download the OVM Template on the Oracle VM server. From the OVM server terminal itself you can do "xm create" to spin a new virtual machine using the Oracle VM teamplate. Once the VM comes up, VNC into the VM and configure the EM OMS and agent.

  • Oracle VM Template for Enterprise Manager Cloud Control 12c Media Pack v1

    Hello
    I download Oracle VM Template for Enterprise Manager Cloud Control 12c Media Pack v1
    I was checking the structure and I found this
    [oracle@em12c bin]$ cd /u01
    [oracle@em12c u01]$ ls
    app lost+found OracleHomes oracle-template.sh scripts
    [oracle@em12c u01]$ cd OracleHomes/
    [oracle@em12c OracleHomes]$ ls
    checkpoints db11g Middleware
    [oracle@em12c OracleHomes]$ pwd
    /u01/OracleHomes
    [oracle@em12c OracleHomes]$ cd db11g/
    [oracle@em12c db11g]$ ls
    admin cfgtoollogs checkpoints diag fast_recovery_area oradata product
    [oracle@em12c db11g]$ cd ..
    [oracle@em12c OracleHomes]$ cd Middleware/
    [oracle@em12c Middleware]$ ls
    [oracle@em12c Middleware]$
    The Database has all binaries but Middleware is empty
    Same body knows about this issue.
    Regards

    Yes, you can install Oracle VM Manager, create a server pool with the one parent Oracle VM server in it, and then deploy the Oracle VM template in the pool. Once EM VM is up and running, you can register the same Oracle VM Manager with EM, to manage the pool.
    In general, it is not recommended that you use the OVM server backend directly. But for bootstrapping the EM environment, you can also try the following:
    Download the OVM Template on the Oracle VM server. From the OVM server terminal itself you can do "xm create" to spin a new virtual machine using the Oracle VM teamplate. Once the VM comes up, VNC into the VM and configure the EM OMS and agent.

  • Oracle Project Template

    I was watching the webcast of ODP. The instructor does a .NET stored procedure demo and creates a new C# project and selects an Oracle Project template. I have ODP 10.1.0.4 installed and followed the webcast but when I create a new project and try to select the template it is not a listed project template. Does anyone know how this gets installed?

    The Oracle Project is used for .NET stored procedure development and deployment. The version of ODT that contains this Oracle Project is not yet released. We expect it to be available sometime next month. Stay tuned...
    Christian Shay
    Oracle

  • Oracle VM Templates for OEBS Release 12.1.3 Vision Media - missing files

    I downloaded all 11 parts ( 8 - DB and 3 - APPS) for this media pack template - Oracle VM Templates for Oracle E-Business Suite Release 12.1.3 Vision Media.
    Per the media pack README I unzipped each file and and then concatenated (and gunzipped) them into directories for DB and APPS respectively. According to the media pack README there should be README.txt and System.img files in each directory in addition to the template .img file and vm.cfg files. Neither directory contains README.txt or System.img files, and only the APPS directory contains a vm.cfg file. Both directories do include a template .img file.
    # ls -l OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM
    total 48004528
    -rw-------. 1 root root 49156626432 Apr 16 17:17 ebs1211db.img
    # ls -l OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM
    total 16065672
    -rw-------. 1 root root 16451237888 Apr 17 08:35 ebs1211apps.img
    -rw-r--r--. 1 root root 448 Feb 24 2011 vm.cfg
    When I put each directory into a tar ball and attempt to import either template, they fail with an error message indicating the System.img does not exist...because it doesn't.
    Are the README.txt and System.img files missing from the template,? Do i need to download the template again?
    Any insight and assistance is appreciated.
    Thank you,
    Phil
    Edited by: PhilS on Apr 18, 2012 10:36 AM

    PhilS wrote:
    I answered my question and/or discovered the issue. To get the Oracle VM Template (8 parts) in question to the server where there was space to extract them, I had to copy them between servers. The first time I copied them I did it via an NFS mount and apparently some corruption resulted causing the template to not import successfully. I deleted the template parts from the destination server and Hi Phil, Can you please explain how you managed to import the files once after copying to the destination? ie, until now I was using FTP to download the templates(which are in .tgz format)
    copied them a second time via scp. This time the files were intact and the template imported successfully to the OVM Manager. Issue resolved.I am kind of a beginner with Oracle VM environment and completely lost with making it easier to import the templates. I mean, following the readme.txt I unzipped the files, which created the four files for application and database tiers and then I used to tar repack them (following a suggestion received from another thread) and then imported them through a FTP session
    The entire activity took almost two and half days, when an alternative method as what you mentioned looks quite feasible to implement, especially while dealing with large templates like the ones for E-Business suite. Hence please answer the following:
    What do you mean by secure copying to target file. Does it mean you copied the template elements to a particular folder with VM Server?
    Once after copying the files using secure copy, how did you import them?
    What is your VM environment? A lot of things have changed with VM Server 3.1.1, the OVS/seed_pool structure is not any further available and the template import has been restricted to http, https or FTP sessions.
    Please supply the details, if possible
    regards,
    raj

  • Building Oracle VM Template for Exalogic

    We're upgrading our Exalogic system to support virtualization and we'd like to create Exalogic-specific templates using OVAB. The problem is that we can't find an Exalogic-specific system base image that we can use for the template. When I try using the base image provided by OVAB, it complains about base image and tells me to install the "Oracle VM template configure tool RPM" I haven't been able to find that either.
    Can anyone tell me where I can get either an Exalogic-specific base image or the "Oracle VM template configure tool RPM"? Thanks very much.

    try this
    Login to edelivery
    Select a Product Pack - Oracle Fusion Middleware
    Platform - Linux x86-64
    Then, click Go
    Click on Oracle Exalogic Elastic Cloud Software 11g Media Pack
    Then download - Oracle Exalogic 2.0.1.1.0 Base Guest Template for Exalogic Linux x86-64 (64 bit) - V33449-01

  • Oracle VM Template for Siebel 8

    Oracle now provides an Oracle VM template for Siebel 8. Once you have downloaded the template, they say it only takes about 30 minutes to setup your entire Siebel installation!
    The template includes the industry version of Siebel 8 and the Oracle 11g database configured with the Siebel schema. More info is available here: http://www.oracle.com/technology/products/vm/templates.html

    Hi,
    i downloaded the templates, got the vm guests running. But when I login to Siebel guest and start_siebel I get... core dump and errors that gateway (and the rest) cannot be started. I am quite puzzled with this, any ideas strongly appreciated.
    Cheers,
    A.

Maybe you are looking for

  • My phone suddenly quit working.  Totally blank

    My phone was on the charger all night, and charged and working this morning.  I checked email on it this morning.  Went back to it a couple of hours later to unplug and use, and the screen stayed blank when I pressed the home button.  I tried turning

  • IMovie 09 export issue

    Has anyone experienced a problem exporting project using the Export>Export to Quicktime Movie... Every time I use the Export to Quicktime , and this is the best way to export a quality result it just takes a Whole day to finish exporting! I mean a DA

  • Transfer data from the JSP to other sites

    I want to transfer the data from a jsp to a external site. where the data required for the user name and password in the site are available in the JSP. (Here the external site is not under our control.........) From this JSP data should be able to tr

  • Sourcing UNIX Classpath in Java code

    Hi All, I was wondering where I could find a sample of how I can source the CLASSPATH value in UNIX in a java program. I want to write a program that can retrieve the value of the CLASSPATH or any other UNIX variable. If I set something like export $

  • Photo booth effects

    how can i upgrade/get to the new photobooth effects? i have version 2.0.3 (77)