N1 Provisioning Server 3.1, Blades Edition, System Administration Guide

Resource Pool Events

Resource pool events indicate when a resource is allocated, made available, fails, and is deallocated. The definition of a resource pool event is as follows:

rl-event-desc ::= rl-operation "," farm-info "," category-info "," resource-desc [ "," account-info ]
rl-operation  ::= "op" "=" rl-op
rl-op         ::= "add" | "del" | "update" | "avail" | "fail" | "reboot"
farm-info     ::= "farm-id" "=" farm-id	
category-info ::= "category" "=" category
category      ::= "device" | "disk" | "vlan" | "subnet" | "ipaddress"
resource-desc ::= device-desc | disk-disc | vlan-desc | subnet-desc | ipaddr-desc

The following table describes the types of event and when they occur:

Event 

Occurs 

“add”

When a device, such as a server, is allocated 

“avail”

When a device is made available 

“fail”

When a device fails 

“del”

When a device is deallocated 

“add” and “avail”

When a device is restored 

All events referring to devices include the device ID. If the events refer to disks, the events include the disk ID. The device IDs and disk IDs enable you to accurately track all devices and disks.

Devices

The definition of a device event is as follows:

device-desc      ::= deviceclass-info "," devicetype-info "," deviceid-info
deviceclass-info ::= "class" "=" device-class
device-class     ::= "lb" | "fw" | "server" | "nas" | "ethport"
devicetype-info  ::= "type" "=" wml-description
deviceid-info    ::= "device-id" "=" device-id

Note –

"ethport" is the name given to unmanaged Ethernet devices or other such devices with an IP address.



2003-02-01

10:00:00.0,newyork:2998,event="resource",op="add",farm-id="99",
category="device",class="server",type="sun-svr-blade",device-id="50101",
service-units="0"

On Feb 1, 2003 at 10:00:00, in the newyork I-Fabric, sequence id 2998, a resource was added to farm 99. This resource was a device. The class of device was a server. The type of the server was a sun-svr-blade server. The ID of the actual device allocated was 50101.

Disks

The definition of a disk event is as follows:

disk-desc      ::= diskclass-info "," disktype-info "," diskid-info size-info "," [ "," image-info]
diskclass-info ::= "location" "=" disk-location
disk-location  ::= "internal" | "external"	
disktype-info  ::= "type" "=" wml-description
diskid-info	    ::= "disk-id" "=" disk-id
size-info      ::= "size" "=" disk-size
image-info     ::= "image-name 	"=" image-name
2003-02-01

10:00:10.0,newyork:2999,event="resource",op="add",farm-id="99",
category="disk",location="internal",type="local",disk-id="62",
size="1000000000",image-name="small_solaris_blade"

On February 1, 2003 at 10:00:10 in the newyork I-Fabric, sequence id 2999, a resource was added to farm 99. This resource was a disk. The disk's location is internal (that is, physically located inside of a server). The disk type is local. The physical disk ID is 62. The size in bytes is 1000000000. The image placed on the disk is small_solaris_blade.

Virtual Local Area Networks (VLANs)

The definition of VLAN events is as follows:

vlan-desc ::= "vlan" "=" vlan-id
2003-02-01

10:00:25.0,newyork:3002,event="resource",op="add",farm-id="99",
category="vlan",vlan="22"

On Feb 1, 2003 at 10:00:25, in the newyork I-Fabric, a VLAN was added to farm 99. The VLAN ID is 22.

Subnets

The definition of subnet events is as follows:

subnet-desc      ::=  subnet-mask-info "," masklen-info "," addr-type-info
subnet-mask-info ::= "subnet-mask" "," subnet-mask
masklen-info     ::= "mask-len" "," mask-len
addr-type-info   ::= "type" "," addr-type
addr-type        ::= "internal" | "external"
2003-02-01

10:00:15.0,newyork:3000,event="resource",op="add",farm-id="99",
category="subnet",subnet="10.10.0.81",mask-len="28",type="external"

On Feb 1, 2003 at 10:00:15 in the newyork I-Fabric, event 3000 was generated. A resource was added to farm 99. The resource was a subnet. The subnet is located at 10.10.0.81, the mask length of the subnet is 28, and the type of the subnet is external.

IP Addresses

The definition of IP address events is as follows:

ipaddr-desc ::= ipaddr-info "," addr-type-info [ "," dns-name]
ipaddr-info ::= "ipaddress" "="	 ipaddress
2003-02-01

10:00:20.0,newyork:3001,event="resource",op="add",farm-id="99",
category="ipaddress",ipaddress="10.10.0.83",type="external",server1

On Feb 2. 2003 at 10:00:20 in the newyork I-Fabric event 3001 was generated. The event was a resource event. A resource was added to farm 99. The resource was an IP address. The IP address was 10.10.0.83, it is an external IP address, and the DNS name that maps to that IP address is server1.