Sitemap

Amicuk Programming Answers

OVM Manager 3.1.1 can't discover one of the servers

-0001-11-30   Views:11

Advertisement

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 (so

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:
[[email protected] ~]# /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
[[email protected] ~]# /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.

The replay answer
Advertisement
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

Go to See the other 2 answers

OVM Manager 3.1.1 can't discover one of the servers

Category:DefaultRelease time:-0001-11-30Views:130

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 (so[More]

OVM Manager 3.2.1 fail to discover Oracle VM for SPARC 3.0

Category:DefaultRelease time:-0001-11-30Views:130

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_s[More]

Ops Center 12c - discovery of OVM Manager fails

Category:DefaultRelease time:-0001-11-30Views:130

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[More]

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

Category:DefaultRelease time:2015-10-11Views:130

           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 /va[More]

Adding an OVM server back into OVM Manager after a reload

Category:DefaultRelease time:-0001-11-30Views:130

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. Af[More]

Unable to Boot OVM Manager ISO from iLOM

Category:DefaultRelease time:-0001-11-30Views:130

Hi all, I am trying to boot the OVM Manager ISO on a Fire X4150 using the console redirection but all that comes up is "Grub" and allows no further interaction. I've tried downloading the ISO multiple times, using an older version of the OVM ins[More]

Does OVM Manager require access to SAN/NAS VLAN

Category:DefaultRelease time:-0001-11-30Views:130

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[More]

OVM Server Ownership in OVM Manager

Category:DefaultRelease time:-0001-11-30Views:130

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.[More]

OVM manager 3.0.3.546 locked up with message "Please wait while system is initializing"

Category:DefaultRelease time:-0001-11-30Views:130

Hi , I am receiving this message on any actions on OVM manager. and AdminServer.log with this message ####<Aug 16, 2013 9:26:16 AM EST> <Warning> <com.oracle.ovm.mgr.model.ModelEngine> <serverneame> <AdminServer> <Odof Tcp[More]

Lost connection between ovm-manager and ovm-server (ovm 3.1)

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have a manager as a VM on my laptop and a physical server as an ovm-server. Everything is fine when i boot the server but after some time, the manager stop to show the information from the server. in the ovs-agent log file the following message[More]

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

Category:DefaultRelease time:2015-10-11Views:130

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[More]

Hot
I have a report that I"m trying to display an image at runtime. I create the data template, then the word template. In the word template I have tried: 1. Tried adding the code to the a text form field (form fileld text help) 2. Straight to the word r [More]
Hi, I am creating a RFC function module. The requirement is: In a report program, the user enters ABC and XYZ values on the selection screen. These 2 fields are select options so will have From-Value and To-Value. This report program will pass these [More]
Hi everybody I used this script ( http://www.adobe.com/devnet/digitalpublishingsuite/articles/dps-pdf-to-indesign.html ) to create a magazine based on pdfs but I have a big problem. The imported pdfs with trasparent elements display incorrectly but o [More]
Hi all, I was wondering what people would suggest if I ask them how I would connect my iMac to an amplifier named: Yamaha DSP AX-750SE. A simple jack to red and white cable possibly? Or sugggestions of a better quality stream of music is much welcome [More]
I just installed my new iMac, which replaced my Mac Mini. I hook my Mac to my stereo via the headphone jack for playing iTunes. But most of the time I don't have the stereo on. is there a way to keep the headphone jack plugged in and still have audio [More]
No sound from iphone4 when playing audio  ring tone is fineI am actually having the same issue.  In Settings, lock sounds and keyboard clicks switches are set to "on" but that does not resolve it.  iTunes, videos, and game audio (in addition to [More]
Hi , In ALV  maintain  one column as color Green Thanks, AshaThere are options in ALV grid to color whole row or cell, you want column (bad luck) so you will have to color cells. 1-Add a field of type LVC_T_SCOL to the internal table. 2-Fill the inte [More]
Hi, here is my semi-complete program, I have removed the methods that were irrelevant to make things simple. The program is supposed to represent Graphs, and minimal spanning trees. I first have to put edges in a priority queue of type : PQEntry (Bel [More]
Does anyone know how to prevent ellipsis (...) in the data of a JTable? What I want is for each column to be wide enough to display the longest string in the column without the use of ellipsis. Thanks so much, JasonHi Jason, By default, "JTable" [More]
Hi, I am creating a custom static control, and want to load different bitmap for different state. I inherited CMyStatic from CStatic and override the below functions. And i created the static control using SS_NOTIFY macro.  I am getting the state of [More]