OVM Manager 3.2.1 fail to discover Oracle VM for SPARC 3.0

tail -f /var/log/ovs-agent.log
[2013-03-05 17:06:20 3785] DEBUG (service:76) call start: get_api_version
[2013-03-05 17:06:20 3785] DEBUG (service:76) call complete: get_api_version
[2013-03-05 17:06:20 3786] DEBUG (service:76) call start: discover_server
[2013-03-05 17:06:21 3786] WARNING (settings:48) cannot get core api version: [Errno 2] No such file or directory: '/usr/lib/python2.6/site-packages/version.properties'
[2013-03-05 17:06:21 3786] DEBUG (service:76) call complete: discover_server
[2013-03-05 17:06:22 3800] DEBUG (service:76) call start: discover_hardware
[2013-03-05 17:06:22 3800] DEBUG (service:76) call complete: discover_hardware
[2013-03-05 17:06:38 4093] DEBUG (service:76) call start: discover_network
[2013-03-05 17:06:55 4093] DEBUG (xmpp:528) feature: starttls
[2013-03-05 17:06:55 4093] INFO (xmpp:584) switching to SSL connection
[2013-03-05 17:06:55 4093] DEBUG (ldmxml:1542) ldmxml request: list-services([{'domain': 'primary'}])
[2013-03-05 17:06:55 4093] DEBUG (ldmxml:1548) ldmxml request completed. [list-services]
[2013-03-05 17:06:58 4093] ERROR (service:96) catch_error: 'aggr1.2100'
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/agent/lib/service.py", line 94, in wrapper
return func(*args)
File "/usr/lib/python2.6/site-packages/agent/api/network/solaris_network.py", line 276, in discover_network
simpledoc = discovernetwork()
File "/usr/lib/python2.6/site-packages/agent/api/network/solaris_network.py", line 537, in discovernetwork
if links[netdev]['class'] == 'vlan':
KeyError: 'aggr1.2100'

Thnaks for the update,
The requirement of aggr + 2100+ 001 is only in Solaris 10. In Solaris 11 a vnic-link + vLan tag can be almost any name (some miner restrictions), below is the man page (unless this is an OVM manager requirement).
Our network configuration is, LACP (net13+net17), and vnics with vlan tags on top assigned to zones or vsw on top of the aggr1 assigned to OVM for SPARC.
dladm show-link
LINK CLASS MTU STATE OVER
aggr1 aggr 1500 up net13 net17
bnycloud1 vnic 1500 up aggr1
apps1 vnic 1500 up aggr1
bnyde1a1 vnic 1500 up aggr1
cloudpriv1 vnic 1500 up net14
cloudpriv2 vnic 1500 up net18
[...] many more
man dladm
dladm create-vnic [-t] -l link [-R root-dir] [-m value | auto |
{factory [-n slot-identifier]} | {vrrp -A {inet | inet6} -V vrid}
| {random [-r prefix]}] [-v vlan-id] [-p prop=value[,...]] vnic-link
vnic-link
A virtual network interface created on a link or an
etherstub. It is a pseudo device that can be treated
as if it were an network interface card on a
machine.
Thnaks,
Eli

Similar Messages

  • OVM Manager 3.1.1 can't discover one of the servers

    Hi,
    I have a weird problem with one of our OVM3 servers. Due to "System is initializing ..." errors I had to delete and recreate the OVM Manager DB. The operation went smoothly but after a restart I'm only able to discover one of the servers (soaovm2). We actually have each of the servers in a separate pool (self-tough best practice if you plan to use RAC on the VMs). So, as mentioned the second server was discovered just fine (with pool and everything) but the first server is refusing to get discovered:
    Job Construction Phase
    begin()
    Appended operation 'Discover Manager Server Discover' to object 'OVM Foundry : Discover Manager'.
    commit()
    Completed Step: COMMIT
    Objects and Operations
    Object (IN_USE): [DiscoverManager] OVM Foundry : Discover Manager
    Operation: Discover Manager Server Discover
    Job Running Phase at 15:48 on Tue, Jun 11, 2013
    Job Participants: []
    Actioner
    Starting operation 'Discover Manager Server Discover' on object 'OVM Foundry : Discover Manager'
    Setting Context to model only in job with id=1370965683697
    Operation 'NTP Service Configure' in non-job running context, not adding it to object 'e4:11:5b:ac:b1:10:e4:11:5b:ac:b1:10:e4:11:5b:ac'.
    Operation 'NTP Service Configure' in non-job running context, not adding it to object 'e4:11:5b:ac:b1:10:e4:11:5b:ac:b1:10:e4:11:5b:ac'.
    Operation 'Server Set Statistic Interval' in non-job running context, not adding it to object 'e4:11:5b:ac:b1:10:e4:11:5b:ac:b1:10:e4:11:5b:ac'.
    Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: discover_hardware to server: e4:11:5b:ac:b1:10:e4:11:5b:ac:b1:10:e4:11:5b:ac failed. OVMAPI_4004E Server Failed Command: discover_hardware , Status: org.apache.xmlrpc.XmlRpcException: I/O error while communicating with HTTP server: The server 57.56.168.171 failed to respond
    Tue Jun 11 15:48:08 UTC 2013
    Tue Jun 11 15:48:08 UTC 2013
    at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:507)
    at com.oracle.ovm.mgr.action.ActionEngine.sendUndispatchedServerCommand(ActionEngine.java:459)
    at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:385)
    at com.oracle.ovm.mgr.action.ActionEngine.sendDiscoverCommand(ActionEngine.java:308)
    at com.oracle.ovm.mgr.action.ServerAction.getHardwareInfo(ServerAction.java:104)
    at com.oracle.ovm.mgr.discover.ovm.ServerHardwareDiscoverHandler.query(ServerHardwareDiscoverHandler.java:206)
    at com.oracle.ovm.mgr.discover.ovm.ServerHardwareDiscoverHandler.query(ServerHardwareDiscoverHandler.java:42)
    at com.oracle.ovm.mgr.discover.ovm.DiscoverHandler.execute(DiscoverHandler.java:61)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:461)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:446)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:430)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDefaultDiscover(DiscoverEngine.java:391)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.discoverNewServer(DiscoverEngine.java:377)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.discoverServer(DiscoverEngine.java:280)
    at com.oracle.ovm.mgr.op.manager.DiscoverManagerServerDiscover.action(DiscoverManagerServerDiscover.java:48)
    at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1012)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:329)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:289)
    at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:826)
    at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
    at com.oracle.ovm.mgr.api.manager.DiscoverManagerProxy.executeCurrentJobOperationAction(Unknown Source)
    at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:218)
    at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:309)
    at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1140)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:329)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:289)
    at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
    at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:105)
    at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
    at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
    at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:455)
    at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:513)
    at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: com.oracle.ovm.mgr.api.exception.IllegalOperationException: OVMAPI_4004E Server Failed Command: discover_hardware , Status: org.apache.xmlrpc.XmlRpcException: I/O error while communicating with HTTP server: The server 57.56.168.171 failed to respond
    Tue Jun 11 15:48:08 UTC 2013
    at com.oracle.ovm.mgr.action.ActionEngine.sendAction(ActionEngine.java:798)
    at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:503)
    ... 41 more
    End of Job
    from Agent log:
    [2013-06-11 15:40:24 5177] DEBUG (OVSCommons:124) get_api_version: ()
    [2013-06-11 15:40:24 5177] DEBUG (OVSCommons:132) get_api_version: call completed.
    [2013-06-11 15:40:24 5178] DEBUG (OVSCommons:124) discover_server: ()
    [2013-06-11 15:40:25 5178] DEBUG (OVSCommons:132) discover_server: call completed.
    [2013-06-11 15:40:28 5335] DEBUG (OVSCommons:124) discover_hardware: ()
    [2013-06-11 15:40:28 5336] DEBUG (OVSCommons:124) discover_hardware: ()
    [2013-06-11 15:40:28 5337] DEBUG (OVSCommons:124) discover_hardware: ()
    [2013-06-11 15:40:28 5338] DEBUG (OVSCommons:124) discover_hardware: ()
    I have tried every possible trick there is (delete discover_hardware.lock, delete agent db) as well as made sure communication works ok both ways (can connect to soaovm1:8899 from manager as well as ovmmgr:7001 from server, passwords double-checked) but nothing helps. I still get the same error. My suspicion is this has something to do with the one-node cluster pool the server is (was?) in. It seems to be working ok but I can't stop it:
    [root@lx-cgnclh-soaovm1 ~]# /etc/init.d/o2cb status
    Driver for "configfs": Loaded
    Filesystem "configfs": Mounted
    Stack glue driver: Loaded
    Stack plugin "o2cb": Loaded
    Driver for "ocfs2_dlmfs": Loaded
    Filesystem "ocfs2_dlmfs": Mounted
    Checking O2CB cluster "6d707b8abd12b5af": Online
      Heartbeat dead threshold: 31
      Network idle timeout: 60000
      Network keepalive delay: 2000
      Network reconnect delay: 2000
      Heartbeat mode: Global
    Checking O2CB heartbeat: Active
      0004FB0000050000DBE4AF6EF63C7A3A /dev/dm-11
    Nodes in O2CB cluster: 0
    [root@lx-cgnclh-soaovm1 ~]# /etc/init.d/o2cb stop
    Clean userdlm domains: OK
    Stopping global heartbeat on cluster "6d707b8abd12b5af": Failed
    o2cb: Heartbeat region in use while stopping heartbeat on region '0004FB0000050000DBE4AF6EF63C7A3A'
    I would appreciate any ideas here (preferably ones which wouldn't require rebooting guest VMs ...) as I have no clue what to try next.

    I ran into this issue.  The fix for me was to restart the ovm manager (so on the ovm manager I ran "/etc/init.d/ovmm restart") and then I restarted the ovs-agent on the host. So I did "/etc/init.d/ovs-agent restart".
    If you need to you can reset the ovs agent password from the host by issuing "ovs-agent-passwd oracle <password>".
    Hope this helps.
    ~Bryan

  • Adding an OVM server back into OVM Manager after a reload

    We have created a sandbox environment to test Oracle virtualization and had 2 physical servers setup. One running Oracle OVM and the other Oracle Linux. The Oracle Linux box had OVM Manager installed and was using local storage for the repository.
    After about a month of running the Oracle Linux box was reloaded without saving any of the OVM Manager configuration information. After reloading the Oracle Linux box and installing OVM Manager my first issue was adding the OVM server back into a pool. We were getting the error that it was already being managed by another host. After a quick search of the Oracle forum I found a post suggesting that we stop the ovs-agent on the OVM box and remove a file.
    These were the commands:
    # service ovs-agent stop
    # rm /etc/ovs-agent/db/server
    # service ovs-agent start
    After doing this I was able to discover and add the server into a pool. The next issue was when I went to look at the virtual machines hosted on the OVM machine. All 6 of the virtual machines that were created now show as "orphan_004fb0000060000...". In digging around I noticed that the repository for the local storage was not setup so when I go to try add the local disk back as a repository and I select "create a data repository: select physical disk" it comes back as blank.
    If I click the storage tab and look under local file systems I see the disk and it has location repository specified and server listed under presented servers.
    I am thinking the mapping is somehow messed up after adding the host back to a new OVM Manager and I need to relink the storage to the repository but am a little lost as to how to accomplish this.
    I am trying to avoid reloading the entire OVM server so I don't lose the work already done with the existing virtual machines.

    To answer your second question first, It is an unclustered server pool.
    When I run the refresh I get an error. Below are the details:
    Job Construction Phase
    begin()
    Appended operation 'FileSystem refresh' to object '0004fb0000050000f6e5bfcdec6df114'.
    commit()
    Completed Step: COMMIT
    Objects and Operations
    Object (IN_USE): [Server] 44:45:4c:4c:31:00:10:51:80:50:b1:c0:4f:4e:4d:31 (fnt1gvs001.syncreon.local)
    Object (IN_USE): [LocalFileServer] 0004fb00000900008975e0e107a39557 (Local FS fnt1gvs001.syncreon.local)
    Object (IN_USE): [LocalFileSystem] 0004fb0000050000f6e5bfcdec6df114
    Operation: FileSystem refresh
    Job Running Phase at 15:03 on Wed, Dec 19, 2012
    Job Participants: [44:45:4c:4c:31:00:10:51:80:50:b1:c0:4f:4e:4d:31 (fnt1gvs001.syncreon.local)]
    Actioner
    Starting operation 'FileSystem refresh' on object '0004fb0000050000f6e5bfcdec6df114'
    Job Internal Error (Indeterminate)com.oracle.ovm.mgr.api.exception.RuleException: OVMRU_002017E Cannot perform operation. This repository: 36842b2b01874c700182161460904cc01, is not owned by this manager
    Wed Dec 19 15:03:54 EST 2012
    at com.oracle.ovm.mgr.rules.modules.api.virtual.RepositoryRules.throwErrorIfNotOwnedByThisManager(RepositoryRules.java:378)
    at com.oracle.ovm.mgr.rules.modules.api.virtual.RepositoryRules.setSimpleNamePre(RepositoryRules.java:197)
    at com.oracle.ovm.mgr.api.job.JobEngine.invokeMethod(JobEngine.java:662)
    at com.oracle.ovm.mgr.api.job.JobEngine.invokeMethod(JobEngine.java:631)
    at com.oracle.ovm.mgr.rules.RulesEngine.runRules(RulesEngine.java:190)
    at com.oracle.ovm.mgr.rules.RulesEngine.preProcess(RulesEngine.java:142)
    at com.oracle.ovm.mgr.model.ModelEngine.preValidate(ModelEngine.java:547)
    at com.oracle.ovm.mgr.model.ModelEngine.access$200(ModelEngine.java:65)
    at com.oracle.ovm.mgr.model.ModelEngine$3.notify(ModelEngine.java:352)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:326)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
    at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:822)
    at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
    at com.oracle.ovm.mgr.api.virtual.RepositoryProxy.setSimpleName(Unknown Source)
    at com.oracle.ovm.mgr.op.physical.storage.FileSystemRefresh.processRepoMetadata(FileSystemRefresh.java:338)
    at com.oracle.ovm.mgr.op.physical.storage.FileSystemRefresh.discoverOcfs2FileSystem(FileSystemRefresh.java:188)
    at com.oracle.ovm.mgr.op.physical.storage.FileSystemRefresh.action(FileSystemRefresh.java:84)
    at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1009)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
    at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:822)
    at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
    at com.oracle.ovm.mgr.api.physical.storage.LocalFileSystemProxy.executeCurrentJobOperationAction(Unknown Source)
    at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:218)
    at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:309)
    at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1140)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
    at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
    at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
    at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
    at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
    at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
    at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
    at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
    at java.lang.Thread.run(Thread.java:662)
    FailedOperationCleanup
    Starting failed operation 'FileSystem refresh' cleanup on object '0004fb0000050000f6e5bfcdec6df114'
    Complete rollback operation 'FileSystem refresh' completed with direction=0004fb0000050000f6e5bfcdec6df114
    Rollbacker
    Executing rollback operation 'FileSystem refresh' on object '0004fb0000050000f6e5bfcdec6df114'
    Complete rollback operation 'FileSystem refresh' completed with direction=DONE
    Objects To Be Rolled Back
    Object (IN_USE): [Server] 44:45:4c:4c:31:00:10:51:80:50:b1:c0:4f:4e:4d:31 (fnt1gvs001.syncreon.local)
    Object (IN_USE): [Repository] 0004fb0000030000eac6a78cc3aa8b91 (36842b2b01874c700182161460904cc01)
    Object (IN_USE): [LocalFileServer] 0004fb00000900008975e0e107a39557 (Local FS fnt1gvs001.syncreon.local)
    Object (IN_USE): [LocalFileSystem] 0004fb0000050000f6e5bfcdec6df114
    Write Methods Invoked
    Class=InternalJobDbImpl vessel_id=1569 method=addTransactionIdentifier accessLevel=6
    Class=LocalFileSystemDbImpl vessel_id=930 method=refresh accessLevel=6
    Class=ServerDbImpl vessel_id=544 method=lock accessLevel=6
    Class=LocalFileServerDbImpl vessel_id=897 method=lock accessLevel=6
    Class=InternalJobDbImpl vessel_id=1569 method=setCompletedStep accessLevel=6
    Class=InternalJobDbImpl vessel_id=1569 method=setAssociatedHandles accessLevel=6
    Class=RepositoryDbImpl vessel_id=1111 method=setSimpleName accessLevel=6
    Class=LocalFileSystemDbImpl vessel_id=930 method=nextJobOperation accessLevel=6
    Class=InternalJobDbImpl vessel_id=1569 method=setFailedOperation accessLevel=6
    Class=ServerDbImpl vessel_id=544 method=nextJobOperation accessLevel=6
    Class=LocalFileServerDbImpl vessel_id=897 method=nextJobOperation accessLevel=6
    Class=LocalFileSystemDbImpl vessel_id=930 method=nextJobOperation accessLevel=6
    Class=LocalFileSystemDbImpl vessel_id=930 method=nextJobOperation accessLevel=6
    Completed Step: ROLLBACK
    Job failed commit (internal) due to com.oracle.ovm.mgr.api.exception.RuleException: OVMRU_002017E Cannot perform operation. This repository: 36842b2b01874c700182161460904cc01, is not owned by this manager
    Wed Dec 19 15:03:54 EST 2012
    at com.oracle.ovm.mgr.rules.modules.api.virtual.RepositoryRules.throwErrorIfNotOwnedByThisManager(RepositoryRules.java:378)
    at com.oracle.ovm.mgr.rules.modules.api.virtual.RepositoryRules.setSimpleNamePre(RepositoryRules.java:197)
    at com.oracle.ovm.mgr.api.job.JobEngine.invokeMethod(JobEngine.java:662)
    at com.oracle.ovm.mgr.api.job.JobEngine.invokeMethod(JobEngine.java:631)
    at com.oracle.ovm.mgr.rules.RulesEngine.runRules(RulesEngine.java:190)
    at com.oracle.ovm.mgr.rules.RulesEngine.preProcess(RulesEngine.java:142)
    at com.oracle.ovm.mgr.model.ModelEngine.preValidate(ModelEngine.java:547)
    at com.oracle.ovm.mgr.model.ModelEngine.access$200(ModelEngine.java:65)
    at com.oracle.ovm.mgr.model.ModelEngine$3.notify(ModelEngine.java:352)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:326)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
    at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:822)
    at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
    at com.oracle.ovm.mgr.api.virtual.RepositoryProxy.setSimpleName(Unknown Source)
    at com.oracle.ovm.mgr.op.physical.storage.FileSystemRefresh.processRepoMetadata(FileSystemRefresh.java:338)
    at com.oracle.ovm.mgr.op.physical.storage.FileSystemRefresh.discoverOcfs2FileSystem(FileSystemRefresh.java:188)
    at com.oracle.ovm.mgr.op.physical.storage.FileSystemRefresh.action(FileSystemRefresh.java:84)
    at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1009)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
    at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:822)
    at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
    at com.oracle.ovm.mgr.api.physical.storage.LocalFileSystemProxy.executeCurrentJobOperationAction(Unknown Source)
    at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:218)
    at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:309)
    at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1140)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
    at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
    at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
    at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
    at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
    at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
    at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
    at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
    at java.lang.Thread.run(Thread.java:662)
    Wed Dec 19 15:03:54 EST 2012
    com.oracle.ovm.mgr.api.exception.FailedOperationException: com.oracle.ovm.mgr.api.exception.RuleException: OVMRU_002017E Cannot perform operation. This repository: 36842b2b01874c700182161460904cc01, is not owned by this manager
    Wed Dec 19 15:03:54 EST 2012
    at com.oracle.ovm.mgr.rules.modules.api.virtual.RepositoryRules.throwErrorIfNotOwnedByThisManager(RepositoryRules.java:378)
    at com.oracle.ovm.mgr.rules.modules.api.virtual.RepositoryRules.setSimpleNamePre(RepositoryRules.java:197)
    at com.oracle.ovm.mgr.api.job.JobEngine.invokeMethod(JobEngine.java:662)
    at com.oracle.ovm.mgr.api.job.JobEngine.invokeMethod(JobEngine.java:631)
    at com.oracle.ovm.mgr.rules.RulesEngine.runRules(RulesEngine.java:190)
    at com.oracle.ovm.mgr.rules.RulesEngine.preProcess(RulesEngine.java:142)
    at com.oracle.ovm.mgr.model.ModelEngine.preValidate(ModelEngine.java:547)
    at com.oracle.ovm.mgr.model.ModelEngine.access$200(ModelEngine.java:65)
    at com.oracle.ovm.mgr.model.ModelEngine$3.notify(ModelEngine.java:352)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:326)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
    at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:822)
    at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
    at com.oracle.ovm.mgr.api.virtual.RepositoryProxy.setSimpleName(Unknown Source)
    at com.oracle.ovm.mgr.op.physical.storage.FileSystemRefresh.processRepoMetadata(FileSystemRefresh.java:338)
    at com.oracle.ovm.mgr.op.physical.storage.FileSystemRefresh.discoverOcfs2FileSystem(FileSystemRefresh.java:188)
    at com.oracle.ovm.mgr.op.physical.storage.FileSystemRefresh.action(FileSystemRefresh.java:84)
    at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1009)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
    at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:822)
    at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
    at com.oracle.ovm.mgr.api.physical.storage.LocalFileSystemProxy.executeCurrentJobOperationAction(Unknown Source)
    at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:218)
    at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:309)
    at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1140)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
    at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
    at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
    at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
    at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
    at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
    at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
    at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
    at java.lang.Thread.run(Thread.java:662)
    Wed Dec 19 15:03:54 EST 2012
    at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1201)
    at sun.reflect.GeneratedMethodAccessor1396.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
    at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
    at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
    at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
    at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
    at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
    at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
    at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
    at java.lang.Thread.run(Thread.java:662)
    End of Job
    ----------

  • How to start virtual OVM Manager and restore server pool which hosts it?

    It had to happen... the day I migrate our OVM Manager from an ESX host into an Oracle VM, we have a massive NetApp outage, and everything fails to come back. As a result of having lock errors when trying to start any VMs I noted on the forum various solutions and ended up following the steps concerning stopping ovs-agent and removal of /etc/ovs-agent/db/* on all the servers. Next I re-added the repo to all the servers using repos.py, but of course now none of the servers are in a pool so the --list command shows them as [R] rather than [*], and the /OVS directory is not yet mapped. So the next stage, according to the instructions which I am following, describes using the 'Restore' option in the OVM Manager GUI. Given that /OVS is not mounted and all of the servers are now config-less, I can't see how I can start the OVM Manager VM to get to the aforementioned "restore" option...
    Thank Jeebus I kept the ESX copy of OVM manager on (but powered down), as I was able to fire it up and do the restore, and now everything is hunky dory. However, this is our Dev platform and I was going to build the Prod platform and deploy OVM Manager straight into the OVM architecture via the template, rather than having it on ESX, but this issue on the Dev install has made me think twice about the mobius nature of managing the VM architecture from within the VM architecture...
    I am assuming I am missing some sort of commandline knowledge, so... given:
    - empty db directory
    - root repos [R] on all servers
    - as yet unmapped /OVS
    ...how to get the server pool up and get something back into /OVS, and then start my OVM Manager VM so I can 'restore'? Is it even possible? because if it isn't, I'll be blowed if the Prod OVM manager is going to get deployed like this...
    And no, there's no money in the budget for extra tin just to sit there running the OVM Manager and nothing else.
    TIA
    Kev

    user12474530 wrote:
    Still nobody seems to know of how to create a server pool on the CLI (outside of OVM Manager) though...There is no way to create a server pool on the CLI without Oracle VM Manager. You either need to use the Web UI of the Manager, or use the ovmcli command-line tool. Both of those require Oracle VM Manager to be running.
    However, once the Pool is created, you do not need the Manager to be running to perform simple tasks like starting/stopping guests. That can be done with the xm command-line tool.
    I agree with you about running VM Manager as a guest of the Oracle VM Server: I actually don't recommend this in production, unless you have at least two Server Pools. Then you can have the Manager of Pool A hosted by Pool B and vice-versa. Most often however, I recommend a completely independent Manager machine, either physical or hosted on a separate virtualization stack.

  • OVM Manager cluster construct issue

    Hi Guys,
    I'm trying to build a demo insfrastructure for Oracle VM for SPARC with Oracle VM Manager for managment. Here is an overview of my infrastructure:
    - 2 T5220 with same configuration (2 x 32 core CPU, 32 Go RAM)
    - 1 ESX VM hosting Oracle VM Manager with Oracle Linux 5 as OS.
    ## For OVM Server for SPARC ##
    ldm -V
    Logical Domains Manager (v 3.1.1.0.5)
            Hypervisor control protocol v 1.7
            Using Hypervisor MD v 1.4
    System PROM:
            Hypervisor      v. 1.10.7.      @(#)Hypervisor 1.10.7.f 2013/08/09 19:14\015
            OpenBoot        v. 4.33.6.      @(#)OpenBoot 4.33.6.e 2014/01/14 15:19
    ## For OVM Manager ##
    Version: 3.3.1.776
    ovs-agent for SPARC version: 3.3.1-b776
    I try to built a HA environment using ovm manager. Every thing is good until I try to add server to server pool. Add the first server is OK, but it stays on error state because of a cluster construct error.
    Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: create_cluster to server: ovmsrv01 failed. OVMAPI_4004E Sync command failed on server: 192.168.25.250. Command: create_cluster, Server error: org.apache.xmlrpc.XmlRpcException: :(22, 'Invalid argument') 
    Caused by: com.oracle.ovm.mgr.api.exception.ServerOperationException: OVMAPI_4004E Sync command failed on server: 192.168.25.250. Command: create_cluster, Server error: org.apache.xmlrpc.XmlRpcException: :(22, 'Invalid argument') 
    The second server can't be add to the pool until the first one issue is fixed! I'm confuse. Have I use good version for each package? I'm looking for a compatibility matrix between Manager, osv agent and ovm server for sparc, If any one can redirect me to a relevant web page ou doc!!!
    Somebody can point me to a solution?
    Thank a lot!

    HI All,
    Here is the complete fail message when trying to add a node to server's pool:
    10:36:07,369: Starting operation 'Server Cluster Construct' on object '[ServerDbImpl] e7:e6:aa:63:ee:85:c2:3d:d6:80:b3:33:28:aa:1a:d3 (ovmsrv02)'
    Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: create_cluster to server: ovmsrv02 failed. OVMAPI_4004E Sync command failed on server: 192.168.25.251. Command: create_cluster,
    Server error: org.apache.xmlrpc.XmlRpcException: :(22, 'Invalid argument')

  • Does OVM Manager require access to SAN/NAS VLAN

    Hello everyone,
    In our setup OVM Manager is installed on its own physical server, using for storage the local disk. Does the storage discovering process requires OVM Manager to have access to the SAN/NAS VLAN, or is this going through the OVM Servers again as it happens during the initial servers' discovering?
    Thanks,
    Nikos

    Hi Nikos,
    no, the OVMM doesn't need access to any of the storages the OMV servers are connected to. It is all done through the ovs-agents running on the OVM servers. Those query the hardware and available storage upon the discovery process.
    Cheers,
    budy

  • OVM 3.0.3 import VirtualBox OVM Manager 3.0.3 OVA template

    VirtualBox Template for Oracle VM Manager 3.0.3,
    http://www.oracle.com/technetwork/server-storage/vm/template-1482544.html
    The OVM 3.0.3 host should be configured with enough space to accommodate import of OVA template. In
    this case 36G was allocated for "sda",
    [root@ovm303 ~]# fdisk -l /dev/sda
    Disk /dev/sda: 38.6 GB, 38654705664 bytes
    255 heads, 63 sectors/track, 4699 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 4189 33648111 83 Linux
    /dev/sda2 4190 4699 4096575 82 Linux swap / Solaris
    Post OVA import disk usage,
    [root@ovm303 ~]# df -T -t ext3
    Filesystem Type 1K-blocks Used Available Use% Mounted on
    /dev/sda1 ext3 32594216 24105604 6806208 78% /.
    [root@ovm303 ~]# cat /etc/motd
    Warning: making manual modifications in the management domain
    might cause inconsistencies between Oracle VM Manager and the server.
    [root@ovm303 ~]# head -4 /etc/ovs-info
    OVS summary
    release: 3.0.3
    date: 201111300901
    build: 123
    The contents of "ovs-info" also include package information.
    The "vbox-img" package is something new in OVM 3.0.3,
    [root@ovm303 ~]# grep vbox-img /etc/ovs-info
    vbox-img-1.0-2
    [root@ovm303 ~]# rpm -ql vbox-img
    /usr/bin/vbox-img
    /usr/share/doc/vbox-img-1.0
    /usr/share/doc/vbox-img-1.0/COPYING
    [root@ovm303 ~]# vbox-img --help
    Oracle VM VirtualBox Disk Utility 4.1.3
    (C) 2005-2011 Oracle Corporation
    All rights reserved.
    Usage: vbox-img
    setuuid --filename <filename>
    [--format VDI|VMDK|VHD|...]
    [--uuid <uuid>]
    [--parentuuid <uuid>]
    [--zeroparentuuid]
    convert --srcfilename <filename>
    --dstfilename <filename>
    [--stdin]|[--stdout]
    [--srcformat VDI|VMDK|VHD|RAW|..]
    [--dstformat VDI|VMDK|VHD|RAW|..]
    [--variant Standard,Fixed,Split2G,Stream,ESX]
    info --filename <filename>
    compact --filename <filename>
    createcache --filename <filename>
    --size <cache size>
    Download "OracleVMManager3" OVA,
    [root@ovm303 xen]# mkdir /etc/xen/ovm303-m
    [root@ovm303 ~]# cd /etc/xen/ovm303-m
    [root@ovm303 xen]# wget http://download.oracle.com/otn-pub/otn_software/OracleVMManager3.ova
    --2012-03-14 17:06:01-- http://download.oracle.com/otn-pub/otn_software/OracleVMManager3.ova
    Length: 4234452992 (3.9G) [text/plain]
    Saving to: `OracleVMManager3.ova'
    100%[====================================>] 4,234,452,992 834K/s in 55m 36s
    2012-03-14 18:01:38 (1.21 MB/s) - `OracleVMManager3.ova' saved [4234452992/4234452992]
    [root@ovm303 xen]# md5sum OracleVMManager3.ova
    75fc334422eda6c3425a2f09fb88f9e0 OracleVMManager3.ova
    Unpack OVA,
    [root@ovm303 xen]# tar tvf OracleVMManager3.ova
    -rw------- someone/someone 59626 2012-01-12 17:42:49 OracleVMManager3.ovf
    -rw------- someone/someone 1987182592 2012-01-12 17:48:06 OracleVMManager3-disk1.vmdk
    -rw------- someone/someone 2247208960 2012-01-12 17:51:24 OracleVMManager3-disk2.vmdk
    [root@ovm303 ovm303-m]# tar xvf OracleVMManager3.ova
    OracleVMManager3.ovf
    OracleVMManager3-disk1.vmdk
    OracleVMManager3-disk2.vmdk
    Use "vbox-img" to show "OracleVMManager3-disk1.vmdk",
    [root@ovm303 ovm303-m]# vbox-img info --filename OracleVMManager3-disk1.vmdk
    --- Dumping VD Disk, Images=1
    Dumping VD image "OracleVMManager3-disk1.vmdk" (Backend=VMDK)
    Header: Geometry PCHS=16383/16/63 LCHS=1024/255/63 cbSector=52428800
    Header: uuidCreation={f3859e00-962c-440f-a63d-feb7b731d5da}
    Header: uuidModification={00000000-0000-0000-0000-000000000000}
    Header: uuidParent={00000000-0000-0000-0000-000000000000}
    Header: uuidParentModification={00000000-0000-0000-0000-000000000000}
    Convert "OracleVMManager3-disk1.vmdk" to RAW,
    [root@ovm303 ovm303-m]# vbox-img convert srcfilename OracleVMManager3-disk1.vmdk dstfilename OracleVMManager3-disk1.img srcformat VMDK dstformat RAW
    Converting image "OracleVMManager3-disk1.vmdk" with size 26843545600 bytes (25600MB)...
    [root@ovm303 ovm303-m]# file OracleVMManager3-disk1.img
    OracleVMManager3-disk1.img: x86 boot sector; partition 1: ID=0x83, active, starthead 1, startsector 63, 208782 sectors; partition 2: ID=0x8e, starthead 0, startsector 208845, 52211250 sectors, code offset 0x48
    [root@ovm303 ovm303-m]# fdisk -l OracleVMManager3-disk1.img
    last_lba(): I don't know how to handle files with mode 8180
    You must set cylinders.
    You can do this from the extra functions menu.
    Disk OracleVMManager3-disk1.img: 0 MB, 0 bytes
    255 heads, 63 sectors/track, 0 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    OracleVMManager3-disk1.img1 * 1 13 104391 83 Linux
    OracleVMManager3-disk1.img2 14 3263 26105625 8e Linux LVM
    Partition 2 has different physical/logical endings:
    phys=(1023, 254, 63) logical=(3262, 254, 63)
    Use "vbox-img" to show "OracleVMManager3-disk2.vmdk",
    [root@ovm303 ovm303-m]# vbox-img info --filename OracleVMManager3-disk2.vmdk
    --- Dumping VD Disk, Images=1
    Dumping VD image "OracleVMManager3-disk2.vmdk" (Backend=VMDK)
    Header: Geometry PCHS=16383/16/63 LCHS=1024/255/63 cbSector=20971520
    Header: uuidCreation={abc43be0-7a43-4ba2-a205-eaf37184a4d3}
    Header: uuidModification={00000000-0000-0000-0000-000000000000}
    Header: uuidParent={00000000-0000-0000-0000-000000000000}
    Header: uuidParentModification={00000000-0000-0000-0000-000000000000}
    Convert "OracleVMManager3-disk2.vmdk" to RAW,
    [root@ovm303 ovm303-m]# vbox-img convert srcfilename OracleVMManager3-disk2.vmdk dstfilename OracleVMManager3-disk2.img srcformat VMDK dstformat RAW
    Converting image "OracleVMManager3-disk2.vmdk" with size 10737418240 bytes (10240MB)...
    [root@ovm303 ovm303-m]# file OracleVMManager3-disk2.img
    OracleVMManager3-disk2.img: x86 boot sector; partition 1: ID=0x83, starthead 1, startsector 63, 20964762 sectors, extended partition table (last)\011
    [root@ovm303 ovm303-m]# fdisk -l OracleVMManager3-disk2.img
    last_lba(): I don't know how to handle files with mode 8180
    You must set cylinders.
    You can do this from the extra functions menu.
    Disk OracleVMManager3-disk2.img: 0 MB, 0 bytes
    255 heads, 63 sectors/track, 0 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    OracleVMManager3-disk2.img1 1 1305 10482381 83 Linux
    Partition 1 has different physical/logical endings:
    phys=(1023, 254, 63) logical=(1304, 254, 63)
    Update disk image "/boot" configuration using loopback mount,
    [root@ovm303 ovm303-m]# mkdir boot
    [root@ovm303 ovm303-m]# kpartx -l OracleVMManager3-disk1.img
    loop1p1 : 0 208782 /dev/loop1 63
    loop1p2 : 0 52211250 /dev/loop1 208845
    loop deleted : /dev/loop1
    [root@ovm303 ovm303-m]# kpartx -a OracleVMManager3-disk1.img
    [root@ovm303 ovm303-m]# mount /dev/mapper/loop1p1 boot
    Update "/boot/grub/device.map",
    [root@ovm303 ovm303-m]# cat boot/grub/device.map
    # this device map was generated by anaconda
    (hd0) /dev/hda
    Update "/boot/grub/grub.conf" to use non-UEK kernel to avoid issues with OL5u7 default UEK boot and HVM,
    [root@ovm303 ovm303-m]# grep default boot/grub/grub.conf
    default=1
    Mount "/" logical volume,
    [root@ovm303 ovm303-m]# vgscan
    Reading all physical volumes. This may take a while...
    Found volume group "VolGroup00" using metadata type lvm2
    [root@ovm303 ovm303-m]# vgchange -ay VolGroup00
    2 logical volume(s) in volume group "VolGroup00" now active
    [root@ovm303 ovm303-m]# lvs
    LV VG Attr LSize Origin Snap% Move Log Copy% Convert
    LogVol00 VolGroup00 -wi-a- 19.06G
    LogVol01 VolGroup00 -wi-a- 5.81G
    [root@ovm303 ovm303-m]# mkdir root
    [root@ovm303 ovm303-m]# ls /dev/VolGroup00/
    LogVol00 LogVol01
    [root@ovm303 ovm303-m]# mount /dev/VolGroup00/LogVol00 root
    Update "/etc/inittab" to boot single user,
    [root@ovm303 ovm303-m]# grep id root/etc/inittab
    id:1:initdefault:
    Update "/etc/fstab" to ignore "/u01" block device mount,
    [root@ovm303 ovm303-m]# grep sdb root/etc/fstab
    #/dev/sdb1 /u01 ext3 defaults 1 1
    Unmount "/boot" and "/",
    [root@ovm303 ovm303-m]# umount boot
    [root@ovm303 ovm303-m]# umount root
    [root@ovm303 ovm303-m]# vgchange -an VolGroup00
    0 logical volume(s) in volume group "VolGroup00" now active
    [root@ovm303 ovm303-m]# kpartx -d OracleVMManager3-disk1.img
    loop deleted : /dev/loop1
    The OVM 3.0.3 network bridge configuration uses "bond0" vs "xenbr0".
    Configure "vm.cfg",
    [root@ovm303 ovm303-m]# cat vm.cfg
    # (H)ardware (V)irtual (M)achine configuration
    # /etc/xen/xmexample.hvm
    kernel = 'hvmloader'
    builder = 'hvm'
    memory = '4096'
    # The number of cpus guest platform has, default=1
    #vcpus=1
    # PXE boot
    #bootloader = '/usr/bin/pypxeboot'
    #bootloader = '/usr/bin/pygrub'
    # Virtual block device configuration using file:
    # dd if=/dev/zero of=/$VM_PATH/$VM_NAME/System.img bs=1M count=$MB
    # disk = [ 'file:/$VM_PATH/$VM_NAME/System.img,ioemu:hda,w', ]
    # Configuration using physical disk logical volume:
    # lvcreate --size ${GB}G --name $VM_NAME $VG_NAME
    # disk = [ 'phy:/dev/$VG_NAME/$VM_NAME,xvda,w',]
    # CDROM configuration using file:
    # disk = [ 'file:/$BOOT_ISO_NAME,hdc:cdrom,r', ]
    disk = [ 'file:/etc/xen/ovm303-m/OracleVMManager3-disk1.img,ioemu:hda,w', 'file:/etc/xen/ovm303-m/OracleVMManager3-disk2.img,ioemu:hdb,w', ]
    # Domain name
    name = "ovm303-m"
    # Networking
    # Network bridge status:
    # /etc/xen/scripts/network-bridge status
    # 'bridge' should be proper interface e.g. xenbr0
    vif = ['type=ioemu, bridge=bond0']
    # boot on floppy (a), hard disk (c), Network (n) or CD-ROM (d)
    # default: hard disk, cd-rom, floppy
    boot = "cdn"
    # Enable HV VNC console
    # Uses avaiablle next VNC port $OVM_SERVER_HOST:0 == 5900, :1 == 5901 etc
    # Use "xm list -l" to determince VNC port "location"
    vnc=1
    vncunused=1
    vnclisten="0.0.0.0"
    vncpasswd=''
    sdl=0
    # Set the real time clock to local time [default=0 i.e. set to utc]
    # Allows Win VM clock to work with UTC on OVM host system.
    #localtime=1
    Start VM,
    [root@ovm303 ovm303-m]# xm create vm.cfg
    Using config file "./vm.cfg".
    Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
    Current bridge,
    [root@ovm303 ~]# brctl show
    bridge name bridge id STP enabled interfaces
    Update "/etc/xen/xend-config.sxp" to enable "network-bridge",
    [root@ovm303 ovm303-m]# cp /etc/xen/xend-config.sxp /etc/xen/xend-config.sxp.orig
    [root@ovm303 ovm303-m]# diff /etc/xen/xend-config.sxp /etc/xen/xend-config.sxp.orig
    165,167d164
    < # Enable network-bridge, JAP 20120322
    < (network-script network-bridge)
    <
    [root@ovm303 ~]# service xend restart
    Restarting xend...
    xend daemon (pid 8848) is running...
    [root@ovm303 ~]# brctl show
    bridge name bridge id STP enabled interfaces
    bond0 8000.002128d5ce86 no pbond0
    Start VM,
    [root@ovm303 ovm303-m]# xm create vm.cfg
    Using config file "./vm.cfg".
    Started domain ovm303-m (id=1)
    Determine VNC console session,
    [root@ovm303 ovm303-m]# xm list -l ovm303-m | grep location
    (location 0.0.0.0:5900)
    (location 3)
    VNC console session. The "oraclevm-template" tools are not run in single user so hostname is "localhost",
    [root@localhost ~]# who -r
    run-level S 2012-03-23 09:09 last=1
    Update "/etc/fstab" for "/u01" mount to use label,
    [root@localhost ~]# grep /u01 /etc/fstab
    #/dev/sdb1 /u01 ext3 defaults 1 1
    [root@localhost ~]# blkid
    /dev/mapper/VolGroup00-LogVol01: TYPE="swap"
    /dev/mapper/VolGroup00-LogVol00: UUID="2751f1b2-836b-4786-ae71-8b402e0f8503" TYPE="ext3"
    /dev/VolGroup00/LogVol00: UUID="2751f1b2-836b-4786-ae71-8b402e0f8503" SEC_TYPE="ext2" TYPE="ext3"
    /dev/VolGroup00/LogVol01: TYPE="swap"
    /dev/hda1: LABEL="/boot" UUID="8701866e-5ed5-49f7-9597-bb9709d22359" TYPE="ext3"
    /dev/hdb1: UUID="5f9a7bef-3a6d-4a83-b288-638537424fa7" SEC_TYPE="ext2" TYPE="ext3"
    [root@localhost ~]# e2label /dev/hdb1 u01
    [root@localhost ~]# grep u01 /etc/fstab
    LABEL=u01 /u01 ext3 defaults 1 1
    [root@localhost ~]# mount /u01
    [root@localhost ~]# df /u01
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/hdb1 10317828 4250832 5542880 44% /u01
    As configured the default run level will be elevated to "5" by the "/etc/rc.local" script. This enables a
    console desktop for user "ovm". This is unneeded and will be implemented by VNC session for user
    "ovm".
    Update "/etc/inittab" to enable full multiuser mode run level 3,
    [root@localhost ~]# grep id /etc/inittab
    id:3:initdefault:
    Disable "/etc/rc.local" run level elevation,
    [root@localhost ~]# tail -2 /etc/rc.local
    # Disable local forced runlevel 5, JAP 20120404
    #telinit 5
    Disable firewall to allow VNC connections,
    [root@localhost ~]# chkconfig --list iptables
    iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
    [root@localhost ~]# chkconfig iptables off
    [root@localhost ~]# chkconfig --list ip6tables
    ip6tables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
    [root@localhost ~]# chkconfig ip6tables off
    Reboot,
    [root@localhost ~]# reboot
    Broadcast message from root (pts/0) (Mon Apr 2 09:22:17 2012):
    The system is going down for reboot NOW!
    Post "oraclevm-template" configuration e.g. defining FQDN and static IP addresss etc. OVM Manager 3.0.3 is up.
    Configure VNC for "ovm",
    [root@ovm303-m ~]# su - ovm
    [ovm@ovm303-m ~]$ vncserver
    You will require a password to access your desktops.
    Password: Welcome1
    Verify: Welcome1
    xauth: creating new authority file /home/ovm/.Xauthority
    New 'ovm303-m:1 (ovm)' desktop is ovm303-m:1
    Creating default startup script /home/ovm/.vnc/xstartup
    Starting applications specified in /home/ovm/.vnc/xstartup
    Log file is /home/ovm/.vnc/ovm303-m:1.log
    [ovm@ovm303-m ~]$ vncserver -kill :1
    Killing Xvnc process ID 12499
    Update "xstartup",
    [ovm@ovm303-m ~]$ cat /home/ovm/.vnc/xstartup
    #!/bin/sh
    # Uncomment the following two lines for normal desktop:
    unset SESSION_MANAGER
    exec /etc/X11/xinit/xinitrc
    #[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
    #[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
    #xsetroot -solid grey
    #vncconfig -iconic &
    #xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
    #twm &
    [ovm@ovm303-m ~]$ vncserver
    New 'ovm303-m:1 (ovm)' desktop is ovm303-m :1
    Starting applications specified in /home/ovm/.vnc/xstartup
    Log file is /home/ovm/.vnc/ovm303-m:1.log
    Configure "/etc/sysconfig/vncservers",
    [root@ovm303-m ~]# chkconfig --list vncserver
    vncserver 0:off 1:off 2:off 3:off 4:off 5:off 6:off
    [root@ovm303-m ~]# chkconfig vncserver on
    [root@ovm303-m ~]# chkconfig --list vncserver
    vncserver 0:off 1:off 2:on 3:on 4:on 5:on 6:off
    [root@ovm303-m ~]# tail -2 /etc/sysconfig/vncservers
    # Start VNC session for ovm, JAP 20120404
    VNCSERVERS="1:ovm"

    Thanks Jim - looks great!

  • Oracle VM Server for SPARC Management Platforms

    Upon doing some nominal research, I see that the Oracle VM for x86 platform is significantly more robust (at least at first glance) with regards to migrations/interface/etc. Where is the equivalent of Oracle VM Manager for SPARC? Is the Oracle Enterprise Manager with Virtualization Managment pack the tool that most people are using? Our virtualization offering, centers around the market share leader with regards to x86, at least at current. We would like to boost our product line with a similar service built on SPARC but it seems as if the product is too young to do that? I'm hoping that I'm wrong and just haven't found the right documentation. I'm also trying to get an appointment set up with the sales team to discuss.

    It's true there does seem to be a wide gap in the UI aspect of Oracle VM for SPARC vs. Oracle VM x86. Personally I like the UI for the x86 platform better than the OEM 11g with Ops Center plugin for LDoms. However, I believe both UIs lack some robustness. In our case, we currently do not use a UI (for many reasons, mainly bugs and lack of certain CLI functionality). In the SPARC arena, it is extremely simple to script everything for the Oracle VM SPARC product (including HA scenarios). Once we build out the infrastructure, almost everything we do (provisioning, reporting, decommissioning) is done via simple perl scripting which is the power of not having a UI. However, a better UI for Oracle VM for SPARC is desirable for managing multiple environments/groupings, etc..

  • Trying the new OVM Server 3.1.1, cannot discover from OVM Manager

    Hi,
    I see that Oracle VM Server 3.1.1 now available on the cloud. So, I installed it and re-attempted to discover the server. But, I still get the below error. Any help is appreciated.
    ob Construction Phase
    begin()
    Appended operation 'Discover Manager Server Discover' to object 'OVM Foundry : Discover Manager'.
    commit()
    Completed Step: COMMIT
    Objects and Operations
    Object (IN_USE): [DiscoverManager] OVM Foundry : Discover Manager
    Operation: Discover Manager Server Discover
    Job Running Phase at 18:52 on Sat, May 12, 2012
    Job Participants: []
    Actioner
    Starting operation 'Discover Manager Server Discover' on object 'OVM Foundry : Discover Manager'
    Setting Context to model only in job with id=1336873925542
    Operation 'NTP Service Configure' in non-job running context, not adding it to object 'f9:11:d2:76:69:e2:45:c9:9c:90:86:9f:37:b7:d8:92'.
    Operation 'NTP Service Configure' in non-job running context, not adding it to object 'f9:11:d2:76:69:e2:45:c9:9c:90:86:9f:37:b7:d8:92'.
    Operation 'NTP Service Configure' in non-job running context, not adding it to object 'f9:11:d2:76:69:e2:45:c9:9c:90:86:9f:37:b7:d8:92'.
    Operation 'NTP Service Configure' in non-job running context, not adding it to object 'f9:11:d2:76:69:e2:45:c9:9c:90:86:9f:37:b7:d8:92'.
    Operation 'Server Set Statistic Interval' in non-job running context, not adding it to object 'f9:11:d2:76:69:e2:45:c9:9c:90:86:9f:37:b7:d8:92'.
    Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_6055E Discover target: ovmserver.govinsys.com, Discover failed with error: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.RangeCheck(ArrayList.java:547)
    at java.util.ArrayList.get(ArrayList.java:322)
    at com.oracle.ovm.mgr.discover.ovm.ServerHardwareDiscoverHandler.processSMBIOSData(ServerHardwareDiscoverHandler.java:482)
    at com.oracle.ovm.mgr.discover.ovm.ServerHardwareDiscoverHandler.processProcessorData(ServerHardwareDiscoverHandler.java:591)
    at com.oracle.ovm.mgr.discover.ovm.ServerHardwareDiscoverHandler.process(ServerHardwareDiscoverHandler.java:338)
    at com.oracle.ovm.mgr.discover.ovm.DiscoverHandler.execute(DiscoverHandler.java:55)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:442)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:427)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:412)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDefaultDiscover(DiscoverEngine.java:373)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.discoverNewServer(DiscoverEngine.java:360)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.discoverServer(DiscoverEngine.java:272)
    at com.oracle.ovm.mgr.op.manager.DiscoverManagerServerDiscover.action(DiscoverManagerServerDiscover.java:48)
    at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:193)
    at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:264)
    at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1090)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:247)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:207)
    at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
    at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
    at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
    at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:751)
    at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
    at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
    at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
    at java.lang.Thread.run(Thread.java:662)
    Sat May 12 18:52:20 PDT 2012
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:457)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:427)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:412)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDefaultDiscover(DiscoverEngine.java:373)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.discoverNewServer(DiscoverEngine.java:360)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.discoverServer(DiscoverEngine.java:272)
    at com.oracle.ovm.mgr.op.manager.DiscoverManagerServerDiscover.action(DiscoverManagerServerDiscover.java:48)
    at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:193)
    at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:264)
    at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1090)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:247)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:207)
    at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
    at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
    at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
    at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:751)
    at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
    at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
    at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
    at java.lang.Thread.run(Thread.java:662)
    FailedOperationCleanup
    Starting failed operation 'Discover Manager Server Discover' cleanup on object 'OVM Foundry : Discover Manager'
    Complete rollback operation 'Discover Manager Server Discover' completed with direction=OVM Foundry : Discover Manager
    Rollbacker
    Objects To Be Rolled Back
    Object (CREATED): [LocalStorageInitiator] storage.LocalStorageInitiator in f9:11:d2:76:69:e2:45:c9:9c:90:86:9f:37:b7:d8:92
    Object (CREATED): [Processor] Processor (1) in f9:11:d2:76:69:e2:45:c9:9c:90:86:9f:37:b7:d8:92
    Object (CREATED): [InternalPort] network.InternalPort (1) in f9:11:d2:76:69:e2:45:c9:9c:90:86:9f:37:b7:d8:92 (network.InternalPort (1) in ovmserver.govinsys.com)
    Object (IN_USE): [DiscoverManager] OVM Foundry : Discover Manager
    Object (CREATED): [XenHypervisor] Hypervisor in f9:11:d2:76:69:e2:45:c9:9c:90:86:9f:37:b7:d8:92
    Object (CREATED): [Server] f9:11:d2:76:69:e2:45:c9:9c:90:86:9f:37:b7:d8:92 (ovmserver.govinsys.com)
    Write Methods Invoked
    Class=InternalJobDbImpl vessel_id=2901 method=addTransactionIdentifier accessLevel=6
    Class=DiscoverManagerDbImpl vessel_id=165 method=discoverServer accessLevel=6
    Class=InternalJobDbImpl vessel_id=2901 method=setCompletedStep accessLevel=6
    Class=InternalJobDbImpl vessel_id=2901 method=setAssociatedHandles accessLevel=6
    Class=InternalJobDbImpl vessel_id=2901 method=setContext accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setName accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setFoundryContext accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=onPersistableCreate accessLevel=6
    Class=HashMapDbImpl vessel_id=2918 method=remove accessLevel=6
    Class=LocalStorageInitiatorDbImpl vessel_id=2919 method=setName accessLevel=6
    Class=LocalStorageInitiatorDbImpl vessel_id=2919 method=setFoundryContext accessLevel=6
    Class=LocalStorageInitiatorDbImpl vessel_id=2919 method=onPersistableCreate accessLevel=6
    Class=LocalStorageInitiatorDbImpl vessel_id=2919 method=setLifecycleState accessLevel=6
    Class=LocalStorageInitiatorDbImpl vessel_id=2919 method=setRollbackLifecycleState accessLevel=6
    Class=InternalPortDbImpl vessel_id=2925 method=setName accessLevel=6
    Class=InternalPortDbImpl vessel_id=2925 method=setFoundryContext accessLevel=6
    Class=InternalPortDbImpl vessel_id=2925 method=onPersistableCreate accessLevel=6
    Class=PortDownEventDbImpl vessel_id=2931 method=notify accessLevel=6
    Class=InternalPortDbImpl vessel_id=2925 method=setLifecycleState accessLevel=6
    Class=InternalPortDbImpl vessel_id=2925 method=setRollbackLifecycleState accessLevel=6
    Class=InternalPortDbImpl vessel_id=2925 method=setNumber accessLevel=6
    Class=InternalPortDbImpl vessel_id=2925 method=setServer accessLevel=6
    Class=RootStatisticLogDbImpl vessel_id=117 method=createStatisticSubjectLog accessLevel=6
    Class=StatisticSubjectLogDbImpl vessel_id=2932 method=setStatisticSubject accessLevel=6
    Class=StatisticSubjectLogDbImpl vessel_id=2932 method=createAllStatisticTypeLogs accessLevel=6
    Class=StatisticTypeLogDbImpl vessel_id=2934 method=setType accessLevel=6
    Class=StatisticTypeLogDbImpl vessel_id=2936 method=setType accessLevel=6
    Class=StatisticTypeLogDbImpl vessel_id=2938 method=setType accessLevel=6
    Class=StatisticTypeLogDbImpl vessel_id=2940 method=setType accessLevel=6
    Class=StatisticTypeLogDbImpl vessel_id=2942 method=setType accessLevel=6
    Class=StatisticTypeLogDbImpl vessel_id=2944 method=setType accessLevel=6
    Class=StatisticTypeLogDbImpl vessel_id=2946 method=setType accessLevel=6
    Class=StatisticTypeLogDbImpl vessel_id=2948 method=setType accessLevel=6
    Class=StatisticTypeLogDbImpl vessel_id=2950 method=setType accessLevel=6
    Class=StatisticTypeLogDbImpl vessel_id=2952 method=setType accessLevel=6
    Class=StatisticTypeLogDbImpl vessel_id=2954 method=setType accessLevel=6
    Class=StatisticTypeLogDbImpl vessel_id=2956 method=setType accessLevel=6
    Class=StatisticTypeLogDbImpl vessel_id=2958 method=setType accessLevel=6
    Class=StatisticTypeLogDbImpl vessel_id=2960 method=setType accessLevel=6
    Class=StatisticTypeLogDbImpl vessel_id=2962 method=setType accessLevel=6
    Class=StatisticTypeLogDbImpl vessel_id=2964 method=setType accessLevel=6
    Class=StatisticTypeLogDbImpl vessel_id=2966 method=setType accessLevel=6
    Class=ServerStoppedEventDbImpl vessel_id=2968 method=notify accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setLifecycleState accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setRollbackLifecycleState accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setType accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setEncodedAgentPassword accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setManagementInternetProtocolAddress accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setAgentVersion accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setBootGeneration accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setRpmVersion accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setOvmVersion accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setHostKernelRelease accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setHostKernelVersion accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setHostname accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setManagerUuid accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setPythonBindingVersion accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=createHypervisor accessLevel=6
    Class=XenHypervisorDbImpl vessel_id=2971 method=setName accessLevel=6
    Class=XenHypervisorDbImpl vessel_id=2971 method=setFoundryContext accessLevel=6
    Class=XenHypervisorDbImpl vessel_id=2971 method=onPersistableCreate accessLevel=6
    Class=XenHypervisorDbImpl vessel_id=2971 method=setLifecycleState accessLevel=6
    Class=XenHypervisorDbImpl vessel_id=2971 method=setRollbackLifecycleState accessLevel=6
    Class=XenHypervisorDbImpl vessel_id=2971 method=setServer accessLevel=6
    Class=XenHypervisorDbImpl vessel_id=2971 method=setCompiler accessLevel=6
    Class=XenHypervisorDbImpl vessel_id=2971 method=setCompiledBy accessLevel=6
    Class=XenHypervisorDbImpl vessel_id=2971 method=setCompileDomain accessLevel=6
    Class=XenHypervisorDbImpl vessel_id=2971 method=setCompiledDate accessLevel=6
    Class=XenHypervisorDbImpl vessel_id=2971 method=setVersion accessLevel=6
    Class=XenHypervisorDbImpl vessel_id=2971 method=clearCapabilities accessLevel=6
    Class=XenHypervisorDbImpl vessel_id=2971 method=addCapability accessLevel=6
    Class=XenHypervisorDbImpl vessel_id=2971 method=addCapability accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=removeAllNtpServers accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=addNtpServer accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=addNtpServer accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=addNtpServer accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setStatisticInterval accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=lock accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setProductName accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setManufacturer accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setProductSerialNumber accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setSimpleName accessLevel=6
    Class=InternalPortDbImpl vessel_id=2925 method=setSimpleName accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setMemory accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setProcessorSpeed accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setNoExecuteFlag accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setNumberOfThreadsPerCore accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setNumberOfProcessorSockets accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setNumberOfCoresPerProcessorSocket accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setNumberOfPopulatedProcessorSockets accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=createProcessor accessLevel=6
    Class=ProcessorDbImpl vessel_id=2977 method=setName accessLevel=6
    Class=ProcessorDbImpl vessel_id=2977 method=setFoundryContext accessLevel=6
    Class=ProcessorDbImpl vessel_id=2977 method=onPersistableCreate accessLevel=6
    Class=ProcessorDbImpl vessel_id=2977 method=setLifecycleState accessLevel=6
    Class=ProcessorDbImpl vessel_id=2977 method=setRollbackLifecycleState accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setBIOSReleaseDate accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setBIOSVendor accessLevel=6
    Class=ServerDbImpl vessel_id=2911 method=setBIOSVersion accessLevel=6
    Class=InternalJobDbImpl vessel_id=2901 method=setFailedOperation accessLevel=6
    Class=DiscoverManagerDbImpl vessel_id=165 method=nextJobOperation accessLevel=6
    Completed Step: ROLLBACK
    Job failed commit (internal) due to OVMAPI_6055E Discover target: ovmserver.govinsys.com, Discover failed with error: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.RangeCheck(ArrayList.java:547)
    at java.util.ArrayList.get(ArrayList.java:322)
    at com.oracle.ovm.mgr.discover.ovm.ServerHardwareDiscoverHandler.processSMBIOSData(ServerHardwareDiscoverHandler.java:482)
    at com.oracle.ovm.mgr.discover.ovm.ServerHardwareDiscoverHandler.processProcessorData(ServerHardwareDiscoverHandler.java:591)
    at com.oracle.ovm.mgr.discover.ovm.ServerHardwareDiscoverHandler.process(ServerHardwareDiscoverHandler.java:338)
    at com.oracle.ovm.mgr.discover.ovm.DiscoverHandler.execute(DiscoverHandler.java:55)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:442)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:427)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:412)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDefaultDiscover(DiscoverEngine.java:373)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.discoverNewServer(DiscoverEngine.java:360)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.discoverServer(DiscoverEngine.java:272)
    at com.oracle.ovm.mgr.op.manager.DiscoverManagerServerDiscover.action(DiscoverManagerServerDiscover.java:48)
    at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:193)
    at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:264)
    at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1090)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:247)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:207)
    at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
    at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
    at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
    at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:751)
    at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
    at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
    at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
    at java.lang.Thread.run(Thread.java:662)
    Sat May 12 18:52:20 PDT 2012
    com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_6055E Discover target: ovmserver.govinsys.com, Discover failed with error: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.RangeCheck(ArrayList.java:547)
    at java.util.ArrayList.get(ArrayList.java:322)
    at com.oracle.ovm.mgr.discover.ovm.ServerHardwareDiscoverHandler.processSMBIOSData(ServerHardwareDiscoverHandler.java:482)
    at com.oracle.ovm.mgr.discover.ovm.ServerHardwareDiscoverHandler.processProcessorData(ServerHardwareDiscoverHandler.java:591)
    at com.oracle.ovm.mgr.discover.ovm.ServerHardwareDiscoverHandler.process(ServerHardwareDiscoverHandler.java:338)
    at com.oracle.ovm.mgr.discover.ovm.DiscoverHandler.execute(DiscoverHandler.java:55)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:442)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:427)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:412)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDefaultDiscover(DiscoverEngine.java:373)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.discoverNewServer(DiscoverEngine.java:360)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.discoverServer(DiscoverEngine.java:272)
    at com.oracle.ovm.mgr.op.manager.DiscoverManagerServerDiscover.action(DiscoverManagerServerDiscover.java:48)
    at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:193)
    at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:264)
    at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1090)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:247)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:207)
    at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
    at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
    at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
    at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:751)
    at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
    at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
    at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
    at java.lang.Thread.run(Thread.java:662)
    Sat May 12 18:52:20 PDT 2012
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:457)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:427)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:412)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDefaultDiscover(DiscoverEngine.java:373)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.discoverNewServer(DiscoverEngine.java:360)
    at com.oracle.ovm.mgr.discover.DiscoverEngine.discoverServer(DiscoverEngine.java:272)
    at com.oracle.ovm.mgr.op.manager.DiscoverManagerServerDiscover.action(DiscoverManagerServerDiscover.java:48)
    at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:193)
    at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:264)
    at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1090)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:247)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:207)
    at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
    at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
    at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
    at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:751)
    at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
    at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
    at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
    at java.lang.Thread.run(Thread.java:662)
    End of Job
    ----------

    Please review the KM note: Upgrade to Oracle VM 3.1.1 using Yum Repository may cause network configuration scripts to be renamed causing network failure after reboot (Doc ID 1464126.1)
    https://support.oracle.com/oip/faces/secure/km/DocumentDisplay.jspx?id=1464126.1
    Workaround
    To prevent this problem, disable 'kudzu' before upgrading Oracle VM 3.0.x to 3.1.1. On each Oracle VM 3.0.x server (dom0), type the following command to disable 'kudzu' at all run levels:
    # chkconfig kudzu off
    To verify that kudzu is disabled:
    # chkconfig --list | grep kudzu
    If the system has been upgraded with 'kudzu' in place, re-name the ifcfg-ethx.bak files to ifcfg-ethx and restart the network (or reboot) to workaround the issue.
    Patches
    Fix:
    A fix has been added to the ovs-release package to obsolete kudzu during yum update. Be sure to download the latest patches from Oracle Unbreakable Linux Network (https://linux.oracle.com) and add the Oracle VM 3.1.1 Server Patches channel to the Yum Repository before you perform server upgrade from 3.0.x to 3.1.1. Then the above mentioned workaround is not needed.
    Oracle VM 3.1.1 Server Patches
    enterprise-linux-ovs-5-4.100.1.1.x86_64.rpm
    ovs-release-3.1-4.100.1.1.x86_64.rpm

  • Ops Center 12c - discovery of OVM Manager fails

    Ops Center 12c - discovery of OVM Manager fails
    I am trying to discover OVM Manager and the OC job fails, I noticed that its trying to connected using port 54321 which only listens to localhost.
    is there any way to change Ops Center discovery to use port 54322? I followed this process to enable port 54322 (port 54321 will only listen to localhost) http://docs.oracle.com/cd/E27300_01/E27308/html/vmiug-manager-tcps.html.
    Thanks,
    -Eli

    Did you get an answer to this? I am in the similar situation

  • "Failed to retrieve data from OVM Manager"

    I'm trying to setup Cloud Control 12c Private Cloud environment. My machines in OVM pool have local disks so there is a repository per physical machine, plus one shared repository on NFS (OVM lists all those repositories in its UI)
    When I try to navigate to VM Manager->Administration->Storage Repository page here is an error dialog I get:
    "Failed to retrieve data from OVM Manager. Please check log file for details"
    I've tried performing VM Manager->Synchronize, but that didn't help.
    Let me note that I can go to other pages like Administration->Network without any problem.
    What is a log file to look into? I tried looking under /u01/app/oracle/Middleware/oms/sysman/log but found nothing useful.

    Hi Diptesh,
       What is your crystal reports version ? CRXI or higher?
    And does your filter bject consists of apostrophie s fields?
    If this is the case then this is a known issue try installing the latest service packs or fix packs to see if it resolves the issue?
    Regards,
    Vinay

  • Fails to Launch Console Using OVM Manager 3.0.2 GUI

    hi,
    I simply want to open a VM using 'Launch Console' on the OVM Manager.
    So I select the VM, then select 'Launch Console'. A popup window opens which allows to open or download "ovm_rasproxy-ws.jnlp"
    when i try to open "ovm_rasproxy-ws.jnlp". java web start say's "Starting application" and it gives the below Unexpected Error
    An error occurred while launching/running the application.
    Title: Oracle VM Remote Access Service
    Vendor: Oracle
    Category: Unexpected Error
    Unexpected exception: java.lang.Exception
    Can anybody help me out...
    Thanks in Advance

    Raja Gounder wrote:
    Unexpected exception: java.lang.ExceptionWe need the rest of the error. :)

  • OVM Manager 3.3.1 Installation Fails

    I am having a hard time figuring this out. I am trying to install OVM Manager 3.3.1 on Oracle Linux release 7. I have configured the host file with the IP address and the Name of the host. I have setup the IPTABLE firewall ports. I ran createOracle.sh script successfully. I can ping the host by name and IP address, I can ping outside addresses. When going through the OVM Manager install I get through the point where I choose "1-for installation" and then it says that its retrieving MySQL Database 5.6 and then just goes back to a command prompt. The logs do not give any insight on what went wrong. Not sure where else I can try other than starting over again and installing Oracle Linux 6 and trying to install OVM Manager from there.

    by any chance do you have existing installation of mysql to the machine
    you are installing OVMM?
    another hint is to disable SELinux.
    I checked the documentation and OEL 7 is not in the list of supported
    OS. I would not try to run any Oracle product on unsupported
    configuration and based on this I would advise you run the installation
    on OEL 6 updated with the latest level.
    Hope this helps,
    A.

  • Oracle vm manager 3.3.1 can't discover the server which one has reinstall system

               It couldn't to import the iso file to the Repositories,and I doubt that the nfs  which it created by the disks of ovm server has some problem .So the ovm
    server has reinstalled system.
               There's the log from the  ovm server on /var/log/ovs-agent.log 
    [2015-02-09 15:39:23 31263] ERROR (notificationserver:240) Error sendinging statistics: Unauthorized {"message":"AUTH_000003:Necessary authorization
    information was not supplied.","errorCode":"AUTH_000003","cause":null,"wsErrorCode":"AUTH_INFO_NOT_SUPPLIED"}
    [2015-02-09 15:39:52 31263] DEBUG (notificationserver:192) sent events: [('{CLUSTER} {MONITOR} Cluster state changed from [Unknown] to [Offline]', {
    }), ('Feb  7 08:33:39 {NETWORK} net : LINKCHANGE : eth0 (0) [1]\n', {}), ('Feb  7 08:33:40 {NETWORK} net : LINKCHANGE : bond0 (0) [1]\n', {}), ('Feb
      7 08:34:57 {NETWORK} net : LINKCHANGE : eth0 (1) [0]\n', {}), ('Feb  7 08:34:57 {NETWORK} net : LINKCHANGE : bond0 (1) [0]\n', {})]
    [2015-02-09 15:39:52 31263] ERROR (notificationserver:201) Error sending events: Unauthorized {"message":"AUTH_000003:Necessary authorization inform
    ation was not supplied.","errorCode":"AUTH_000003","cause":null,"wsErrorCode":"AUTH_INFO_NOT_SUPPLIED"}
    Traceback (most recent call last):
      File "/usr/lib64/python2.6/site-packages/agent/daemon/notificationserver.py", line 193, in event_sender
        session.post(events_formatted)
      File "/usr/lib64/python2.6/site-packages/agent/daemon/notificationserver.py", line 63, in post
        return self._do_post(data)
      File "/usr/lib64/python2.6/site-packages/agent/daemon/notificationserver.py", line 81, in _do_post
        raise Exception('%s %s' % (response.reason, content))
    Exception: Unauthorized {"message":"AUTH_000003:Necessary authorization information was not supplied.","errorCode":"AUTH_000003","cause":null,"wsErr
    orCode":"AUTH_INFO_NOT_SUPPLIED"}
    [2015-02-09 15:39:53 31263] ERROR (notificationserver:240) Error sendinging statistics: Unauthorized {"message":"AUTH_000003:Necessary authorization
    information was not supplied.","errorCode":"AUTH_000003","cause":null,"wsErrorCode":"AUTH_INFO_NOT_SUPPLIED"}
                 The message is from ovm manager.
    OVMAPI_4025E Attempt to send command: get_api_version to server: 10.189.209.222 failed due to errors authenticating to the server. OVMAPI_4004E Sync command failed on server: 10.189.209.222. Command: get_api_version, Server error: org.apache.xmlrpc.XmlRpcException: I/O error while communicating with HTTP server: Received fatal alert: handshake_failure [Mon Feb 09 15:14:59 CST 2015] [Mon Feb 09 15:14:59 CST 2015]
            Please ,help me!

    Frank,
    Sorry I didn't see this before, but it wasn't on the most recent posts. Please see related post here OVM Sparc - Can't discover local disks
    The net is that the initial support for Oracle VM Manager with Oracle VM Server for SPARC only supports NFS for repository (and virtual disks). A later release will permit virtual disks from FC SAN, iSCSI, and local disk as well as NFS. The linked not provides more information and a link to beta code.  regards, Jeff

  • OVM Server Ownership in OVM Manager

    Hi,
    I am new to OVM so go easy on me ;)
    Am having a play around with OVM 3 for the first time. I managed to get into a state in OVM Manager where my OVM Server was kind of half discovered, although I was able to "Take Ownership" in the Manager. When I tried to delete it it failed saying it didn't exist. When I tried to re-discover it said it already existed. So in the end I gave up and just uninstalled and re-installed OVM Manager.
    So now I can successfully discover my OVM server, great, I thought, but now when I try and "Take Ownership" of this newly discovered VM server it says it's already owned by another manager:
    OVMRU_000009E Server <my OVM server> is already owned by an Oracle VM Manager.
    Anybody any ideas how I can resolve this?
    Thanks
    Jim

    bmace wrote:
    I'm not sure how it ended up being implemented exactly but I believe there should also be a way to specify the manager UUID at manager install time.Just run the installer with the -u option to pass the UUID in:
    # ./runInstaller.sh -u <uuid> You can find the UUID of your Manager installation by checking the .config file at */u01/app/oracle/ovm-manager-3/.config*

Maybe you are looking for

  • Can't start Photoshop up anymore - HELP!!

    I recently got my new MacBook Pro and installed Adobe creative suite on to it with no problems. I have been using Photoshop/Illustrator/InDesign etc all week with no problems. The other day I installed The sims, Champioship Manager, C&C Generals and

  • Add new fields incu stomer data tab ( transaction BP)

    Hello, I need to add three new fields in the  standard  transaction BP.  I need the  three new fields show in the customer data tab when you have introduced a determinated value in control tab before. Is it possible? Can you tell me the way? Thanks

  • What is the field for good receipts?

    hi friends i got the requirement to create the goods receipts what is the field for good receipts plz tell me how to create it thanks in advance Edited by: Alvaro Tejada Galindo on Feb 25, 2008 5:33 PM

  • Segregation of duties Matrix Export (SAP GRC)

    Hello guys! I need to know the procedure (transactions and views) to obtain or export the segregation of duties matrix for SAP FI components using SAP GRC 10.0 and SAP GRC 5.3? Is that possible? Thanks in advance. Best regards. Maryl.

  • Changing look & feel in jsp

    Hi, This is regarding to change the look & feel using jsp i have create two .laf files (each contain differnt skin & skeleton) in .jsp a) how to show the look & feel names dynamically? (in dropdown) b)when i select a particular look & feel, then that