JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle VM Server for SPARC 2.1 Administration Guide     Oracle VM Server for SPARC
search filter icon
search icon

Document Information

Preface

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

3.  Security

4.  Setting Up Services and the Control Domain

5.  Setting Up Guest Domains

6.  Setting Up I/O Domains

7.  Using Virtual Disks

8.  Using Virtual Networks

9.  Migrating Domains

10.  Managing Resources

11.  Managing Configurations

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

Software Components

System Management Agent

Logical Domains Manager and the Oracle VM Server for SPARC MIB

Parsing the XML-Based Control Interface

Providing SNMP Traps

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

Managing Security

Create the Initial snmpv3 User

Monitoring Domains

Setting Environment Variables

Set Environment Variables

Querying the Oracle VM Server for SPARC MIB

Retrieve Oracle VM Server for SPARC MIB Objects

Retrieving Oracle VM Server for SPARC MIB Information

Domain Table (ldomTable)

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 Tables

Virtual Disk Tables

Virtual Network Tables

Virtual Console Tables

Cryptographic Units Table (ldomCryptoTable)

I/O Bus Table (ldomIOBusTable)

Core Table (ldomCoreTable)

Scalar Variables for Logical Domains Version Information

Using SNMP Traps

Using Oracle VM Server for SPARC MIB Module Traps

Sending and Receiving Traps

Oracle VM Server for SPARC MIB Trap Descriptions

Domain Creation (ldomCreate)

Domain Destroy (ldomDestroy)

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)

Starting and Stopping Domains

Starting and Stopping a Domain

Start a Domain

Stop a Domain

16.  Logical Domains Manager Discovery

17.  Using the XML Interface With the Logical Domains Manager

Glossary

Index

Using SNMP Traps

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.

Using Oracle VM Server for SPARC MIB Module Traps

Sending and Receiving Traps

Send Traps

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

Receive Traps

Oracle VM Server for SPARC MIB Trap Descriptions

This section describes the Oracle VM Server for SPARC MIB traps that you can use.

Domain Creation (ldomCreate)

This trap notifies you when any domains are created.

Table 15-24 Domain Creation Trap (ldomCreate)

Name
Data Type
Description
ldomIndexNotif
Integer
Index into ldomTable
ldomName
Display string
Name of the domain
ldomTrapDesc
Display string
Description of the trap

Domain Destroy (ldomDestroy)

This trap notifies you when any domains are destroyed.

Table 15-25 Domain Destroy Trap (ldomDestroy)

Name
Data Type
Description
ldomIndexNotif
Integer
Index into ldomTable
ldomName
Display string
Name of the domain
ldomTrapDesc
Display string
Description of the trap

Domain State Change (ldomStateChange)

This trap notifies you of any domain operating state changes.

Table 15-26 Domain State Change Trap (ldomStateChange)

Name
Data Type
Description
ldomIndexNotif
Integer
Index into ldomTable
ldomName
Display string
Name of the domain
ldomOperState
Integer
New state of the domain
ldomStatePrev
Integer
Previous state of the domain
ldomTrapDesc
Display string
Description of the trap

Virtual CPU Change (ldomVCpuChange)

This trap notifies you when the number of virtual CPUs in a domain changes.

Table 15-27 Domain Virtual CPU Change Trap (ldomVCpuChange)

Name
Data Type
Description
ldomIndexNotif
Integer
Index into ldomTable
ldomName
Display string
Name of the domain that contains the virtual CPU
ldomNumVCPU
Integer
New number of virtual CPUs for the domain
ldomNumVCPUPrev
Integer
Previous number of virtual CPUs for the domain
ldomTrapDesc
Display string
Description of the trap

Virtual Memory Change (ldomVMemChange)

This trap notifies you when the amount of virtual memory in a domain changes.

Table 15-28 Domain Virtual Memory Change Trap (ldomVMemChange)

Name
Data Type
Description
ldomIndexNotif
Integer
Index into ldomTable
ldomName
Display string
Name of the domain that contains the virtual memory
ldomMemSize
Integer
Amount of virtual memory for the domain
ldomMemSizePrev
Integer
Previous amount of virtual memory for the domain
ldomMemUnit
Integer
Memory unit for virtual memory, which is one of the following:
  • 1 is KB

  • 2 is MB

  • 3 is GB

  • 4 is bytes

If not specified, the unit value is bytes.

ldomMemUnitPrev
Integer
Memory unit for previous virtual memory, which is one of the following:
  • 1 is KB

  • 2 is MB

  • 3 is GB

  • 4 is bytes

If not specified, the unit value is bytes.

ldomTrapDesc
Display string
Description of the trap

Virtual Disk Service Change (ldomVdsChange)

This trap notifies you when a domain's virtual disk service changes.

Table 15-29 Domain Virtual Disk Service Change Trap (ldomVdsChange)

Name
Data Type
Description
ldomIndexNotif
Integer
Index into ldomTable
ldomName
Display string
Name of the domain that contains the virtual disk service
ldomVdsServiceName
Display string
Name of the virtual disk service that has changed
ldomChangeFlag
Integer

Indicates one of the following changes that occurred to the virtual disk service:

  • 1 is Added
  • 2 is Modified

  • 3 is Removed

ldomTrapDesc
Display string
Description of the trap

Virtual Disk Change (ldomVdiskChange)

This trap notifies you when a domain's virtual disk changes.

Table 15-30 Virtual Disk Change Trap (ldomVdiskChange)

Name
Data Type
Description
ldomIndexNotif
Integer
Index into ldomTable
ldomName
Display string
Name of the domain that contains the virtual disk device
ldomVdiskName
Display string
Name of the virtual disk device that has changed
ldomChangeFlag
Integer

Indicates one of the following changes that occurred to the virtual disk service:

  • 1 is Added
  • 2 is Modified

  • 3 is Removed

ldomTrapDesc
Display string
Description of the trap

Virtual Switch Change (ldomVswChange)

This trap notifies you when a domain's virtual switch changes.

Table 15-31 Virtual Switch Change Trap (ldomVswChange)

Name
Data Type
Description
ldomIndexNotif
Integer
Index into ldomTable
ldomName
Display string
Name of the domain that contains the virtual switch service
ldomVswServiceName
Display string
Name of the virtual switch service that has changed
ldomChangeFlag
Integer

Indicates one of the following changes that occurred to the virtual switch service:

  • 1 is Added
  • 2 is Modified

  • 3 is Removed

ldomTrapDesc
Display string
Description of the trap

Virtual Network Change (ldomVnetChange)

This trap notifies you when a domain's virtual network changes.

Table 15-32 Virtual Network Change Trap (ldomVnetChange)

Name
Data Type
Description
ldomIndexNotif
Integer
Index into ldomTable
ldomName
Display string
Name of the domain that contains the virtual network device
ldomVnetDevName
Display string
Name of the virtual network device for the domain
ldomChangeFlag
Integer

Indicates one of the following changes that occurred to the virtual disk service:

  • 1 is Added
  • 2 is Modified

  • 3 is Removed

ldomTrapDesc
Display string
Description of the trap

Virtual Console Concentrator Change (ldomVccChange)

This trap notifies you when a domain's virtual console concentrator changes.

Table 15-33 Virtual Console Concentrator Change Trap (ldomVccChange)

Name
Data Type
Description
ldomIndexNotif
Integer
Index into ldomTable
ldomName
Display string
Name of the domain that contains the virtual console concentrator
ldomVccName
Display string
Name of the virtual console concentrator service that has changed
ldomChangeFlag
Integer

Indicates one of the following changes that occurred to the virtual console concentrator:

  • 1 is Added
  • 2 is Modified

  • 3 is Removed

ldomTrapDesc
Display string
Description of the trap

Virtual Console Group Change (ldomVconsChange)

This trap notifies you when a domain's virtual console group changes.

Table 15-34 Virtual Console Group Change Trap (ldomVconsChange)

Name
Data Type
Description
ldomIndexNotif
Integer
Index into ldomTable
ldomName
Display string
Name of the domain that contains the virtual console group
ldomVconsGroupName
Display string
Name of the virtual console group that has changed
ldomChangeFlag
Integer

Indicates one of the following changes that occurred to the virtual console group:

  • 1 is Added
  • 2 is Modified

  • 3 is Removed

ldomTrapDesc
Display string
Description of the trap