Top
ServerView Resource Orchestrator V2.3.0 Reference Guide

2.8 Tenant Folders

The XML definition for tenant folders is shown below.

<?xml version="1.0" encoding="utf-8"?>
<Tenant name ="Name of the tenant folder" label="Label">
  <Comment>Comment</Comment>
  <UserGroup name="User group name" label="Label">
    <Comment>Comment</Comment>
    <Role name="Role name">
        <Scopes>
          <Scope>Tenant folder name</Scope>
        </Scopes>
    </Role>
  </UserGroup>
  <User name="User name" label="Label">
    <Password >Password</Password>
    <Comment>Comment</Comment>
    <UserGroup>User group name</UserGroup>
  </User>
  <Pools>
    <Pool name="Resource pool name" type="Resource pool type" label="Label">
      <Comment>Comment</Comment>
      <Priority>Priority</Priority>
    </Pool>
  </Pools>
  <GlobalPoolLinks>
    <GlobalPoolLink>Global pool name</GlobalPoolLink>
       :
  </GlobalPoolLinks>
</Tenant>
Table 2.11 List of Items Specified in XML Definitions for Tenant Folders

Element Name

Description

Remarks (Possible Values, Examples)

Tenant folder name

(Tenant name)

Name of the tenant folder

Character string beginning with an alphanumeric character and containing up to 32 alphanumeric characters, underscores ("_"), and hyphens ("-")

When creating it in a resource folder, specify the resource folder name using slashes ("/"). Creation in a tenant folder is not possible.

Label

(Tenant label)

Label for the tenant folder (optional)

Character string of up to 32 alphanumeric characters or symbols

Comment

(Comment)

Comment for the tenant folder (optional)

Character string of up to 256 alphanumeric characters or symbols

User group name

(UserGroup name)

Name of the user group to create in the tenant folder

Specify a user group name to create. If the UserGroup tag is omitted, "supervisor" is set.

For details on elements in the UserGroup tag, refer to "2.7 User Groups".

When using directory services to manage users, the user group specified here is not created.

After creating tenants, create users and user groups using the ldif file, and then configure roles.

For details on user management and role settings using directory services, refer to "C.4 User Management Using Directory Service" in the "ServerView Resource Orchestrator User's Guide".

User name

(User name)

Name of the user to create in the tenant folder

Specify a user name to create. If the User tag is omitted, no user is created.

As elements of the User tag, a label (User label), a password (Password), a comment (Comment), and a user group name (UserGroup name) can be specified. Role names (Role name) and access scopes (Scope) cannot be specified.

For details on the each element, refer to "2.6 User".

When using directory services to manage users, the user specified here is not created.

After creating tenants, create users and user groups using the ldif file, and then configure roles.

For details on user management and role settings using directory services, refer to "C.4 User Management Using Directory Service" in the "ServerView Resource Orchestrator User's Guide".

Resource pool name

(Pool name)

Name of the resource pool to create in the tenant folder

Specify the name of the resource pool to create in the tenant folder.

If the Pools tag is omitted, no resource pool is created in the tenant folder.

Resource Pool Types

(Pool type)

Resource Pool Types

Specify the type of the resource pool to create in the tenant folder. It can be specified using the following methods:

  • vm (VM pool)

  • server (Server pool)

  • storage (Storage pool)

  • network (Network pool)

  • address (Address pool)

  • image (Image pool)

Label

(Pool label)

Label for the resource pool (optional)

Character string of up to 32 alphanumeric characters or symbols

Comment

(Pool comment)

Comment for the resource pool (optional)

Character string of up to 256 alphanumeric characters or symbols

Priority

(Priority)

Resource pool priority (optional)

Specify the priority for the resource pool as between 1 and 10. If omitted, "5" is set. For the priority order, 1 is the highest and 10 is the lowest.

Global pool name

(GlobalPoolLink)

Name of the global pool

Specify the resource pool name to be defined in a global pool of a tenant.

If the GlobalPoolLinks tag is omitted, no global pool is defined for the tenant.

If specifying a resource pool in a resource folder, specify the resource folder name using slashes ("/").

Example

<?xml version="1.0" encoding="utf-8"?>
<Tenant name ="TenantFolder" label="TenantFolder Label">
  <Comment>TenantFolder Comment</Comment>
  <UserGroup name="TenantUserGroup" label="TenantUserGroup Label">
    <Comment>TenantUserGroup Comment</Comment>
    <Role name="administrator">
        <Scopes>
          <Scope>TenantFolder</Scope>
        </Scopes>
    </Role>
  </UserGroup>
  <User name="TenantAdminUser" label="TenantAdministratorUser Label">
    <Password>tenant123</Password>
    <Comment>TenantAdministratorUser Comment</Comment>
    <UserGroup>TenantUserGroup</UserGroup>
  </User>
  <Pools>
    <Pool name="VMHostPool" type="vm" label="VMHostPool Label">
      <Comment>VMHostPool Comment</Comment>
      <Priority>5</Priority>
    </Pool>
    <Pool name="ServerPool" type="server" label="ServerPool Label">
      <Comment>ServerPool Comment</Comment>
      <Priority>5</Priority>
    </Pool>
    <Pool name="StoragePool" type="storage" label="StoragePool Label">
      <Comment>StoragePool Comment</Comment>
      <Priority>5</Priority>
    </Pool>
    <Pool name="NetworkPool" type="network" label="NetworkPool Label">
      <Comment>NetworkPool Comment</Comment>
      <Priority>5</Priority>
    </Pool>
    <Pool name="AddressPool" type="address" label="AddressPool label">
      <Comment>AddressPool Comment</Comment>
      <Priority>5</Priority>
    </Pool>
    <Pool name="ImagePool" type="image" label="ImagePool label">
      <Comment>ImagePool Comment</Comment>
      <Priority>5</Priority>
    </Pool>
  </Pools>
  <GlobalPoolLinks>
    <GlobalPoolLink>/VMHostPool</GlobalPoolLink>
    <GlobalPoolLink>/ServerPool</GlobalPoolLink>
       :
  </GlobalPoolLinks>
</Tenant>