Top
ServerView Resource Orchestrator Cloud Edition V3.2.0 Setup Guide
FUJITSU Software

8.7.3 Registering Resources in Resource Pools

This section explains the registration of resources to resource pools.
Use the following procedure to register resources in the resource pool.

The procedures for Solaris 10 Zones and Solaris 11 Zones are different.


When Using Solaris Zones (Solaris 11)

  1. Register VM host resources (Global zone)

    1. In the ROR console orchestration tree, right-click the target VM pool, and select [Register Resources] from the popup menu.

      The [Register Resources] dialog is displayed.

    2. Select the VM host to register.

    3. Click the [OK] button.

    For details, refer to "14.1 VM Host Resources" in the "User's Guide for Infrastructure Administrators (Resource Management) CE".

  2. Register storage management software

    Register VM Hosts as storage management software.
    For details, refer to "5.17 rcxadm storagemgr" in the "Reference Guide (Command/XML) CE".

  3. Register Virtual Storage to the Storage Pool

    For details, refer to "14.5 Storage Resources" in the "User's Guide for Infrastructure Administrators (Resource Management) CE".

  4. Register network resources

    If the NIC and network resources are connected when an L-Server is created, the settings matching the network resource definition will be registered automatically for the VM host that the L-Server will operate on.
    For details, refer to "8.7.4 Manual Network Configuration".

  5. Register network device resources

    Create a network resource to be used on the L-Platform. If the type of the network devices is Firewall or SLB, register them to the network pool.
    For details, refer to "14.4 Network Devices" in the "User's Guide for Infrastructure Administrators (Resource Management) CE".

  6. Register virtual image resources

    Register the virtual image resources used when creating virtual L-Servers in the resource pool.
    It is necessary to create a cloning image on the Resource Orchestrator manager, and register it with Resource Orchestrator in advance.
    For details, refer to "8.7.5 Creating and Importing Cloning Images".


When Using Solaris Zones (Solaris 10)

  1. Register VM host resources (Global zone)

    1. In the ROR console orchestration tree, right-click the target VM pool, and select [Register Resources] from the popup menu.

      The [Register Resources] dialog is displayed.

    2. Select the VM host to register.

    3. Click the [OK] button.

    For details, refer to "14.1 VM Host Resources" in the "User's Guide for Infrastructure Administrators (Resource Management) CE".

    Point

    • When deploying multiple L-Servers to an L-Platform at the same time, deploy the same number of L-Servers as the number of VM hosts in the VM pool.

    • When using multiple L-Platforms that use the same network, create different VM pools for each L-Platform.

  2. Register disk resources

    Register the disks used in the non-global zone as disk resources.

    When migrating a non-global zone for virtual L-Servers, register the disks shared between multiple global zones as disk resources defined to be shared.

    Perform the following procedure:

    1. Create a storage pool (admin server)

      To use a storage pool other than default one, create the storage pool.

      For details on how to create a storage pool, refer to "20.2 Creating" in the "User's Guide for Infrastructure Administrators (Resource Management) CE".

    2. Execute the rcxvmdiskagt command (managed servers)

      Execute the rcxvmdiskagt command on each managed server. The rcxvmdiskagt command displays the disk information stated in /etc/vfstab of the global zone. In addition, this command performs redirection and outputs the execution results to a file with the extension "xml".

      Execute this command on all managed servers where disk resources are to be registered.

      For details on the rcvmdiskagt command, refer to "5.25 rcxvmdiskagt" in the "Reference Guide (Command/XML) CE".

      # /opt/FJSVrcvat/bin/rcxvmdiskagt -ip IP address of the managed server -vmtype solaris-zone > rcxvmdiskagt_command_execution_result_XML_file <RETURN>

      Example

      Output Example of the rcxvmdiskagt Command

      >rcxvmdiskagt -ip 192.168.23.153 <RETURN>
      <?xml version="1.0" encoding="utf-8"?>
      <VmHost ip="192.168.23.153">
       <Disks>
        <Disk name="*" path="/ror/zones/zone1" size="10.0"/>
        <Disk name="*" path="/ror/zones/zone2" size="20.0"/>
        <Disk name="*" path="/ror/zones/zone3" size="30.0"/>
        <Disk name="*" path="/ror/zones/zone4" size="40.0"/>
        <Disk name="*" path="/ror/zones/zone5" size="50.0"/>
       </Disks>
      </VmHost>
    3. Delete unnecessary Disk elements (managed servers)

      Delete the <Disk> elements for the following items, from the file that was output in step b.

      • Disks not used in non-global zones

      • Disks which are to be used in a global zone but are not mounted

      • LVM disks

      Example

      Example of an XML file with <Disk> Elements Deleted

      >rcxvmdiskagt -ip 192.168.23.153 <RETURN>
      <?xml version="1.0" encoding="utf-8"?>
      <VmHost ip="192.168.23.153">
       <Disks>
        <Disk name="*" path="/ror/zones/zone1" size="10.0"/>
        <Disk name="*" path="/ror/zones/zone2" size="20.0"/>
        <Disk name="*" path="/ror/zones/zone3" size="30.0"/>
       </Disks>
      </VmHost>
    4. Create an XML file storage directory (admin server)

      Create a directory for storing the XML file created in step b and step c on the admin server.

    5. Store XML files (admin server)

      Store the XML file created in step b and step c in the directory created in step d.

    6. Execute the rcxvmdisk command (admin server)

      Execute the rcxvmdisk command on the admin server. The rcxvmdisk command displays part of the disk resource configuration information for virtual L-Servers in XML format. In addition, this command performs redirection and outputs the execution results to a file with the extension "xml".

      For details on the rcxvmdisk command, refer to "5.24 rcxvmdisk" in the "Reference Guide (Command/XML) CE".

      For details on the XML file, refer to "15.4.3 Disk Resources [Solaris Zones]" in the "Reference Guide (Command/XML) CE".

      # /opt/FJSVrcvmr/bin/rcxvmdisk -dir Storage directory_for_XML_files_of_command_execution_results > XML_file_of_disk_resource_configuration_information_for_virtual_L-Servers <RETURN>

      Example

      Execution Example of the Following Case:

      Storage directory for XML files of rcxvmdiskagt command execution results: /root/rcxvmdiskagt_dir
      XML file of disk resource configuration information for virtual L-Servers: /root/rcxvmdiskagt_dir/rcxvmdisk_Storage_Pool_1.xml

      # /opt/FJSVrcvmr/bin/rcxvmdisk -dir /root/rcxvmdiskagt_dir > /root/rcxvmdisk_Storage_Pool_1.xml <RETURN>

      Example XML file of disk resource configuration information for virtual L-Servers

      <?xml version="1.0" encoding="utf-8"?>
      <Storage>
       <Pool name="*" />
       <VmHosts>
        <VmHost ip="192.168.23.153">
         <Disks>
          <Disk name="*" path="/ror/zones/zone1" size="10.0"/>
          <Disk name="*" path="/ror/zones/zone2" size="20.0"/>
          <Disk name="*" path="/ror/zones/zone3" size="30.0"/>
         </Disks>
        </VmHost>
       </VmHosts>
      </Storage>
    7. Specify the storage pool name

      For the name attribute of the <Pool> element in the XML file of disk resource configuration information for virtual L-Servers which was created in step f, specify the name of the storage pool in which disk resources for virtual L-Servers are to be registered. For the name attribute of each <Disk> element, specify the disk resource name.

      Example

      Example of the XML file of disk resource configuration information for virtual L-Servers when registering disk resources based on the following information:

      XML file name of disk resource configuration information for virtual L-Servers: rcxvmdisk_Storage_Pool_1.xml
      Storage pool name: Storage_Pool_1

      Mount Point

      Disk Resource Name

      /ror/zones/zone1

      disk_resource_10gb

      /ror/zones/zone2

      disk_resource_20gb

      /ror/zones/zone3

      disk_resource_30gb

      XML file of disk resource configuration information for virtual L-Servers

      <?xml version="1.0" encoding="utf-8"?>
      <Storage>
       <Pool name="Storage_Pool_1" />
       <VmHosts>
        <VmHost ip="192.168.23.153">
         <Disks>
          <Disk name="disk_resource_10gb" path="/ror/zones/zone1" size="10.0"/>
          <Disk name="disk_resource_20gb" path="/ror/zones/zone2" size="20.0"/>
          <Disk name="disk_resource_30gb" path="/ror/zones/zone3" size="30.0"/>
         </Disks>
        </VmHost>
       </VmHosts>
      </Storage>
    8. Create and register disk resources in a storage pool (admin server)

      Specify the XML file of disk resource configuration information for virtual L-Servers that was created in step g, then execute the rcxadm disk command. Disk resources for virtual L-Servers are created and registered in the storage pool.

      # /opt/FJSVrcvmr/bin/rcxadm disk register -file XML_file_of_disk_resource_configuration_information_for_virtual_L-Servers <RETURN>

      Example

      Execution Example of the Following Case:

      XML file of disk resource configuration information for virtual L-Servers: /root/rcxvmdiskagt_dir/rcxvmdisk_Storage_Pool_1.xml

      # /opt/FJSVrcvmr/bin/rcxadm disk register -file /root/rcxvmdiskagt_dir/rcxvmdisk_Storage_Pool_1.xml <RETURN>

  3. Register network resources

    If the NIC and network resources are connected when an L-Server is created, the settings matching the network resource definition will be registered automatically for the VM host that the L-Server will operate on.
    For details, refer to "8.7.4 Manual Network Configuration".

  4. Register network device resources

    Create a network resource to be used on the L-Platform. If the type of the network devices is Firewall or SLB, register them to the network pool.
    For details, refer to "14.4 Network Devices" in the "User's Guide for Infrastructure Administrators (Resource Management) CE".

  5. Register virtual image resources

    Register the virtual image resources used when creating virtual L-Servers in the resource pool.
    It is necessary to create a BladeLogic virtual package in advance and register it with Resource Orchestrator.
    For details, refer to "8.7.5 Creating and Importing Cloning Images".