...
To add additional disk storage to your Charon-SSP AWS Azure instance (for example, for storing virtual disk containers), perform the steps described below.
...
Table of Contents | ||||
---|---|---|---|---|
|
Steps in the
...
Azure Management Environment
In the AWS environment, you can, for example,
- create a new storage volume,
- attach an existing storage volume to your instance,
- detach a storage volume from your instance.
These steps are shown below.
Creating a New Volume
...
This will open the volume overview screen.
...
Click on the Create Volume button on top of the volume overview screen.
This will open the volume creation window.
...
Select
- Volume type
- Volume size
- Availability zone ( Must be the same as the Charon-SSP AWS instance!)
- Optionally, add a name tag.
Then click on Create Volume.
...
Attaching an Existing Volume to an Instance
Once a volume has been created, you can attach it to your instance.
...
Select the instance to which the volume is to be attached. Optionally, you can change the device name that will be presented to the Charon-SSP AWS instance.
Click on Attach to confirm the configuration and to attach the volume to the instance.
The status of the volume in the volume overview screen will change from available to in-use.
...
Go to the instance overview list and select your instance. In the description tab at the bottom, you will see that the instance now has two block devices.
Detaching a Volume from an Instance
If the volume is the root device of the instance, you must stop the instance before detaching the volume.
If the volume is not the root device of the instance, unmount the volume before detaching it:
- Stop all Charon instances that might use the volume that is about to be detached.
- In Charon Manager go to Tools > AWS Cloud > Storage Manager.
- Select the volume.
- Click on the cogwheel symbol and select Unmount the Filesystem.
Then detach the volume from your instance:
- Go to the Elastic Block Store volumes list.
- Select the volume to be detached.
- Use the menu Actions > Detach volume.
...
class | pagebreak |
---|
...
Step 1: To start the process of adding a disk, open the disk section of your VM (from the VM details section) by clicking on Disks in the left-hand pane.
The following image shows a sample.
If no disk has been added before, only the system disk is displayed on this screen. The temporary storage disk is not shown.
To add a new disk, click on Create and attach new disk. This will display the disk configuration area. If you select to attach an existing disk, you will be offered the options to select it.
Div | ||
---|---|---|
| ||
Step 2: Create a new disk.
The following sample shows the configuration options of a new disk:
Step 3: Enter the disk configuration data.
Add at least the following information in the disk creation area:
- Unique LUN
- Disk name
- Disk size and type
- Disk performance data
- Encryption setting
Once you have filled in all the necessary data, click on Save at the top of the screen to create the disk and attach it to your VM.
Div | ||
---|---|---|
| ||
Step 4: Review the new disk configuration.
On the disk overview screen, you will see the selected (or newly created) disk. It is now attached to your VM.
Steps on the Charon-SSP Host System
Mounting a Newly Attached Volume Using the Storage Manager (AL Images only)
After the volume has been attached to the instance, it must be included in the Charon-SSP host system configuration. This On Charon-SSP AL instances, this is achieved via the Charon-SSP Manager.
- Open the Charon-SSP Manager on your local system and connect to your AWS Charon cloud instance.
- Select Tools > AWS Azure Cloud > Storage Manager.
- In the Storage Manager window, perform the following steps:
- Select the new device.
- Click on the cog-wheel symbol.
- Only if required, select Format Volume to create a filesystem on the new device.
This Please note: this will delete all data on the volume. - Click on the cog-wheel symbol and select Mount the Filesystem.
This will mount the new volume under /charon/storage/media/<UUID>/.
The following image shows a sample :
Note that the device on the host system is called /dev/xvdf
(XEN virtual block device). This is equivalent to an /dev/sdf
volume shown in AWS.storage manager window:
Once the filesystem has been mounted, the space is available to the Charon-SSP host system. After the first mount via the Storage Manager, the filesystem will be automatically mounted after a restart of the Charon host instance.
Mounting a Newly Attached Volume Manually
Include Page | ||||
---|---|---|---|---|
|
Unmounting a Volume
To unmount a volume before perform the following steps:
- Stop all Charon instances that might use the volume that is about to be unmounted.
- On host systems based on AL images:
- In Charon Manager go to Tools > Azure Cloud > Storage Manager.
- Select the volume.
- Click on the cogwheel symbol and select Unmount the Filesystem.
- On other systems:
- Use the command
# umount <device-path>
or# umount <mount-point>
- To make this permanent, remove the corresponding entry in /etc/fstab.
- Use the command
Please note: When you delete a virtual machine in Azure, by default, the disks that are attached to the VM will not be deleted. If you do not require a disk anymore, delete it to avoid unnecessary cost.
Div | ||
---|---|---|
| ||
Include Page | ||||
---|---|---|---|---|
|