Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: changes for Azure

...

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
excludeContents
stylesquare

...

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.

For more details, please refer to the AWS documentation.

...

classpagebreak

Creating a New Volume

...

Image Removed

This will open the volume overview screen.

...

Click on the Create Volume button on top of the volume overview screen.

Image Removed

This will open the volume creation window.

...

Select 

  • Volume type
  • Volume size
  • Availability zone ( (warning) Must be the same as the Charon-SSP AWS instance!)
  • Optionally, add a name tag.

Then click on Create Volume.

Image Removed

...

classpagebreak

Attaching an Existing Volume to an Instance

Once a volume has been created, you can attach it to your instance.

...

Image Removed

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.

Image Removed

...

classpagebreak

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 in the Charon host system before detaching it (see Charon-SSP Manager section below).

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.

...

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.

Image Added

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 Add data disk. This will display the disk selection area. Where either an existing disk can be chosen or a new disk can be created.


Step 2: Select existing disk or start creation of a new disk.

The following sample shows the case where on existing disks are available. The drop-down menu instead offers the option Create disk.

Image Added

Click on Create disk to open the disk configuration screen.


Step 3: Enter the disk configuration data.

The disk configuration screen looks similar to the sample below. Add at least the followiing:

  • Disk name
  • Resource group (same as VM)
  • Disk size and type (clicking on Change size will open a window where different disk types and sizes can be selected).

Image Added

Once you have filled in all the necessary data, click on Create to create the disk. This will take you back to the VM disk overview screen.


Step 4: Add the new (or selected existing) disk to your VM.

On the disk overview screen, you will see the selected (or newly created) disk. In the Data disks section, similar to the sample below:

Image Added

To attach this disk to your VM, click on Save at the top of the screen.

In the Azure notification area (bell symbol at the top right of the screen) you should receive the success notifications, similar to the sample below:

Image Added

Storage Manager of the Charon-SSP Manager

...

  1. Open the Charon-SSP Manager on your local system and connect to your Charon cloud instance.
  2. Select Tools > AWS Azure Cloud > Storage Manager.
  3.  In the Storage Manager window, perform the following steps:
    1. Select the new device. 
    2. Click on the cog-wheel symbol.
    3. Only if required, select Format Volume to create a filesystem on the new device.
      (warning) This will delete all data on the volume.
    4. 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:

(warning) 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.

Once the filesystem has been mounted, the space is available to the Charon-SSP host system.

...

  • Stop all Charon instances that might use the volume that is about to be unmounted.
  • In Charon Manager go to Tools > AWS Azure Cloud > Storage Manager.
  • Select the volume.
  • Click on the cogwheel symbol and select Unmount the Filesystem.

...