Tivoli Storage Manager for Sun Solaris Administrator's Reference

VARY (Bring a Random Access Volume Online or Offline)

Use this command to make a random access volume online or offline to the server as a database, recovery log, or storage pool volume. This command is valid only for volumes on random access devices. For example, use this command during maintenance or corrective action of a random access volume. You cannot vary a random access volume online that is defined as unavailable.

Privilege Class

To issue this command, you must have system privilege or operator privilege.

Syntax

                                       .-Wait--=--No------.
>>-VARy----+-ONline--+--volume_name----+------------------+----><
           '-OFfline-'                 '-Wait--=--+-No--+-'
                                                  '-Yes-'
 

Parameters

ONline
Specifies that the server can use the random access volume.

OFfline
Specifies that the server cannot use the volume.

volume_name (Required)
Specifies the volume identifier. Volume names cannot contain embedded blanks or equal signs.

Wait
Specifies whether to wait for the server to complete processing this command in the foreground. This parameter is optional. The default is NO. Possible values are:

No

Yes
Specifies that the server processes this command in the foreground. Wait for the command to complete before you continue with other tasks. The server displays the output messages to the administrative client when the command completes.

Examples

Task

Make volume /adsm/stgvol/1 available to the server for use as a database volume.

Command:
vary online /adsm/stgvol/1

Related Commands

Table 322. Commands Related to VARY

Command Description
CANCEL PROCESS Cancels a background server process.
DEFINE DBVOLUME Assigns a volume to be used for database storage.
DEFINE LOGVOLUME Defines a disk volume to the recovery log.
DEFINE VOLUME Assigns a volume to be used for storage within a specified storage pool.
DELETE DBVOLUME Deletes a volume from the database.
DELETE LOGVOLUME Deletes a volume from the recovery log.
DELETE VOLUME Deletes a volume from a storage pool.
QUERY DBVOLUME Displays information database volumes.
QUERY LOGVOLUME Displays information about log volumes.
QUERY PROCESS Displays information about background processes.
QUERY VOLUME Displays information about storage pool volumes.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]