Main Menu

Search

Showing posts with label Linker Article OVS. Show all posts
Showing posts with label Linker Article OVS. Show all posts

Oracle VM Manager: How to check and troubleshoot communication issues between OVM Manager and OVS Dom0 nodes

Following are steps to check and troubleshoot communication issues between OVM Manager and OVS Dom0 nodes.

1) Run below command on Host running OVM Manager.

netstat -an | grep 7002

When running above command you should see TCP WAIT or LISTEN connections to all Dom0 Nodes IPs (using which they were discovered in OVMM).

2) Run below command on Dom0 nodes and check if the ovs-agent is up and running.

service ovs-agent status

3) Run below command on Dom0 nodes to check if OVM Manager URL is shown.

ovs-agent-db dump_db server

In above command output check for manager_core_api_url and see if you see https URL for OVM Manager URL and 7002 port. URL will be like "'https://XXXX:YYYY@:7002/ovm/core/OVMManagerCoreServlet'"

4) Run below tcpdump command on Dom0 node and check if the communication is happening between Dom0 compute node and OVM Manager. In below command replace the IP with the IP of OVM Manager.

tcpdump -i any host <IP> and port 7002 

5) Do Ping tests between the Dom0 Nodes and OVM Manager host using over IPs (used to discover OVS nodes from OVMM) both the ways.

 

Products to which Article Applies

Oracle VM Manager, OVS - All versions.

 

Article Author: Tarun Boyella

Oracle Virtual Server: How To Check If CPU Oversubscription Is Being Used on OVS Dom0 Node Where Multiple VMs Are Sharing One Physical CPU? (xm/xen command)

Below xm command be used to check if CPU over subsription is being used.
xm vcpu-list
Below is example snippet of above command. Refer to CPU column in below output. If no CPU over subscription is not being used, no one CPU should be shared among multiple VM's. If CPU over subscription it is expected to see one physical CPU being shared by multiple Guest Virtual Machines.
# xm vcpu-list
Name ID VCPU CPU State Time(s) CPU Affinity
0004fb00000600001ec36fa6da3a1473 4 0 87 r-- 55646.3 44-87
0004fb00000600001ec36fa6da3a1473 4 1 63 -b- 81204.9 44-87
0004fb00000600001ec36fa6da3a1473 4 2 59 -b- 85852.2 44-87
0004fb00000600001ec36fa6da3a1473 4 3 51 -b- 91959.9 44-87
0004fb00000600001ec36fa6da3a1473 4 4 67 r-- 91004.3 44-87
0004fb00000600001ec36fa6da3a1473 4 5 65 -b- 100265.6 44-87
0004fb00000600001ec36fa6da3a1473 4 6 69 -b- 68955.0 44-87
0004fb00000600001ec36fa6da3a1473 4 7 61 -b- 80699.3 44-87
0004fb00000600001ec36fa6da3a1473 4 8 70 -b- 73943.4 44-87
0004fb00000600001ec36fa6da3a1473 4 9 46 -b- 55776.7 44-87
0004fb00000600001ec36fa6da3a1473 4 10 52 -b- 57619.8 44-87
0004fb00000600001ec36fa6da3a1473 4 11 57 -b- 51450.2 44-87
0004fb000006000064112543536d3fcb 5 0 83 r-- 47772.5 44-87
0004fb000006000064112543536d3fcb 5 1 45 -b- 41886.0 44-87
0004fb0000060000373cd5d8c9a42827 1 0 85 -b- 829.2 44-87
0004fb0000060000373cd5d8c9a42827 1 1 49 -b- 830.5 44-87
0004fb0000060000373cd5d8c9a42827 1 2 55 -b- 1058.6 44-87
0004fb0000060000373cd5d8c9a42827 1 3 81 -b- 825.6 44-87
Domain-0 0 0 0 -b- 9573.5 0
Domain-0 0 1 1 -b- 5905.3 1
Domain-0 0 2 2 -b- 9971.7 2
Domain-0 0 3 3 r-- 6694.2 3
Domain-0 0 4 4 -b- 9278.9 4
Domain-0 0 5 5 -b- 4992.5 5
Domain-0 0 6 6 -b- 9654.8 6
Domain-0 0 7 7 -b- 5390.5 7
Domain-0 0 8 8 -b- 9806.7 8

Products to which Article Applies
Oracle Virtual Server - All versions
Article Author: Tarun Boyella

Oracle Virtual Server: How To Check NUMA Settings (NR CPUs, Nodes, Cores, Socket) On Dom0 OVS Node?

Below command can be used to to check NUMA settings (CPUs, Nodes, Cores, Socket) on Dom0 OVS Node.

xm info -n

Below is example output of above command.

host : XXXXcn01.YYY.ZZZ.MMM 
release : 2.6.39-300.22.2.el5uek
version : #1 SMP Fri Jan 4 12:40:29 PST 2013
machine : x86_64
nr_cpus : 48
nr_nodes : 2
cores_per_socket : 12
threads_per_core : 2

 

Products to which Article Applies

Oracle Virtual Server - All Versions

 

Article Author: Tarun Boyella

Oracle Virtual Server: Command To Force Reload O2CB Cluster (How To Doc)

Below is command to force reload O2CB Cluster.

service o2cb force-reload 

 

Products to which Article Applies

Oracle Virtual Server - All versions.

 

Article Author: Tarun Boyella

Oracle Virtual Server: ovs-agent Process Log PID File Location

Below file on Dom0 Node shows ovs-agent process log PID file.
/var/run/ovs-agent/log.pid 
“service ovs-agent- status” command also shows ova-agent log PID details. Below is example snippet of the command which shows ovs-agent log PID details (highlighted) in bold.
# service ovs-agent status
log server (pid 21683) is running...
notification server (pid 21689) is running...
remaster server (pid 21702) is running...
monitor server (pid 21704) is running...
ha server (pid 21705) is running...
stats server (pid 21708) is running...
xmlrpc server (pid 21710) is running…

Products to which Article Applies
Oracle Virtual Server All versions
Article Author: Tarun Boyella

Oracle Virtual Server (OVS): Command To Check Nodes / Servers Part of OVS Pool? (How To Doc)

In Standalone OVM Deployment or in Engineered Systems like Exalogic or Private Cloud Appliance the Dom0 OVS Compute Nodes are part of OVS Repository Pool File System. In order to check the Servers / Nodes part of OVS Pool File system below command can be used.


ovs-agent-db dump_db server

Below is snippet of above command.



{'cluster_state': 'DLM_Ready',
 'clustered': True,
 'is_master': True,
 'manager_core_api_url': 'https://e00f5b540010ffffffffffffff200008:897c7fce6cf5404d8e3757ba4c63cd2f@10.10.23.6:7002/ovm/core/OVMManagerCoreServlet',
 'manager_uuid': '0004fTTTTTTTTTTTTTTTTTTTTTT7496f',
 'node_number': 0,
 'pool_alias': 'ovstestpool',
 'pool_member_ip_list': ['10.10.23.1',
                         '10.10.23.2',
                         '10.10.23.4',
                         '10.10.23.3'],
 'pool_uuid': '0004fb00ZZZZZZZZZZZZZZZZ1815c026a4',
 'pool_virtual_ip': '10.10.23.5',
 'poolfs_nfsbase_uuid': 'ZZZZZZZZZZZ-c4b3-ZZZZZZ-8ff3-TTTTTT',
 'poolfs_target': '10.10.21.5:/export/ExalogicPool1',
 'poolfs_type': 'nfs',
 'poolfs_uuid': '0004fb0000050000e816324cc39e4825',
 'registered_hostname': 'node1.test.com',
 'registered_ip': '10.10.23.1',
 'roles': set(['xen', 'utility'])}


Products to which Article Applies

Any environment using Oracle VM Manager (OVMM) and OVS (Oracle Virtual Server)