OVM3.0.3 command-line question - how to clone

Guys,
I'm trying to do the following:
take a hot clone every hour of a vm as a sort of backup of the vm
I haven't noticed any functionality in the manager GUI. I need advise on the command to achieve this.
Kind regards,
J
Edited by: JD on May 4, 2012 5:25 PM

Have you tried this one: ovmcli-2.2-9.el5.noarch.rpm
That should provide cli access to the Oracle VM GUI functions, including VM cloning. As a running VM results in a hot clone in OVM 3, maybe this will do th etrick for you. However, the release notes only mention OVM 2.2, but maybe it's worth a shot.

Similar Messages

  • ADT command line packaging - how to add an ANE?

    Hi,
    I need to compile an iOS app from the command line.
    How to add an ANE to a command line packaging?
    This is what I have so far:
    ./adt -package -target ipa-app-store -storetype pkcs12 -keystore iOS7.p12 -provisioning-profile Foo_DragDrop_iPad.mobileprovision Foo_iPad.ipa Foo_iPad-app.xml Foo_iPad.swf FooIcon29.png FooIcon40.png FooIcon48.png FooIcon50.png FooIcon57.png FooIcon58.png FooIcon72.png FooIcon76.png FooIcon80.png FooIcon100.png FooIcon114.png FooIcon120.png FooIcon128.png FooIcon144.png FooIcon152.png FooIcon512.png FooIcon1024.png Default-Landscape.png
    I hope somebody can help me!

    Thanks mate!

  • Command line questions....

    I really have two questions here.
    First, I have a small server that is very similar to this one I pulled off a tutorial:
    public class MyServer{
    // A bare-bones example: exception handling omitted.
       public static void main( String args[] ){
          ServerSocket serv;
          serv = new ServerSocket( 5150 );
          while ( true ) {
             Socket s;
             s = serv.accept();          // Wait for a connection
             handle_connection( s );  // Got one, now do something!
            s.close();
    } When I run this program from the command line it goes into an infinite loop readily accepting connections.
    For the most part, this is what I want. But how do I gracefully exit the program? Simply closing the command window seems drastic, not to mention the list of exceptions it throws.
    Second question: Once I run my program, is there a way I can close the command line window and log off the computer without killing my program?
    thanks.
    (Running on NT)

    How do you stop the program? You write another program that connects to the same socket and sends a message that both programs agree means "Shutdown". When the server receives this message, it shuts down nicely.
    Now you want to run it as an NT service? I've seen people post links to a third-party package that can run a Java class as an NT service; I didn't note the link but you could probably find it by searching the forums.

  • Filenames as Command Line Arguments: How?

    i need to create a program that involves taking in a file name as command line argument, reads the file and then displays its contents on the screen. it needs to work with any file with a .txt extension.
    The only thing i dont fully understand is how to read the file name as a command line argument e.g.
    "java FileReaderApp myfile.txt
    ----contents of file--------
    Thanks in advance
    Carl
    P.S. I have lready read the various helps, utils etc for java and still dont really understand

    Okay, first, it will help if you don't think of "filenames as command line args." The two concepts are totally independent.
    Command line args are Strings. What you do with those Strings is up to you. Processing the command line args is the same, regardless of whether they represent file names or the turnons of the last 50 playmates.
    The args array below contains the command line args.
    public static void main(String[] args) {
    // do stuff
    } Files are generally referred to using the java.io.File. It takes a String for the file name. It doesn't matter where the String comes from.
    Look at FileReader and BufferedReader to actually read the contents of the file.
    http://java.sun.com/j2se/1.4.2/docs/api/java/io/FileReader.html
    http://java.sun.com/j2se/1.4.2/docs/api/java/io/BufferedReader.html
    For the basic command line arg stuff, one of the following should have some info and examples
    http://java.sun.com/docs/books/tutorial/
    http://java.sun.com/learning/new2java/index.html
    http://javaalmanac.com
    http://www.jguru.com
    http://www.javaranch.com
    Bruce Eckel's Thinking in Java
    Joshua Bloch's Effective Java
    Bert Bates and Kathy Sierra's Head First Java

  • Audio guys, LAME command line question

    Hey I know this is not the exact forum for this question but I figured you guys could help me better than anyone. I have a G5 running tiger server and a website that is recompressing uploaded MP3 files using LAME via command line. LAME seems to be mangling some of the files by creating distorted filed and 0 byte sized files. I am wondering is there an any other mac program that I can use to reencode mp3 files with the terminal and command line? LAME is said to be great but the files that are already at the frequency that I want (44.1) are converted ok but everything else is just mangled... any suggestions. Thanks!

    I guess I'm looking for either:
    a suggestion on why LAME might be messing up files, maybe someone wlse who had similar issues with LAME and found a fix
    or
    another mac program like LAME that I can run via command line through PHP to convert files.
    I'll play with automator and see if the itunes option might work.
    Thanks!

  • DOS command line question

    Hi, Isn't there a DOS command line symbol so that when javac returns all your syntax errors you can pause the screen before it blazes by your screen and you only catch the last few syntax errors. I thought it was javac whatever.java /p, but this doesn't work.
    Thanks.......gemann

    You might try
    javac yourClass | more
    but I seem to remember trying that without success.

  • Simple command line question

    i was wondering if there is a way to include all jar files from a single directory on the classpath when running java app from the command line.
    eg i am using this command:
    java -cp ..\libs\jar1.jar;..\libs\jar2.jar;..\libs\jar3.jar;..\classes package.Main
    what i want to be able to do is something like:
    java -cp ..\libs\*.*;..\classes package.Main
    i have tried using *, *.* and *.jar with no success. is it possible to do without setting environment variables etc.
    thanks

    >>
    It may be more error prone, but it's stilleasier. I
    use wildcards on the command line (and * in SQL)all
    the time, with few or no problems.
    Seriously this is a bad idea and you should stop
    doing it.
    You should always name your columns for SELECT (and
    for INSERT as well). For SELECT queries it offers the
    following benefitsSorry--I should have been more clear..
    I dont' use * in production SQL--for the reasons you mentioned. But I do a lot of one-off queries for testing, debugging etc.
    As for wildcards on the command line, again, for my daily putting around, there's not the risk that there is in production. In production, well, it may still be appropriate to use wildcards sometimes. You may actually want "everything in this directory, or that matches this pattern," where you don't know in advance what that will be. Regex comes to mind. :-)

  • QT Command Line Question

    I am looking for a script which I can convert movies through a simple line of code while being able to adjust Quality, file types to convert to, Frame Rates ...
    Pretty much all that Quicktime Pro can do.
    does anyone have an idea of where I can start?

    Try starting by opening the Script Editor in the /Applications/AppleScript folder, loading the QuickTime Player's AppleScript dictionary, and working until you create a script which does what you want. If you succeed in doing this, you can then create a command line method of converting the movies if you want to; post back for further assistance.
    There are a few pure command line tools for QuickTime, but all the ones I found can only play QuickTime files without having the capability to modify anything.
    (13221)

  • Command-Line question. Delete all but particular folders

    Hello. I need to create a batch file that will delete all folders within the "Users" folder except for the Administrator and Administrator.domainname.
    Can anyone help?
    Thanks

    You could try something along the lines of
    FOR /F "tokens=*" %%G IN ('DIR /B /A:D c:\test') DO if not "%%G" == "test2" if not "%%G" == "test3" rd /s /q "c:\test\%%G"
    but if you do, you may also delete
    c:\Users\Public
    c:\Users\Default         (a hidden folder)
    c:\Users\All Users       (a system folder)
    c:\Users\Default User (a system folder)
    Which may be regrettable. If you want an example of what happens then, try reading
    http://superuser.com/questions/219082/accidentally-deleted-user-profiles-on-windows-7-cant-log-on-with-other-users

  • Edquota Command Line Question

    Ok. So I can use sudo edquota <username> and access the VIM editor for any user. Once I make changes, how do I apply/save those changes? I've tried typing :q and but they don't seem to apply these changes.
    Also, even after creating group quota files by using the following commands:
    sudo touch /.quota.group
    and
    sudo touch /.quota.ops.group
    I still can't access these groups using the quota editor. Any help?

    :w saves your work in vi. :wq will save and then exit. :q! will quit abandoning changes and :w! will save changes even if the permissions of a file forbid writing (but not if you neither own the file nor are root).
    Did you try edquota -g to edit the group quota?

  • Command line question,

    Hi all,
    I am using googlecl to upload a bunch of picture to my picasa account, so far no issue.
    But if i'm using ~/picasa-upload/*.JPG it will upload all but in a random order.
    see outcome below:
    Loading file /home/sweetth/picasa-upload/SDC10825.JPG to album Newcastle
    Loading file /home/sweetth/picasa-upload/SDC10809.JPG to album Newcastle
    Loading file /home/sweetth/picasa-upload/SDC10740.JPG to album Newcastle
    Loading file /home/sweetth/picasa-upload/SDC10781.JPG to album Newcastle
    I want to have them to upload from SDC10655.JPG to SDC10800.JPG
    is there a way to right the commands to do have the upload happening in numerical order?
    Many thanks,

    Allthough ls works ok here, parsing ls output is a bad habit in general because a) the output will differ across implementations, b)  it will cause problems if it's used in a for loop like this, and c) it is often not necessary at all...
    Just loop over a glob in bash:
    for f in *.JPG; do googlecl "$f"; done
    (this will call googlecl for each file individually, not sure if that's what you want)
    Or use find and xargs instead of ls:
    find . -name '*.JPG' -print0 | xargs -0 googlecl
    Last edited by hbekel (2010-11-01 12:58:38)

  • I HAVE A C COMMAND LINE TOOL - HOW CAN I PROVIDE PARAMETERS TO MAIN?

    HI,
    Starting debugging I need to supply parameters to be received by the main() function. How or where do I do this?
    Thanks,
    Juan

    In the "Arguments" panel of the Inspector window for the executable.

  • Another Terminal Command Line Question

    Now that I can successfully connect to my iMac back home vis SSH, I an having problems copying files from it to my iDisk using Terminal. Right now I am using the command, "cp filename.ext idisk_name/directory". When I try that, I get an "Operations not permitted" error. What am I doing wrong?

    Post these queries to the Unix forum under OS X Technologies where Unix and Terminal mavens frolic.

  • How do I open a PDF to a specific page via the command line?

    Several questions about opening PDFs from the Mac OS X command line:
    1) How do I use the "open" command to open a PDF to a specific page? (I know I can open a document via: open doc_name.pdf)
    2) How do I use the "open" command to pass multiple arguments (page no, zoom scale, view mode, etc...) to open a PDF file in a specific manner?
    3) Does Preview handle the same parameters as Acrobat Reader? If not, what are the differences in options?
    I've spent hours searching for this answer and have come up dry. I've downloaded Adobe's "PDF Open Parameters" document -- it lists all of the parameters I need, however I can't get any of them to work from the command line.
    My goal: Open a PDF from the command line to a specific page. At first glance, I thought this would be simple to do and find -- however, after a lot of searching I haven't found an example on how to do it.
    Anyone have any experience doing this, and care to share?
    Much appreciated! ---> Kelsey

    I don't know of any way to do what you want using the 'open' command. It can probably be done with Applescript, which you could call from a shell script. The Preview application doesn't seem to be scriptable. I don't use Acrobat, so I can't tell you anything about that. Looking through the dictionaries of the apps I do have, it seems that Skim (another PDF viewer) has an AS 'page' class. Below are a couple of links that may get you started. Look for more specific guidance in Applescript forums.
    http://sourceforge.net/apps/mediawiki/skim-app/index.php?title=AppleScript
    http://links.tedpavlic.com/shell_scripts/skim

  • How to shutdown startup 11g OEM/GRID from Command Line

    Please describe how to shutdown and startup OEM/GRID 11g from command line and how to startup all of its services. Thanks in advance!

    After a some tests i found this method...
    SHUTDOWN
    srvctl stop listener -l LISTENER_NAME
    srvctl stop database -d DBNAME
    srvctl stop diskgroup -g VGGROUP
    srvctl stop asm
    crsctl stop has
    STARTUP
    crsctl start has
    srvctl start asm
    srvctl start database -d DBNAME
    Pls try before to use it and i hope it isn't late...

Maybe you are looking for