This section explains how to modify the disk configuration of an L-Server.
Prerequisites
For physical L-Servers, attachment and detachment of disks is only possible when using SAN boot.
[Solaris Zones (Solaris 10)]
Attaching and detaching of disks is not possible from the ROR console.
However, it is possible from the global zone.
[Solaris Zones (Solaris 11)]
Detaching of disks is not possible from the ROR console.
However, it is possible from the global zone.
For details on how to detach disks from the global zone, refer to "Table 17.2 Modifying".
[OVM for SPARC]
A disk shared with another L-Server cannot be deleted. For guest domains, delete the disk shared with another L-Server (guest domain) from the VM host.
Attaching a Disk
Use the following procedure to attach a disk to an L-Server:
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.
Enter the following items:
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.
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 "8.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
When specifying search conditions, the following relevant resources are displayed in a list.
- The LUN created in advance
- Disk resources created from virtual storage
Select from the displayed disk resources.
The specified disk resources are allocated to the L-Server.
[KVM]
When "Automatic" or "Storage Pool" is specified, the storage resource that is selected differs depending on the disk type of the system disk used by the L-Server.
For details, refer to "Storage Resources to be Selected" in "8.6.6 Creating L-Servers" in the "Setup Guide CE".
Select the storage pool of the storage destination of the disk resource.
Enter the lowest value of the disk size to be searched as a number with up to one decimal place, in units of gigabytes.
Specify the status for the disk to allocate to the L-Server.
- Unallocated
Specify when selecting a disk resource that is not allocated to another L-Server.
- Allocated
Specify when selecting a disk resource that is allocated to another L-Server.
Specify an L-Server when sharing the disk resources.
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.
Click the [OK] button.
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
For the maximum number of disks that can be added, refer to "16.3.3 [Disk] Tab".
[VMware] [Hyper-V]
Data disks are connected to the L-Server as SCSI disks. They are not connected as IDE disks.
[VMware]
When the attribute of the storage pool in which the virtual storage is registered is Thick Provisioning, the format of the disk to allocate to the L-Server cannot be specified. The default format of server virtualization software will be used. When creating a virtual machine on server virtualization software, the format displayed at the top of the list is the default format.
[OVM for x86 2.2]
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 or later.
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 attaching a disk resource to a virtual L-Server (Hyper-V), it is not possible to specify different virtual storage or storage pools for the system disk and data disk.
Information
Alias Name configuration
When a disk that has been created from the ETERNUS virtual storage (RAID group, for example) when expanding disks, set the alias (if possible) based on the disk resource in the ETERNUS LUN.
Refer to "16.2 Creation of Physical L-Servers Using Parameters".
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:
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.
Select or enter the following items:
Select the disk resource to remove from "Resource List". Disk resources other than system disks are displayed in the list.
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.
The disk resources are deleted when they are reduced.
Disk resources are not deleted when reducing, and they are registered in the same storage pool as the virtual storage they were created from.
When detaching disks, check the [Detach disks.] checkbox.
When detaching disks while the L-Server is powered on, check the [Detach disks when the L-Server is running.] checkbox.
Click the [OK] button.
Note
When using RHEL-KVM virtual L-Servers, the L-Server must be powered off in order to detach a disk.
If a disk resource which was automatically created from virtual storage after collection of a snapshot is deleted from a RHEL-KVM virtual L-Server, restoration of the collected snapshot will fail.
When using a virtual L-Server on RHEL-KVM, detaching a disk resource created automatically from a virtual storage deletes the content of the detached disk.
When using a virtual L-Server on something other than RHEL-KVM and OVM for SPARC, the content of the detached disk is deleted. After checking 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 checking 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 or later.
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, perform an additional configuration change.
[OVM for SPARC]
When performing addition or removal of disks, saving of VM guest configuration information is necessary.
This product performs auto-save of the configuration information when L-Servers are added or removed.
When you disable the auto-save function of configuration information in this product, add a definition to the definition file which configures the execution of configuration information preservation.
Refer to "8.8.1 Creating Definition Files" in the "Setup Guide CE".
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:
Connect the disk resource to the L-Server.
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 configurations 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".
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
SCSI:2:0 - SCSI:2:6
SCSI:2:8 - SCSI:2:14
SCSI:3:0 - SCSI:3:6
SCSI:3:8 - SCSI:3:14
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
SCSI:2:0 - SCSI:2:14
SCSI:3:0 - SCSI:3:14
When changed to use a path through disk or difference disk
[OVM for SPARC]
When changed to use a device path or identifier information other than the following:
0 - 63
[Citrix Xen]
When changed to use a device path or identifier information other than the following:
0 - 1
4 - 15
[OVM for x86 3.x]
When changed to use a device path or identifier information other than the following:
When HVM (Hardware Virtualized Machine) is used: 0, 2 - 3
When PVM (Para-Virtualized Machine) is used: 0, 2 - 103
When PVHVM (Para-Virtualized Hardware Virtual Machine) is used: 0, 2 - 106
In virtual L-Servers linked with a virtual machine, caution is necessary because all disks can be deleted.
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.
Delete a disk from the virtual machine using VM management software.
Confirm that the disk deleted in step 1 has been deleted as disk information of the L-Server on the ROR console.
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.