This discussion is archived
2 Replies Latest reply: May 22, 2012 6:22 AM by user472471 RSS

How do delete non-existing Repository

911168 Explorer
Currently Being Moderated
There was a repository with a server and some VMs. I accidentally destroyed the LUN holding that storage. How do I clear it from VM Manager's display? I need to recreate the server pool, repository, discover the host, and I'd like to use the same names and IP addresses. I can always uninstall/reinstall manager, but that seems a bit harsh.

Oracle VM 3.1.1 Manager and a single, non-clustered host.
  • 1. Re: How do delete non-existing Repository
    user157995 Explorer
    Currently Being Moderated
    You need to clean up the database, which can be achieved by doing the following on the OVM Manager machine:

    #cd /u01/app/oracle/ovm-manager-3/bin
    #sh ./ dbuser=ovs dbpass=<password> --fixup

    This will go through all the database objects and remake all the connections, and also removes any stale ones at the same time..

    You should do a backup first before attempting this. Details here:
  • 2. Re: How do delete non-existing Repository
    user472471 Newbie
    Currently Being Moderated
    Hi, out of curiosity, I just ran the script on my test environment that has currently no errors. Is this what the output should look like? Tehre was no questions...

    [root@ovmmgr-ec bin]# ./ dbuser=ovs dbpass=Oracle34 --fixup
    find: /tmp/ovmpatches: No such file or directory
    Copying xsl files to patch path location
    `./transform_003000002000_010.xsl' -> `/tmp/ovmpatches/transform_003000002000_01 0.xsl'
    `./transform_003000003000_010.xsl' -> `/tmp/ovmpatches/transform_003000003000_01 0.xsl'
    Copying deleted classes files to patch path location
    `./deletedClasses.xml' -> `/tmp/ovmpatches/deletedClasses.xml'
    INFO ( Oracle OVM Manager Upgrade Processor
    INFO (
    INFO ( Upgrade Initialization Starting
    INFO ( Oracle Distributed Object Fabric (ODOF): Copyright (C) 2007, 2011 Oracle. All rights reserved.
    INFO ( ODOF Version:
    INFO ( Initializing...
    INFO ( Initialization Complete!
    INFO ( Upgrade Initialization Complete
    INFO ( Database Fixup Starting
    INFO ( Fixing up Exchange... (2147 objects)
    INFO ( Fixup has processed 1000 of 2147 objects
    INFO ( Fixup has processed 2000 of 2147 objects
    INFO ( Fixup Complete!
    INFO ( Database Fixup Complete
    [root@ovmmgr-ec bin]#



  • Correct Answers - 10 points
  • Helpful Answers - 5 points