Systems support can manage Net-Storage via the DMS interfaces. To permit this, the Net-Storage must be connected to the BS2000 system.
Net-Storage volumes are managed in the context of the data pubsets.
You use the SHOW-NET-STORAGE command to obtain information on the Net-Storage available in the BS2000 system.
You use the SHOW-PUBSET-NET-STORAGE command to obtain information on the Net-Storage volumes assigned to a pubset.
You use the SHOW-NET-STORAGE-OCCUPATION command to obtain information on the tasks of the local system which occupy the Net-Storage.
Information on the directories which are released by a net server for a net client and BS2000 is provided by the LIST-NET-DIRECTORIES command.
The SET-NET-CLIENT-ALTERNATE command is used to specify the assignment of net clients for high availability. A symmetrical relationship between two net clients is created which ensures that if one of the two net clients fails the other net client takes over the Net-Storage connections. The assignment is displayed using the SHOW-NET-CLIENT-ALTERNATE command. It can be canceled with SET-NET-CLIENT-ALTERNATE.
After the Net-Storage has been connected to the BS2000 system, all users of the pubset can use it because the default setting in the user catalog is
NET-STORAGE-USAGE=*ALLOWED
. The space occupied on a Net-Storage volume is not counted toward the user’s public space limit.Permission for users to create and edit the files on the pubset’s local disks can be withdrawn, as can permission for them to create and edit files on the pubset’s Net-Storage volumes, e.g. with
/MODIFY-USER-ATTRIBUTES ...,NET-STORAGE-USAGE=*NOT-ALLOWED
The SHOW-USER-ATTRIBUTES command displays this setting.
Speed Catalog Access for Net-Storage of type NETSTOR (SCANET) supports high-speed access to information in the file catalog (file name
.BS2FSCAT
) with the metadata stored on Net-Storage.
You are recommended to start the SCANET subsystem (e.g. in the CMDFILE) when Net-Storage of type NETSTOR is used or planned to be used. Net-Storage of type NETVOL does not use SCANET.For users who wish to work with node files, the POSIX user attributes UserID and GroupID must be entered in the pubset's user catalog, e.g. with the following command:
/MODIFY-POSIX-USER-ATTRIBUTES USER-ID=<bs2000-userid>; PUBSET=<cat-id>;
USER-NUMBER=<uid>; GROUP-NUMBER=<gid>These IDs must be coordinated with the users of the open system who want to work with the same node files.
The IMPORT-NODE-FILE command imports individual node files to the BS2000 system. The user can specify whether the file to be imported is to be processed as a PAM or SAM file.
Information on node files is provided by the LIST-NODE-FILES command. Here only those files are displayed which comply with the BS2000 naming conventions for files.
Node files can be removed from the BS2000 file catalog using the EXPORT-NODE-FILE command.
Before the shutdown in the BS2000 system is initiated, the pubsets to which Net-Storage volumes have been assigned must be exported (see also the section "Disconnecting Net-Storage from BS2000").
Reconfiguring Net-Storage volumes
Systems support can reconfigure Net-Storage volumes in BS2000, i.e. remove them from a pubset and, without deleting the files on the Net-Storage volume, assign the volumes to another pubset.
Remove the Net-Storage volume from the (imported) pubset, e.g. with
/REMOVE-NET-STORAGE-VOLUME ...,FILES-ON-VOLUME=*EXPORT
The files’ catalog entries are then deleted only in the local pubset. The files and management data on the Net-Storage are retained.
With Net-Storage type NETVOL, a file catalog (file name .SCAN_TSOSCAT_CES) is created.Assign the Net-Storage volume to another pubset, e.g. with
/ADD-NET-STORAGE-VOLUME ...PUBSET=B,IMPORT=*YES(...)
The management data on the Net-Storage volume is updated. If the Net-Storage volume to be assigned was created under BS2000 <V21, it is a volume of the NETSTOR type. This can simultaneously be converted into a Net-Storage volume of the NETVOL type: ...
, IMPORT = *YES (CONVERT = *TO-NETVOL)
. A reverse conversion to the NETSTOR type is not possible!- With Net-Storage type NETVOL, all CEs are cataloged and the file catalog (file name .SCAN_TSOSCAT_CES) is deleted.
Create the catalog entries for the files on the Net-Storage volume of type NETSTOR in the “new” pubset, e.g. with
/IMPORT-FILE SUPPORT=*DISK(VOLUME=<net-storage-volume>,
PUBSET=B,DEVICE-TYPE=NETSTOR,FILE-NAME=*ALL)The files of the Net-Storage volume are now entered in the catalog of pubset B and can be used.
You can also simulate the import in advance, e.g. with:
/CHECK-IMPORT-DISK-FILE VOLUME=P@BA00,DEVICE-TYPE=NETSTOR,...
For Net-Storage of type NETSTOR:
In certain cases, e.g. when rectifying inconsistencies after a Net-Storage has failed, it can make sense to export individual files from the pubset:
To do this a Net-Storage volume or the storage type *NET-STORAGE must be specified in EXPORT-FILE. (Otherwise EXPORT-FILE will only apply for files on private disks.)/EXPORT-FILE ...,SELECT=*BY-ATTRIBUTES(STORAGE-TYPE=*NET-STORAGE,...)
Correspondingly you can import files which are not yet known in BS2000, i.e. create a catalog entry in the local pubset, e.g. with:
/IMPORT-FILE SUPPORT=*DISK(VOLUME=P@BA00,DEVICE-TYPE=NETSTOR,
FILE-NAME= ... )