Part I Oracle VM Server for SPARC 3.1 Software
Part II Optional Oracle VM Server for SPARC Software
Chapter 14 Oracle VM Server for SPARC Physical-to-Virtual Conversion Tool
Oracle VM Server for SPARC P2V Tool Overview
Installing the Oracle VM Server for SPARC P2V Tool
Prerequisites for using the SPARC P2V Tool
Limitations of Using the SPARC P2V Tool
How to Install the Oracle VM Server for SPARC P2V Tool
Chapter 15 Oracle VM Server for SPARC Configuration Assistant (Oracle Solaris 10)
Using the Configuration Assistant (ldmconfig)
Installing the Configuration Assistant
Prerequisites for Running the Configuration Assistant
Limitations and Known Issues of the Configuration Assistant
Chapter 16 Using Power Management
Viewing Power-Consumption Data
Chapter 17 Using the Oracle VM Server for SPARC Management Information Base Software
Oracle VM Server for SPARC Management Information Base Overview
Logical Domains Manager and the Oracle VM Server for SPARC MIB
Parsing the XML-Based Control Interface
Providing Fault and Recovery Information
Oracle VM Server for SPARC MIB Object Tree
Installing and Configuring the Oracle VM Server for SPARC MIB Software
Installing and Configuring the Oracle VM Server for SPARC MIB Software
How to Install the Oracle VM Server for SPARC MIB Software Package
How to Load the Oracle VM Server for SPARC MIB Module Into the Oracle Solaris SNMP Agent
How to Remove the Oracle VM Server for SPARC MIB Software Package
How to Create the Initial snmpv3 User
Retrieving Oracle VM Server for SPARC MIB Information
Environment Variables Table (ldomEnvVarsTable)
Domain Policy Table (ldomPolicyTable)
Service Processor Configuration Table (ldomSPConfigTable)
Domain Resource Pool and Scalar Variables
Virtual CPU Table (ldomVcpuTable)
Virtual Memory Table (ldomVmemTable)
Virtual Memory Physical Binding Table (ldomVmemPhysBindTable)
Virtual Disk Service Table (ldomVdsTable)
Virtual Disk Service Device Table (ldomVdsdevTable)
Virtual Disk Table (ldomVdiskTable)
Virtual Switch Service Table (ldomVswTable)
Virtual Network Device Table (ldomVnetTable)
Virtual Console Concentrator Table (ldomVccTable)
Virtual Console Group Table (ldomVconsTable)
Virtual Console Relationship Table (ldomVconsVccRelTable)
Cryptographic Units Table (ldomCryptoTable)
I/O Bus Table (ldomIOBusTable)
Scalar Variables for Domain Version Information
Using Oracle VM Server for SPARC MIB Module Traps
Oracle VM Server for SPARC MIB Trap Descriptions
Domain State Change (ldomStateChange)
Virtual CPU Change (ldomVCpuChange)
Virtual Memory Change (ldomVMemChange)
Virtual Disk Service Change (ldomVdsChange)
Virtual Disk Change (ldomVdiskChange)
Virtual Switch Change (ldomVswChange)
Virtual Network Change (ldomVnetChange)
Virtual Console Concentrator Change (ldomVccChange)
Virtual Console Group Change (ldomVconsChange)
Chapter 18 Logical Domains Manager Discovery
Discovering Systems Running the Logical Domains Manager
How to Discover Logical Domains Managers Running on Your Subnet
Chapter 19 Using the XML Interface With the Logical Domains Manager
Registration and Unregistration
Logical Domains Manager Actions
Logical Domains Manager Resources and Properties
Domain Information (ldom_info) Resource
Virtual Disk Server (vds) Resource
Virtual Disk Server Volume (vds_volume) Resource
Virtual Console Concentrator (vcc) Resource
Physical I/O Device (physio_device) Resource
SP Configuration (spconfig) Resource
DRM Policy Configuration (policy) Resource
Virtual Data Plane Channel Service (vdpcs) Resource
When a system has large number of domains, the SNMP agent might time out before being able to respond to an SNMP request. To increase the timeout value, use the –t option to specify a longer timeout value. For example, the following snmpwalk command sets the timeout value to 20 seconds:
# snmpwalk -t 20 -v1 -c public localhost SUN-LDOM-MIB::ldomTable
You can also use the –t option to specify the timeout value for the snmpget and snmptable commands.
To retrieve a single MIB object:
# snmpget -v version -c community-string host MIB-object
To retrieve an array of MIB objects:
Use the snmpwalk or snmptable command.
# snmpwalk -v version -c community-string host MIB-object # snmptable -v version -c community-string host MIB-object
The following snmpget command queries the value of the ldomVersionMajor object. The command specifies snmpv1 (–v1) and a community string (–c public) for the localhost host.
# snmpget -v1 -c public localhost SUN-LDOM-MIB::ldomVersionMajor.0 SUN-LDOM-MIB::ldomVersionMajor.0 = INTEGER: 1Example 17-2 Retrieving Object Values From ldomTable (snmpwalk)
The following examples show how to use the snmpwalk command to retrieve object values from ldomTable.
The following snmpwalk -v1 command returns the values for all objects in the ldomTable table.
# snmpwalk -v1 -c public localhost SUN-LDOM-MIB::ldomTable SUN-LDOM-MIB::ldomName.1 = STRING: primary SUN-LDOM-MIB::ldomName.2 = STRING: LdomMibTest_1 SUN-LDOM-MIB::ldomAdminState.1 = INTEGER: 0 SUN-LDOM-MIB::ldomAdminState.2 = INTEGER: 0 SUN-LDOM-MIB::ldomOperState.1 = INTEGER: active(1) SUN-LDOM-MIB::ldomOperState.2 = INTEGER: bound(6) SUN-LDOM-MIB::ldomNumVCpu.1 = INTEGER: 8 SUN-LDOM-MIB::ldomNumVCpu.2 = INTEGER: 4 SUN-LDOM-MIB::ldomMemSize.1 = INTEGER: 3360 SUN-LDOM-MIB::ldomMemSize.2 = INTEGER: 256 SUN-LDOM-MIB::ldomMemUnit.1 = INTEGER: megabytes(2) SUN-LDOM-MIB::ldomMemUnit.2 = INTEGER: megabytes(2) SUN-LDOM-MIB::ldomNumCrypto.1 = INTEGER: 1 SUN-LDOM-MIB::ldomNumCrypto.2 = INTEGER: 0 SUN-LDOM-MIB::ldomNumIOBus.1 = INTEGER: 2 SUN-LDOM-MIB::ldomNumIOBus.2 = INTEGER: 0 SUN-LDOM-MIB::ldomUUID.1 = STRING: 5f8817d4-5d2e-6f7d-c4af-91b5b34b5723 SUN-LDOM-MIB::ldomUUID.2 = STRING: 11284146-87ca-4877-8d80-cd0f60d5ec26 SUN-LDOM-MIB::ldomMacAddress.1 = STRING: 00:14:4f:46:47:d6 SUN-LDOM-MIB::ldomMacAddress.2 = STRING: 00:14:4f:f8:d5:6c SUN-LDOM-MIB::ldomHostID.1 = STRING: 0x844647d6 SUN-LDOM-MIB::ldomHostID.2 = STRING: 0x84f8d56c SUN-LDOM-MIB::ldomFailurePolicy.1 = STRING: ignore SUN-LDOM-MIB::ldomFailurePolicy.2 = STRING: ignore SUN-LDOM-MIB::ldomMaster.1 = STRING: SUN-LDOM-MIB::ldomMaster.2 = STRING: SUN-LDOM-MIB::ldomExtMapinSpace.1 = STRING: off SUN-LDOM-MIB::ldomExtMapinSpace.2 = STRING: off SUN-LDOM-MIB::ldomThreading.1 = STRING: max-throughput SUN-LDOM-MIB::ldomThreading.2 = STRING: max-throughput SUN-LDOM-MIB::ldomWholeCore.1 = INTEGER: 0 SUN-LDOM-MIB::ldomWholeCore.2 = INTEGER: 0 SUN-LDOM-MIB::ldomCpuArch.1 = STRING: native SUN-LDOM-MIB::ldomCpuArch.2 = STRING: native SUN-LDOM-MIB::ldomShutdownGroup.1 = INTEGER: 0 SUN-LDOM-MIB::ldomShutdownGroup.2 = INTEGER: 15
The following snmpwalk commands use snmpv2c and snmpv3 to retrieve the contents of ldomTable:
# snmpwalk -v2c -c public localhost SUN-LDOM-MIB::ldomTable # snmpwalk -v 3 -u test -l authNoPriv -a MD5 -A testpassword localhost \ SUN-LDOMMIB::ldomTable
The following examples show how to use the snmptable command to retrieve object values from ldomTable in tabular form.
The following snmptable -v1 command shows the contents of ldomTable in tabular form.
# snmptable -v1 -c public localhost SUN-LDOM-MIB::ldomTable
The following snmptable command shows the contents of ldomTable in tabular form by using snmpv2c.
Note that for the v2c or v3 snmptable command, use the –CB option to specify only GETNEXT, not GETBULK, requests to retrieve data.
# snmptable -v2c -CB -c public localhost SUN-LDOM-MIB::ldomTable