Product Documentation and Knowledge Base - HomeDocumentation


Charon-SSP


Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Contents

To view or change the current virtual machine SCSI configuration, select SCSI in the Device column of the left-hand pane of the configuration window. This opens the SCSI configuration window similar to the one shown below.

​​From this window, you can create virtual disk and tape container files using the Create Virtual Storage button. You can also attach virtual storage devices (both physical devices and container files) to the virtual machine (Add button). When selecting an existing virtual storage device, you can modify or remove it.

(info)  The Create Virtual Storage option is also available in the Tools menu of the Charon-SSP Manager. The functions provided are identical to the functions provided via the Virtual Machine Settings window shown above.

​Creating a New Virtual Disk Container File

It is often convenient to use container files for virtual disk and tape devices. This section describes how to create disk container files.

To create a virtual disk container file, click on Create Virtual Storage in the SCSI device Virtual Machine Settings window. This displays the Create Virtual Storage dialog opened on the virtual disk tab as shown below.

To create a virtual disk container file, follow the instructions below:

  1. Select the virtual disk type from the drop-down list Virtual disk type.

    • If you select a preconfigured Virtual disk type the Block number field is updated to match that model.

    • If you specify the type of Custom, enter the container file size as a number of 512-byte blocks at the field Block number. The size of the custom disk is shown in KB/KiB, MB/MiB, or GB/GiB depending on the configured number of blocks.

  2. Specify a name for the virtual disk container file in the field Virtual disk name.

  3. Select the location on the host filesystem for the container file by clicking on the location selection button and selecting the correct path. The default is different depending on the Charon-SSP product.

  4. Click on Create to create the virtual disk container file. Depending on the size of the container file, this may take some time.

(warning)  Before the disk can be used by the Solaris guest system, it must be added to the system configuration and formatted by the Solaris guest according to the customer specific requirements.

Creating a New Virtual Tape Container File

To create a virtual tape container file, click the Create Virtual Storage button in the SCSI device Virtual Machine Settings window. This opens the Create Virtual Storage window. Select the Virtual Tape tab.

To create a virtual tape container, follow the instructions below:

  1. Specify a name for the virtual tape container file in the field Virtual tape name.

  2. Select the location on the host filesystem for the container file by clicking on the location selection button and selecting the correct path.

  3. Specify a size for the virtual tape file in megabytes (MB) in the field Tape size. The vtape file will expand automatically if more space is needed while writing to the tape.

  4. Click on Create to create the virtual tape container file. Depending on the size of the container file, this may take some time.

Using a virtual tape:

Once a virtual tape device has been created, it can be added to the Charon-SSP configuration and used by the Solaris guest system. To simulate “swapping a tape” during guest system operation, the following steps are required:

1. Guest system: rewind tape if required, write content to it, and “eject” it:

# mt –f <device-name> rewind
# tar –cvf <device-name> <files-to-save>
# mt –f <device-name> offline

2. Host system: use sftp to rename/copy the original container file and to copy a new empty file with the same name in its place.

3. Guest system: display tape status (thereby loading the new file), rewind tape if required, and write content to it:

# mt –f <device-name> status

mt –f <device-name> rewind

  1. tar –cvf <device-name> <more-files-to-save>


  • No labels