2.4 Resource Discovery

Resource discovery jobs inspect a resource’s environment to set resource facts that are to be stored with the Resource grid object. These jobs automatically discover the resource attributes (fully extensible facts relating to such things as CPU, memory, storage, bandwidth, load, software inventory) of the resources being managed by the PlateSpin Orchestrate Server. These facts are later used during PlateSpin Orchestrate runtime from within a policy or constraint to select resources that have certain identifiable attributes.

For more information, see Walkthrough: Observing Discovery Jobs in the PlateSpin Orchestrate 2.5 Installation and Configuration Guide, and Discovering Registered VM Hosts in the PlateSpin Orchestrate 2.5 VM Client Guide and Reference.

2.4.1 Resource Discovery in Provisioning Jobs

Provisioning jobs (also known as “provisioning adapters”) are used to discover VM hosts (those resources running a VM technology such as Xen, VMware, or Hyper-V) and VM image repositories (such as Amazon EC2), as well as VM images residing in those repositories.

For more information, see Configuring VM Provisioning Adapters and Discovered VMs in the PlateSpin Orchestrate 2.5 Virtual Machine Management Guide.

2.4.2 Some Specific Resource Discovery Jobs

Some of the commonly used resource discovery jobs include:

cpuInfo.job

Gets CPU information of a resource.

demoInfo.job

Generates the CPU, operating system, and application information for testing.

findApps.job

Finds and reports what applications are installed on the datagrid.

osInfo.job

Gets the operating system of a grid resource. On Linux, it reads the /proc/cpuinfo; on Windows, it reads the registry; on UNIX, it executes uname.

    resource.cpu.mhz (integer) e.g., "800" (in Mhz)
    resource.cpu.vendor (string) e.g. "GenuineIntel"
    resource.cpu.model (string) e.g. "Pentium III"
    resource.cpu.family (string) e.g. "i686"