A resource provides a level of abstraction for a device and exposes the functionality of the device to other resources and services. Each resource has an engine which communicates with the device to send commands and get information back.
There are three different categories of resources in GSN; Network Resources, Cloud Resources and Facility Resources. :
- Compute Resource (Libvirt Resource)
The Compute Resources (Libvirt Resources) are drivers that control physical servers (or hosts) and the associated virtual machines (VMs) within GSN nodes. It is able to get running and statistical information of the host, as well as of the VMs. It performs operations on VM, such as creation, start, stop, migration, pause, suspend and destroy.
- Facility Resource
A Facility Resource is an abstraction of a GSN node facility. It maintains information about power being consumed and generated at the node. It also performs computations to predict availability of power based on current and long term weather forecast and historical data. The Facility Resource links Power Source, PDU and Climate resources of a GSN node with Compute resource. It determines the power consumed by each server and sends notifications to managers (Facility Manager) when the power or environmental condition changes.
- Power Source Resource
The Power Source Resources are drivers that control power generators (e.g., solar or wind system). They are able to get running and statistical information of the power sources.
- PDU Resource
The PDU Resource represents drivers that control the Power Distribution Units (PDUs). It measures the power being consumed by GSN facilities at GSN nodes.
- Climate Resource
Climate resources are drivers that monitor the weather condition and humidity of GSN node facility. They are Climate resource is related to PDU device.
Last Updated on Friday, 12 August 2011 17:06