このコンテンツは選択した言語では利用できません。
Managing Red Hat Gluster Storage using the Web Console
Perform common Red Hat Gluster Storage management tasks in the Web Console
Abstract
Chapter 1. Understanding the Web Console
1.1. Understanding the Storage Dashboard
The Storage Dashboard in the Web Console provides an overview of I/O operations, volumes, and devices available to the server.
Navigate to the Storage Dashboard by logging into the Web Console and clicking the hostname, followed by Storage.
Figure 1.1. Storage Dashboard
The Storage Dashboard is divided into a number of sections.
- Reading
A graph of the amount of data read in the last five minutes. The scale of the graph adjusts automatically according to server load.
Figure 1.2. Reading graph
- Writing
A graph of the amount of data written in the last five minutes. The scale of the graph adjusts automatically according to server load.
Figure 1.3. Writing graph
- Filesystems
A list of file systems hosted on this server showing their name, mount point, size, and used versus total storage capacity. Clicking on a file system opens the Volume Group Overview page. See Section 1.2, “Understanding the Volume Group Overview page” for more information.
Figure 1.4. Filesystems
- NFS Mounts
A list of exported file systems that have been mounted by client systems.
Figure 1.5. Mounts
- Storage Logs
A list of recent events and log messages related to storage.
Figure 1.6. Logs
- RAID Devices
A list of RAID devices configured on the server. Clicking a RAID device opens the RAID Device Summary page. Clicking + opens the Create RAID Device window. See Section 3.1, “Configuring a new RAID Device using the Web Console” for more information.
Figure 1.7. RAID Devices
- Volume Groups
A list of volume groups configured on the server. Clicking a volume group opens the Volume Group Overview page. Clicking + opens the Create Volume Group window. See ] and xref:ref-cockpit-vg_overview[ for more information.
Figure 1.8. Volume Groups
- VDO Devices
A list of Virtual Data Optimizer devices configured on the server. Clicking a VDO device opens the VDO Device Summary page. Clicking + opens the Create VDO Device window. See ] and xref:ref-cockpit-vdo_overview[ for more information.
Figure 1.9. VDO Devices
- Drives
A list of drives in use by the server. Clicking a drive opens the Drive Summary page. See Section 1.4, “Understanding the Drive Overview page” for more information.
Figure 1.10. Drives
- Other Devices
A list of other devices attached to the server, that are not yet used.
Figure 1.11. Other Devices
1.2. Understanding the Volume Group Overview page
The Volume Group Overview page in the Web Console provides an overview of a volume group, the physical volume it resides on, and the logical volumes that are part of that volume group.
Navigate to the Volume Group Summary page for a file system or volume group by logging into the Web Console and clicking the hostname, followed by Storage, and clicking any file system or volume group.
Figure 1.12. Volume Group Overview page
The Volume Group Overview page is divided into several sections.
- Volume Group summary
- A summary of volume group details, showing name, UUID and capacity. You can also rename or delete the volume group from here.
- Physical Volumes
-
A list of physical volumes underlying this volume group. Clicking
+
opens the Add Disks window, which lets you add more disks to the volume group. - Logical Volumes
- A list of logical volumes in this volume group, with volume management operations. Clicking a volume shows more details and operations for that volume. See Chapter 7, Managing logical volumes using the Web Console for more information.
1.3. Understanding the VDO Overview page
The VDO Overview page provides an overview of Virtual Disk Optimizer devices and their contents.
Navigate to the VDO Overview page for a VDO device by logging into the Web Console and clicking the hostname, followed by Storage, and clicking any device listed under VDO Devices.
Figure 1.13. VDO Overview page
The VDO Overview page is divided into several sections.
- VDO Device summary
- A summary of the details of this VDO device, showing the device file location, the drive backing the VDO device, and the physical and logical space available. Several VDO management operations are also available.
- Content
- A summary of the volumes residing on this VDO device.
The VDO Overview page also provides access to a number of VDO management operations.
See the following sections for more information about each operation.
See Understanding VDO for more information about VDO devices.
1.4. Understanding the Drive Overview page
The Drive Overview page provides an overview of any drives or disks attached to the server, and any partitions on those drives.
Navigate to the Drive Overview page for any drive by logging into the Web Console and clicking the hostname, followed by Storage, and clicking any drive listed under Drives.
Figure 1.14. Drive Overview page
The Drive Overview page is divided into several sections.
- Drive
- A summary of drive details, including the drive model, firmware version, serial number, capacity, and device location.
- Content
- A summary of partitions on this drive. You can modify the partition table on the drive, or format a partition here.
Chapter 2. Managing physical device drives using the Web Console
2.1. Creating a partition table using the Web Console
Follow these steps to create a new partition table on a drive using the Web Console.
- Log in to the Web Console.
- Click the hostname → Storage.
- Click any drive under Drives. The Drive Overview page opens.
Click Create partition table.
Figure 2.1. Drive Content
The Format device window opens.
- Specify whether to Erase existing data completely by overwriting it with zeroes.
- Specify the Partitioning style to use.
- Click Format.
2.2. Formatting a disk partition using the Web Console
Follow these steps to format a partition with a file system using the Web Console.
- Log in to the Web Console.
- Click the hostname → Storage.
- Click any drive under Drives. The Drive Overview page opens.
- Click the device under Content.
In the Filesystem subtab, click Format.
The Filesystem subtab
The Format Device window appears.
- Specify whether to Erase existing data completely by overwriting it with zeroes.
- Specify the file system Type to use.
- Specify a Name for the file system.
Specify whether to use default or customized Mounting behavior.
If you selected
Custom
, specify a Mount Point and check any Mount options you want this file system to use.- Click Format.
Chapter 3. Managing RAID devices using the Web Console
3.1. Configuring a new RAID Device using the Web Console
- Log in to the Web Console.
- Click the hostname → Storage.
Click the + button beside RAID Devices.
Figure 3.1. RAID Devices
The Create RAID Device window opens.
Figure 3.2. Create Raid Device window
- Specify a Name for your RAID device.
Specify the RAID Level to use.
NoteOnly RAID5 and RAID6 are supported for RHHI for Virtualization.
- Leave the Chunk Size as the default value.
- Check the Disks to use in creating the RAID device.
- Click Create.
Chapter 4. Managing Virtual Data Optimizers using the Web Console
4.1. Creating a Virtual Data Optimizer using the Web Console
Follow these steps to create a new VDO device.
- Log in to the Web Console.
- Click the hostname → Storage.
Click the + button beside VDO Devices. The Create VDO Device window opens.
Figure 4.1. VDO Devices
Figure 4.2. Create VDO Device window
- Specify a Name for the new VDO device.
- Specify the Disk to use for the new VDO device.
- Specify the Logical Size for the new VDO device.
- Specify the Index Memory size for the new VDO device.
- Check any Options you want the new VDO device to use.
- Click Create.
4.2. Growing the logical size of a VDO device using the Web Console
Follow these steps to increase the logical size (the amount of data it can store by using compression and deduplication) of a VDO device.
- Log in to the Web Console.
- Click the hostname → Storage. The Storage Dashboard page opens.
- Under VDO Devices, click the VDO device. The VDO Device Overview page opens.
Click Grow.
Figure 4.3. VDO device summary
The Grow logical size of device window opens.
- Drag the slider or enter a numeric value to set the new logical size of the VDO device, and click Grow.
4.3. Disabling compression on a VDO device using the Web Console
Follow these steps to prevent future writes to the VDO device being compressed. This does not affect the compression of existing data on the VDO device.
- Log in to the Web Console.
- Click the hostname → Storage. The Storage Dashboard page opens.
- Under VDO Devices, click the VDO device. The VDO Device Overview page opens.
Locate the Compression toggle.
Figure 4.4. The Compression toggle
-
Click the Compression toggle under the device summary so that
OFF
is displayed.
4.4. Disabling deduplication on a VDO device using the Web Console
Follow these steps to prevent future writes to the VDO device being checked for duplication. This does not affect the deduplication of existing data on the VDO device.
- Log in to the Web Console.
- Click the hostname → Storage. The Storage Dashboard page opens.
- Under VDO Devices, click the VDO device. The VDO Device Overview page opens.
Locate the Deduplication toggle.
Figure 4.5. The Deduplication toggle
-
Click the Deduplication toggle under the device summary so that
OFF
is displayed.
4.5. Stopping a VDO device using the Web Console
Follow these steps to stop a VDO device for maintenance operations or deletion.
Prerequisites
- Stop any volumes running on the VDO device.
Procedure
- Log in to the Web Console.
- Click the hostname → Storage. The Storage Dashboard page opens.
- Under VDO Devices, click the VDO device. The VDO Device Overview page opens.
Click Stop.
Figure 4.6. The VDO device
4.6. Deleting a VDO device using the Web Console
Follow these steps to delete a VDO device.
Prerequisites
- Stop any volumes running on the VDO device.
- Stop the VDO device.
Procedure
- Log in to the Web Console.
- Click the hostname → Storage. The Storage Dashboard page opens.
- Under VDO Devices, click the VDO device. The VDO Device Overview page opens.
Click Delete.
Figure 4.7. The VDO device
Chapter 5. Managing volume groups using the Web Console
5.1. Creating a volume group using the Web Console
- Log in to the Web Console.
- Click the hostname → Storage.
Click the + button beside Volume Groups.
Figure 5.1. Volume Groups section
The Create Volume Group window opens.
- Specify a Name for the volume group.
- Check the Disks to use for the volume group.
- Click Create.
5.2. Adding physical volumes to a volume group using the Web Console
Follow these instructions to expand a volume group using the Web Console.
- Log in to the Web Console.
- Click the hostname → Storage.
- Click the volume group. The Volume Group Overview page opens.
Click the + button beside Physical Volumes.
Figure 5.2. Physical Volumes
The Add Disks window opens.
- Check the Disks you want to add to the volume group.
- Click Add.
The capacity of the volume group is extended automatically.
Now that you’ve added new storage to the volume group, you may want to grow your thin pool or grow your logical volume.
5.3. Renaming a volume group using the Web Console
Follow these instructions to rename a volume group using the Web Console.
- Log in to the Web Console.
- Click the hostname → Storage.
- Click the volume group. The Volume Group Overview page opens.
Click Rename.
Figure 5.3. Volume group summary
The Rename Volume Group window opens. .. Specify a new Name. .. Click Rename.
The volume group is renamed, and the change is propagated to all logical volumes in the volume group. This does not affect the naming of thin pools.
5.4. Deleting a volume group using the Web Console
Follow these instructions to delete a volume group using the Web Console.
- Log in to the Web Console.
- Click the hostname → Storage.
- Click the volume group. The Volume Group Overview page opens.
In the Volume Group summary, click Delete.
Figure 5.4. Volume group summary
The confirmation window opens.
- Click Delete to confirm deletion.
Chapter 6. Managing thin pools using the Web Console
6.1. Creating a thin pool using the Web Console
Follow these instructions to create a logical thin pool using the Web Console.
- Log in to the Web Console.
- Click the hostname → Storage.
- Click the volume group. The Volume Group Overview page opens.
Click + Create new Logical Volume. The Create Logical Volume window opens.
- Specify a Name for your thin pool.
-
Set Purpose to
Pool for thinly provisioned volumes
. - Specify a Size for your thin pool.
- Click Create.
Your new thin pool appears in the list of logical volumes in this volume group.
6.2. Growing a thin pool using the Web Console
Follow these instructions to increase the size of a logical thin pool using the Web Console.
- Log in to the Web Console.
- Click the hostname → Storage.
- Click the volume group. The Volume Group Overview page opens.
- Click the thin pool.
On the Pool subtab, click Grow. The Grow Logical Volume window opens.
- Specify the new Size of the thin pool.
- Click Grow.
6.3. Deactivating a thin pool using the Web Console
Follow these instructions to deactivate a logical thin pool using the Web Console. This deactivates all thinly provisioned logical volumes in the pool.
- Log in to the Web Console.
- Click the hostname → Storage.
- Click the volume group. The Volume Group Overview page opens.
- Click the thin pool.
- Click Deactivate.
The thin pool is deactivated.
6.4. Activating a thin pool using the Web Console
Follow these instructions to activate a logical thin pool using the Web Console.
- Log in to the Web Console.
- Click the hostname → Storage.
- Click the volume group. The Volume Group Overview page opens.
- Click the thin pool.
- Click Activate.
The thin pool is activated. This does not activate thin provisioned logical volumes in the pool.
Chapter 7. Managing logical volumes using the Web Console
7.1. Activating a logical volume using the Web Console
Follow these instructions to activate a logical volume using the Web Console.
- Log in to the Web Console.
- Click the hostname → Storage.
- Click the volume group. The Volume Group Overview page opens.
- Click the logical volume.
- Click Activate.
7.2. Creating a thinly provisioned logical volume using the Web Console
- Log in to the Web Console.
- Click the hostname → Storage.
- Click the volume group. The Volume Group Overview page opens.
Click Create Thin Volume beside the thin pool that should host the volume.
Figure 7.1. A thin pool
The Create Thin Volume window opens.
- Specify a Name for the new volume.
- Specify a Size for the new volume.
- Click Create.
The new volume appears in the list of logical volumes.
7.3. Creating a thickly provisioned logical volume using the Web Console
Follow these instructions to create a logical thin pool using the Web Console.
- Log in to the Web Console.
- Click the hostname → Storage.
- Click the volume group. The Volume Group Overview page opens.
Click + Create new Logical Volume. The Create Logical Volume window opens.
Figure 7.2. The Create Logical Volume window
- Specify a Name for your logical volume.
-
Set Purpose to
Block device for file systems
. - Specify a Size for your logical volume.
- Click Create.
Your new logical volume appears in the list of logical volumes in this volume group.
7.4. Deactivating a logical volume using the Web Console
Follow these instructions to deactivate a logical volume using the Web Console.
- Log in to the Web Console.
- Click the hostname → Storage.
- Click the volume group. The Volume Group Overview page opens.
- Click the logical volume.
Click Deactivate.
Figure 7.3. The logical volume summary
7.5. Deleting a logical volume using the Web Console
Follow these instructions to delete a thinly- or thickly-provisioned logical volume.
- Log in to the Web Console.
- Click the hostname → Storage.
- Click the volume group. The Volume Group Overview page opens.
- Click the logical volume.
- Click Delete in the logical volume summary.
- Click Delete to confirm deletion.
7.6. Growing a logical volume using the Web Console
Follow these instructions to increase the size of a logical volume using the Web Console.
- Log in to the Web Console.
- Click the hostname → Storage.
- Click the volume group. The Volume Group Overview page opens.
- Click the logical volume.
On the Volume subtab, click Grow.
Figure 7.4. Logical Volume section expanded
The Grow Logical Volume window opens.
Figure 7.5. The Grow Logical Volume window
- Specify the new Size of the logical volume.
- Click Grow.
Chapter 8. Managing file systems using the Web Console
8.1. Formatting a logical volume using the Web Console
Follow these steps to format a logical volume with a file system using the Web Console.
- Log in to the Web Console.
- Click the hostname → Storage.
- Click any volume group under Volume Group. The Volume Group Overview page opens.
- Click the logical volume.
On the Filesystem subtab, click Format.
Figure 8.1. The logical volume summary
NoteIf this logical volume does not have an existing file system, this tab is labelled
Unrecognised Data
.- Specify whether to Erase existing data completely by overwriting it with zeroes.
- Specify the file system Type to use.
- Specify a Name for the file system.
Specify whether to use default or customized Mounting behavior.
If you selected
Custom
, specify a Mount Point and check any Mount options you want this file system to use.- Click Format.
8.2. Configuring a mount point using the Web Console
- Log in to the Web Console.
- Click the hostname → Storage.
- Click any volume group under Volume Group. The Volume Group Overview page opens.
- Click the logical volume.
On the Filesystem subtab, click the value of Mount Point.
Figure 8.2. The logical volume summary
For this volume the mount point is
/gluster_bricks/engine
The Filesystem Mounting window opens.
Specify a behaviour to use for Mounting.
If you select
Custom
, specify a Mount Point and check any Mount Options you want to use.- Click Apply.
8.3. Mounting a file system using the Web Console
- Log in to the Web Console.
- Click the hostname → Storage.
- Click any volume group under Volume Group. The Volume Group Overview page opens.
- Click the logical volume.
- On the Filesystem subtab, click Mount.
8.4. Unmounting a file system using the Web Console
- Log in to the Web Console.
- Click the hostname → Storage.
- Click any volume group under Volume Group. The Volume Group Overview page opens.
- Click the logical volume.
On the Filesystem subtab, click Unmount.
Figure 8.3. The logical volume summary
Chapter 9. Managing Gluster volumes using the Web Console
9.1. Accessing the Gluster Management dashboard
The Gluster Management dashboard lets you view information about the currently configured Gluster volumes in your hyperconverged cluster.
To access the Gluster Management dashboard:
Click Virtualization → Hosted Engine to reach the Hosted Engine dashboard.
The Hosted Engine dashboard in the Web Console
Click Manage Gluster to reach the Gluster Management dashboard.
The Gluster Management dashboard in the Web Console
9.2. Expanding volume from Web console
Follow these instructions to use the Web Console to expand your volume.
Prerequisites
- Verify that your scaling plans are supported: Requirements for scaling.
Procedure
- Log in to the Web Console.
Click Virtualization → Hosted Engine and then click Manage Gluster.
Click Expand volume button beside the volume you want to expand. The expand volume data page opens.
- On the Hosts tab, verify the Host details and click Next.
On the Volumes tab, specify the details of the brick path to be configured for the new disk.
On the Bricks tab, specify the details of the disks to be used to expand the Gluster volume.
On the Review tab, check the generated file for any problems. Here, Enable debug logging, runs ansible-playbook in verbose mode, and provides more logs to add information. When you are satisfied, click Deploy.
9.3. Expanding volume from Red Hat Virtualization Manager
Follow this section to expand an existing volume across new bricks on new hyperconverged nodes.
Prerequisites
- Verify that your scaling plans are supported: Requirements for scaling.
- If your existing deployment uses certificates signed by a Certificate Authority for encryption, prepare the certificates required for the new nodes.
Install three physical machines to serve as the new hyperconverged nodes.
Follow the instructions in Install Physical Host Machines.
Configure key-based SSH authentication without a password.
Configure this from the node that is running the Web Console to all new nodes, and from the first new node to all other new nodes.
ImportantRHHI for Virtualization expects key-based SSH authentication without a password between these nodes for both IP addresses and FQDNs. Ensure that you configure key-based SSH authentication between these machines for the IP address and FQDN of all storage and management network interfaces.
Follow the instructions in Using key-based authentication to configure key-based SSH authentication without a password.
Procedure
Create new bricks
Create the bricks on the servers you want to expand your volume across by following the instructions in Creating bricks using ansible or Creating bricks above a VDO layer using ansible depending on your requirements.
ImportantIf the
path:
defined does not begin with/rhgs
the bricks are not detected automatically by the Administration Portal. Synchronize the host storage after running thecreate_brick.yml
playbook to synchronize the new bricks to the Administration Portal.- Click Compute → Hosts and select the host.
- Click Storage Devices.
- Click Sync.
Repeat for each host that has new bricks.
Add new bricks to the volume
- Log in to RHV Administration Console.
- Click Storage → Volumes and select the volume to expand.
- Click the Bricks tab.
- Click Add. The Add Bricks window opens.
Add new bricks.
- Select the brick host from the Host dropdown menu.
- Select the brick to add from the Brick Directory dropdown menu and click Add.
- When all bricks are listed, click OK to add bricks to the volume.
The volume automatically syncs the new bricks.
9.4. Expanding the hyperconverged cluster by adding a new volume on new nodes using the Web Console
Follow these instructions to use the Web Console to expand your hyperconverged cluster with a new volume on new nodes.
Prerequisites
- Verify that your scaling plans are supported: Requirements for scaling.
- If your existing deployment uses certificates signed by a Certificate Authority for encryption, prepare the certificates that will be required for the new nodes.
Install three physical machines to serve as the new hyperconverged nodes.
Follow the instructions in Deploying Red Hat Hyperconverged Infrastructure for Virtualization.
Configure key-based SSH authentication without a password.
Configure this from the node that is running the Web Console to all new nodes, and from the first new node to all other new nodes.
ImportantRHHI for Virtualization expects key-based SSH authentication without a password between these nodes for both IP addresses and FQDNs. Ensure that you configure key-based SSH authentication between these machines for the IP address and FQDN of all storage and management network interfaces.
Follow the instructions in Using key-based authentication to configure key-based SSH authentication without a password.
Procedure
- Log in to the Web Console.
- Click Virtualization → Hosted Engine and then click Manage Gluster.
Click Expand Cluster. The Gluster Deployment window opens.
On the Hosts tab, enter the FQDN or IP address of the new hyperconverged nodes and click Next.
On the Volumes tab, specify the details of the volume you want to create.
On the Bricks tab, specify the details of the disks to be used to create the Gluster volume.
On the Review tab, check the generated file for any problems. When you are satisfied, click Deploy.
Deployment takes some time to complete. The following screen appears when the cluster has been successfully expanded.
9.5. Creating an additional Gluster volume using the Web Console
Follow these instructions to use the Web Console to create a new Red Hat Gluster Storage volume using raw disks that are available on hyperconverged hosts in your cluster.
Prerequisites
- Verify that the raw disk drives you plan to use for the new volume are visible under the Drives section of the Storage Dashboard, and do not have any file systems listed on their Drive Overview page.
Procedure
- Log in to the Web Console.
- Click Virtualization → Hosted Engine and then click Manage Gluster.
Click Create Volume. The Create Volume window opens.
On the Hosts tab, select three different hyperconverged hosts with unused disks and click Next.
On the Volumes tab, specify the details of the volume you want to create and click Next.
On the Bricks tab, specify the details of the disks to be used to create the volume and click Next.
On the Review tab, check the generated configuration file for any incorrect information. When you are satisfied, click Deploy.
The following screen is displayed when deployment completes successfully.