Top
ServerView Resource Orchestrator Cloud Edition V3.1.0 User's Guide for Infrastructure Administrators (Resource Management)

17.2.3 Attaching and Detaching Disks

This section explains how to modify the disk configuration of an L-Server.


Prerequisites

Attaching a Disk

Use the following procedure to attach a disk to an L-Server:

  1. Right-click the target L-Server in the orchestration tree, and select [Change Settings]-[Attach Disk] from the popup menu.
    The [Attach a New Disk] dialog is displayed.

  2. Enter the following items:

    Size

    Enter the disk size of the additional disk as a number with up to one decimal place, in units of gigabytes. "10" is initially displayed.

    Resource type

    Specify the disk to allocate to the L-Server.

    Select from the following items.

    • Automatic assignment

      Select the appropriate resources, and allocate storage pools and virtual storage resources or disk resources to the L-Server. Set "Automatic" for the default value.

      Note

      When there are storage pools with and without Thin Provisioning attributes configured that have the same priority, the storage pool that will be given priority is decided based on definition files.
      For details on definition files, refer to "C.1 Definition Files Commonly Shared when Creating Virtual L-Servers" in the "Setup Guide CE".

      If dynamic LUN mirroring has been set in the virtual storage, a volume is also created on the ETERNUS storage in the remote site specified in the definition file.
      If the ETERNUS storage in the remote site has been detected by Resource Orchestrator, it will be detected as a disk resource that was prepared beforehand, but do not register it to the storage pool.

    • Storage pool

      Select the appropriate resources, and allocate storage pools to the L-Server.

    • Virtual storage

      Displays virtual storage resources such as RAID groups or aggregates as a list.

      Select from the displayed virtual storage resources.

      Create the specified size of disk resources from the specified virtual storage resource, and allocate them to the L-Server.

      When using the virtual storage resource on which the Thin Provisioning attributes are configured, the disk resource can be created specifying a size exceeding the actual disk space.

    • Disk

      Assign a LUN created in advance, or the automatically created disk resources, for allocation to the L-Server.

      When specifying search conditions, the relevant disk resource list is displayed.

      Select from the displayed disk resources.

      The specified disk resources are allocated to the L-Server.

    Search conditions
    Storage pool

    Select the storage pool of the storage destination of the disk resource.

    Search size

    Enter the lowest value of the disk size to be searched as a number with up to one decimal place, in units of gigabytes.

    Allocation status

    Specify the status for the disk to allocate to the L-Server.

    - Unallocated

    Specify when selecting a disk resource which is not allocated to another L-Server.

    - Allocated

    Specify when selecting a disk resource which is allocated to another L-Server.

    Allocated L-Server

    Specify an L-Server when sharing the disk resources.

    Disk name

    Specify the name of the disk to be found.

    - Begins with

    Specify when searching for disks whose names begin with the specified string.

    - Includes

    Specify when searching for disks whose names include the specified string.

  3. Click <OK>.

  4. Make the disk available following the disk attachment procedure provided by the OS.

From the command-line, execute rcxadm lserver attach.
For details on the rcxadm lserver attach command, refer to "3.6 rcxadm lserver" in the "Reference Guide (Command/XML) CE".

Information

[VMware] [Hyper-V]
Data disks are connected to the L-Server as SCSI disks. They are not connected as IDE disks.

[Oracle VM]
Specify the following items when connecting data disks to an L-Server.

  • When the L-Server is an HVM (Hardware Virtualized Machine)

    • System volume: hda

    • Data disks (First to seventh): sda to sdg

  • When the L-Server is a PVM (Para-Virtualized Machine)

    • System volume: xvda

    • Data disks (First to fifty-ninth): xvdb to xvdbh

Note

  • When an L-Server is powered on, the disk to be attached to must be recognized by the L-Server. Follow the procedure provided by the OS.

  • When using physical L-Servers, disks or networks cannot be attached to the L-Server that is using iSCSI boot.

  • Saved disk resources which are created from virtual storage can only be attached to virtual L-Servers on Hyper-V when using Microsoft(R) System Center 2012 Virtual Machine Manager.

  • The only disk resources that can be attached to a virtual L-Server on Hyper-V are disk resources that are not used for other virtual L-Servers.

  • Saved disk resources cannot be attached to virtual L-Servers on Hyper-V from which snapshots have been collected when using Microsoft(R) System Center 2012 Virtual Machine Manager.

Information

Alias Name configuration

Physical L-Server Data Disk for iSCSI Boot

  • When Using ETERNUS Storage

    Using storage management software, the data disk can be accessed from managed servers by defining LUNs of the iSCSI boot disk and of the data disk in the same Affinity group.

  • When Using NetApp Storage

    Using storage management software, the data disk can be accessed from managed servers by defining LUNs of iSCSI boot disk and of the data disk in the same igroup.


Detaching a Disk

Use the following procedure to detach a disk allocated to an L-Server:

  1. Right-click the target L-Server in the orchestration tree, and select [Change Settings]-[Detach Disk] from the popup menu.
    The [Detach a Disk] dialog is displayed.

  2. Select or enter the following items:

    Resource List

    Select the disk resource to remove from "Resource List". Disk resources other than system disks are displayed in the list.

    Delete the selected disk resource (for Physical L-Servers and for Hyper-V Virtual L-Servers)

    If a disk resource that has been created from the virtual storage is selected in the [Resource List], then setting can be made with the following option buttons when reducing disks.

    Yes

    The disk resources are deleted when they are reduced.

    No

    Disk resources are not deleted when reducing, and they are registered in the same storage pool as the virtual storage they were created from.

    Detach disks (for Virtual L-Servers)

    When detaching disks, check the [Detach disks.] checkbox.

    Detach disks when the L-Server is running

    When detaching disks while the L-Server is powered on, check the [Detach disks when the L-Server is running.] checkbox.

  3. Click <OK>.

Note

  • When using RHEL-KVM virtual L-Servers, the L-Server must be powered off in order to detach a disk.

  • When using a virtual L-Server on something other than RHEL-KVM, and when detaching a disk resource virtual L-Server on Hyper-V, the content of the detached disk is deleted. After confirming the advisory notes in the displayed dialog, check the [Detach disks.] checkbox.

  • If disks are detached while the server is powered on, it is necessary to change the status of the disk into unused in advance. After confirming the advisory notes in the displayed dialog, check the [Detach disks when the L-Server is running.] checkbox.

  • When the disk resource is a LUN created in advance or a disk resource for virtual L-Servers, it is recommended to delete the data on the disk, as the data is not deleted when the disk is detached. For details on how to delete data on the disks, refer to the cautionary notes of "14.5 Storage Resources".

  • When using physical L-Servers, disks or networks cannot be detached from the L-Server that iSCSI boot is being adopted.

  • If [No] is selected for [Detach Selections disks], this setting is only valid for disk resources when reducing. Specifying this does not allow indefinite saving of disk resources.

  • If they are disk resources that were created with dynamic LUN mirroring, the disk resources on the local site and on the remote site are deleted simultaneously when the L-Server is deleted.

  • The disk resources detached from a virtual L-Server on Hyper-V can only be saved when using Microsoft(R) System Center 2012 Virtual Machine Manager.

  • When the snapshots are collected from a virtual L-Server on Hyper-V, detached disk resources cannot be saved.

From the command-line, execute rcxadm lserver detach.
To detach a disk from an L-Server while the power of the L-Server is on, specify the -online option command.
For details on the rcxadm lserver detach command, refer to "3.6 rcxadm lserver" in the "Reference Guide (Command/XML) CE".

[Hyper-V]
When changing the configuration, a maximum of up to four disks can be specified at one time.

To perform addition of five or more disks, please perform an additional configuration change.

Information

  • When not deleting detached disks from virtual storage when detaching them, the L-Server can be connected with the same operations as the LUNs that were detached in advance.

  • When not deleting detached disks from virtual storage when detaching them, use the following procedure to delete the disk resources:

    1. Connect the disk resource to the L-Server.

    2. Select "Yes" in "Detach Selections disks" when detaching disks.
      Otherwise, delete the L-Server.

Note

Immediately after a snapshot is restored, there may be differences between the configuration of VM guests managed by L-Server and those managed by VM management software.
The differences in VM guest configuration are reflected on the configuration of the L-Server by periodic queries made to the VM management software.
For details on reflection of L-Server configuration by periodic queries, refer to "17.2 Modifying an L-Server".

If the disk configuration of a virtual machine is modified using VM management software, attaching and detaching disks to and from virtual L-Servers will be disabled.

[VMware]

  • When changed to use a device path other than the following:

    • SCSI:0:0 - SCSI:0:6

    • SCSI:0:8 - SCSI:0:14

    • SCSI:1:0 - SCSI:1:6

    • SCSI:1:8 - SCSI:1:14 AM

    • SCSI:2:0 - SCSI:2:6

    • SCSI:2:8 - SCSI:2:14 AM

    • SCSI:3:0 - SCSI:3:6

    • SCSI:3:8 - SCSI:3:14 AM

  • When changed to use Raw Device Mapping

[Hyper-V]

  • When changed to use a device path other than the following:

    • IDE:0:0

    • SCSI:0:1 - SCSI:0:14

    • SCSI:1:0 - SCSI:1:14 AM

    • SCSI:2:0 - SCSI:2:14 AM

    • SCSI:3:0 - SCSI:3:14 AM

  • When changed to use a path through disk or difference disk

  • Note that changing the device path for the system disk enables deletion of disks for all disks.

    Once a virtual L-Server is created, do not change the device path of the system disk using VM management software as doing so results in the following behavior.

    • A hyphen ("-") is displayed for [Usage] in the [Disk Information] displayed on the [Resource Details] tab on the ROR console.

    • Reduction of the size of the system disk will be possible.

When changing the disk type using the same device path from VM management software, perform the following procedure.

  1. Delete a disk from the virtual machine using VM management software.

  2. Confirm that the disk deleted in 1. has been deleted as disk information of the L-Server on the ROR console.

  3. On VM management software, add a disk to the virtual machine.

Here, changing the disk type refers to the following:

  • Switching from a virtual disk to Raw Device Mapping, a pass-through disk, or a difference disk

  • Switching Raw Device Mapping, a pass-through disk, or a difference disk to a virtual disk

When using VM management software to change the configuration of disk resources saved in a virtual machine that were created from virtual storage, the disk resources registered in the storage pool may be deleted.

When snapshots are collected from the virtual machine using VM management software, attaching disks to or detaching disks from the L-Server may fail.