beautypg.com

Creating volume catalogs, Examples – HP NonStop G-Series User Manual

Page 78

background image

Configuring DSM/TC

DSM/Tape Catalog User’s Guide — 520233-008

5 - 4

Creating Volume Catalogs

Examples

To create a file catalog on the current default node (if there is no NonStop SQL/MP
database in the subvolume, DSM/TC creates one):

MC> CREATE FILECAT FILE_CATALOG_SKY,&

>>> SUBVOL $V101.CATALOG,&

>>> SECURE “NG-O”,&

>>> OWNER 5,149

To create a file catalog on a different node:

MC> CREATE FILECAT \SEA.FILE_CATALOG_OPS_SEA,&

>>> SUBVOL \SEA.$SYS01.DSMCAT,&

>>> SECURE “NG-O”,&

>>> OWNER 6,100

To create a file and volume catalog on the same subvolume of the current default
node (the catalogs have the same logical names; this is required when a file and
volume catalog are in the same subvolume):

MC> CREATE FILECAT CENTRAL_CATALOG,&

>>> SUBVOL $IRIS.TAPECAT,&

>>> SECURE “NC-O”,&

>>> OWNER 5,149

MC> CREATE VOLCAT CENTRAL_CATALOG,&

>>> SUBVOL $IRIS.TAPECAT,&

>>> SECURE “NC-O”,&

>>> OWNER 5,149

Creating Volume Catalogs

To add volume catalogs to your system, use the MEDIACOM CREATE VOLCAT
command. The typical configuration consists of one volume catalog for all nodes in a
DSM/TC system, with multiple media pools contained in the volume catalog.

Examples

To create a volume catalog on the current default node (if there is no NonStop SQL
database in the subvolume, DSM/TC creates one):

MC> CREATE VOLCAT MASTER_TAPE_FILE,&

>>> SUBVOL $OPVOL.CATALOG,&

>>> SECURE “NG-O”,&

>>> OWNER 5,149

To create a volume catalog on a different node:

MC> CREATE VOLCAT \MOON.VOLUME_CAT_MOON,&

>>> SUBVOL \MOON.$SYS01.DSMCAT,&

>>> SECURE “NG-O”,&

>>> OWNER 6,100

This manual is related to the following products: