Skip Navigation Links | |
Exit Print View | |
Oracle VM Server for SPARC 2.1 Administration Guide Oracle VM Server for SPARC |
Part I Oracle VM Server for SPARC 2.1 Software
1. Overview of the Oracle VM Server for SPARC Software
2. Installing and Enabling Software
4. Setting Up Services and the Control Domain
12. Performing Other Administration Tasks
Part II Optional Oracle VM Server for SPARC Software
13. Oracle VM Server for SPARC Physical-to-Virtual Conversion Tool
14. Oracle VM Server for SPARC Configuration Assistant
15. 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 (Task Map)
Install the Oracle VM Server for SPARC MIB Software Package
Load the Oracle VM Server for SPARC MIB Module Into the SMA
Remove the Oracle VM Server for SPARC MIB Software Package
Create the Initial snmpv3 User
Querying the Oracle VM Server for SPARC MIB
Retrieve Oracle VM Server for SPARC MIB Objects
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)
Cryptographic Units Table (ldomCryptoTable)
I/O Bus Table (ldomIOBusTable)
Scalar Variables for Logical Domains 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)
Starting and Stopping a Domain
16. Logical Domains Manager Discovery
17. Using the XML Interface With the Logical Domains Manager
This section describes how to set up your system to send and receive traps. It also describes the traps that you can use to receive change notification for logical domains (domains), as well as other traps that you can use.
Edit the /etc/sma/snmp/snmpd.conf file to add the directives to define the trap, inform version, and destination.
trapcommunity string --> define community string to be used when sending traps trapsink host[community [port]] --> to send v1 traps trap2sink host[community [port]] --> to send v2c traps informsink host[community [port]] --> to send informs
For more information, see the snmpd.conf(4) man page.
Example 15-4 Sending SNMP v1 and v2c Traps
This example sends send both v1 and v2c traps to the SNMP trap daemon that runs on the same host. The /etc/sma/snmp/snmpd.conf file is updated with the following directives:
trapcommunity public trapsink localhost trap2sink localhost
For information about the output format options, see the snmptrapd(1M) man page.
The snmptrapd utility is an SNMP application that receives and logs SNMP TRAP messages. For example, the following snmptrapd command shows that a new domain was created (ldomTrapDesc = Ldom Created) with a name of ldg2 (ldomName = ldg2).
# /usr/sfw/sbin/snmptrapd -P -F \ "TRAP from %B on %m/%l/%y at %h:%j:%k Enterprise=%N Type=%w SubType=%q \nwith Varbinds: %v \nSecurity info:%P\n\n" \ localhost:162 TRAP from localhost on 5/18/2007 at 16:30:10 Enterprise=. Type=0 SubType=0 with Varbinds: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (47105) 0:07:51.05 SNMPv2-MIB::snmpTrapOID.0 = OID: SUN-LDOM-MIB::ldomCreate SUN-LDOM-MIB::ldomIndexNotif = INTEGER: 3 SUN-LDOM-MIB::ldomName = STRING: ldg2 SUN-LDOM-MIB::ldomTrapDesc = STRING: Ldom Created Security info:TRAP2, SNMP v2c, community public
This section describes the Oracle VM Server for SPARC MIB traps that you can use.
This trap notifies you when any domains are created.
Table 15-24 Domain Creation Trap (ldomCreate)
|
This trap notifies you when any domains are destroyed.
Table 15-25 Domain Destroy Trap (ldomDestroy)
|
This trap notifies you of any domain operating state changes.
Table 15-26 Domain State Change Trap (ldomStateChange)
|
This trap notifies you when the number of virtual CPUs in a domain changes.
Table 15-27 Domain Virtual CPU Change Trap (ldomVCpuChange)
|
This trap notifies you when the amount of virtual memory in a domain changes.
Table 15-28 Domain Virtual Memory Change Trap (ldomVMemChange)
|
This trap notifies you when a domain's virtual disk service changes.
Table 15-29 Domain Virtual Disk Service Change Trap (ldomVdsChange)
|
This trap notifies you when a domain's virtual disk changes.
Table 15-30 Virtual Disk Change Trap (ldomVdiskChange)
|
This trap notifies you when a domain's virtual switch changes.
Table 15-31 Virtual Switch Change Trap (ldomVswChange)
|
This trap notifies you when a domain's virtual network changes.
Table 15-32 Virtual Network Change Trap (ldomVnetChange)
|
This trap notifies you when a domain's virtual console concentrator changes.
Table 15-33 Virtual Console Concentrator Change Trap (ldomVccChange)
|
This trap notifies you when a domain's virtual console group changes.
Table 15-34 Virtual Console Group Change Trap (ldomVconsChange)
|