OVM SPARC cheat sheet – Part 1

In this article I am going to show you the basic commands which can be used in OVM for SPARC to check the status and version information. You can provide the output of these commands to oracle as well to expedite the troubleshooting.

How to check the OVS server version ?

ovs01_sparc ~> cat /etc/ovs-release
Oracle VM server release 3.3.1

How to check the more detailed information ?

ovs01_sparc ~> cat /etc/ovs-info
OVS summary
release: 3.3.1
date: 201406191717
build: 1065

Packages
ovm ovm/dlm 0.0.1,5.11-3.3.1.0.0.1065:20140620T001708Z
ovm ovm/extra/urlgrabber 3.9.1,5.11-3.3.1.0.0.1058:20140528T235313Z
ovm ovm/extra/vbox-img 1.0.0,5.11-3.3.1.0.0.1058:20140528T235238Z
ovm ovm/ovs-agent 3.3.1,5.11-3.3.1.0.0.1065:20140620T001640Z
ovm ovm/storage-connect/plugin-manager 1.2.8,5.11-3.3.1.0.0.1058:20140528T235258Z
ovm ovm/storage-connect/plugins/oracle-generic 1.1.0,5.11-3.3.1.0.0.1058:20140528T235246Z
ovm ovm/storage-connect/plugins/oracle-zfs 1.0.0,5.11-3.3.1.0.0.1058:20140528T235303Z

How to check the version of ldm ?

ovs01_sparc ~> ldm -V

Logical Domains Manager (v 3.1.1.0.5)
Hypervisor control protocol v 1.11
Using Hypervisor MD v 1.4

System PROM:
Hostconfig v. 1.4.0 @(#)Hostconfig 1.4.0 2014/04/04 17:51
Hypervisor v. 1.13.0.a @(#)Hypervisor 1.13.0.a 2014/04/08 14:05
OpenBoot v. 4.36.0 @(#)OpenBoot 4.36.0 2014/04/04 15:50

How to check the more detailed information about each package ?

ovs01_sparc ~> pkg info ovs-agent
Name: ovm/ovs-agent
Summary: Oracle VM Agent
Description: Oracle VM Agent for LDoms
Category: System/Virtualization
State: Installed
Publisher: ovm
Version: 3.3.1
Build Release: 5.11
Branch: 3.3.1.0.0.1065
Packaging Date: June 20, 2014 12:16:40 AM
Size: 1.94 MB
FMRI: pkg://ovm/ovm/ovs-agent@3.3.1,5.11-3.3.1.0.0.1065:20140620T001640Z

How to check the solaris version information ?

ovs01_sparc ~> pkg info entire
Name: entire
Summary: entire incorporation including Support Repository Update (Oracle Solaris 11.1.21.4.1).
Description: This package constrains system package versions to the same
build. WARNING: Proper system update and correct package
selection depend on the presence of this incorporation.
Removing this package will result in an unsupported system. For
more information see https://support.oracle.com/CSP/main/article
?cmd=show&type=NOT&doctype=REFERENCE&id=1501435.1.
Category: Meta Packages/Incorporations
State: Installed
Publisher: solaris
Version: 0.5.11 (Oracle Solaris 11.1.21.4.1)
Build Release: 5.11
Branch: 0.175.1.21.0.4.1
Packaging Date: July 1, 2014 04:57:05 PM
Size: 5.46 kB
FMRI: pkg://solaris/entire@0.5.11,5.11-0.175.1.21.0.4.1:20140701T165705Z

What is main service which is running in physical server OVS ?

ovs01_sparc log> svcs ovm/*
STATE STIME FMRI
online Oct_08 svc:/ovm/ovs-config:default
online Oct_08 svc:/ovm/ovs-agent:default
online Oct_08 svc:/ovm/ovmwatch:default

How to check the status of ovs agent setup status?

root@ovs01_sparc log> ovs-agent-setup check
Network Configuration
Network Configuration OK
Storage Configuration
Storage Configuration OK
OVS Agent Configuration
OVS Agent Configuration OK
Cluster Configuration
Cluster Configuration OK
LDoms Manager Configuration
LDoms Manager Configuration OK
Virtual I/O Services Configuration
Virtual I/O Services Configuration OK
LDoms Configuration
LDoms Configuration OK

Main log files which are present in physical server

/var/log/ovs-agent.log
/var/svc/log/ovm-ovs-agent:default.log
/var/svc/log/ovm-ovmwatch:default.log

Ldoms Manager (ldmd) log

/var/svc/log/ldoms-ldmd:default.log

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s