OpenSolaris 2008.11 Media Management System Administration Guide

Table of Contents

Configuring an Application to Use MMS

A registered application can get access to data on removable media managed by MMS.
(Link to procedure to make an application made MMS-aware.)
The Application has to be modified to provide a name and a password that the MMS configuration can recognize. See the application's documentation for instructions on how to specify the application's name and password to another software program.

Attributes of a Application
retain Specifies the number of days that the volume's data is preserved after the expiration date
defined by the application for a volume. The default value is 0.
validate-expiration Specifies whether overwriting unexpired files is allowed.
validate-volid Specifies whether the volume identifier is verified.
validate-filename Specifies whether the file name is verified.
overwrite-existing For unlabeled volumes that are not blank, specifies whether the
data on an unlabeled volume can be overwritten.

Registering an Application

When you register an application, you are creating an entry in the MMS database with the application name and adding its password to the password file.
To register an application:

mmsadm create -t app -P /var/tmp/app_passwd app_name

Example of Registering MyBackup
mmsadm create -t app -P /var/tmp/freedom MyBackup

Assigning an Application To Storage Resources

To authorize an application to use a media pool:

mmsadm set -t mpool -o apps=app_name pool_name

This media pool become the default location for the application.

Example of Assigning MyBackup to Use SitePool
mmsadm set -t mpool -o apps=MyBackup SitePool 

To assign an application use a specific drive:

  1. Identify the drive name:
    mmsadm list -t drive
  2. Assign the application:

    mmsadm set -t drive -o apps=app_name drive_name

    Example of Assigning MyBackup to Use MyDrive
    mmsadm set -t mpool -o apps=MyBackup MyDrive 
    

Verifying Application Registration

To confirm that all the applications are registered:

mmsadm list -t app