Tivoli Header

Tivoli Storage Manager Using the Application Program Interface


Accessing Across Nodes and Across Owners

Three function calls, dsmSetAccess, dsmDeleteAccess, and dsmQueryAccess support cross-node, cross-owner access on the same platform. These functions, along with the -fromnode and -fromowner string options that are passed on dsmInitEx, permit a complete cross-node query, restore and retrieve process through the API. For example, User A on node A uses the dsmSetAccess function call to give access to its backups under the /db filespace to User B from Node B. The access rule is displayed as:

ID Type Node User Path
1 Backup Node B User B /db/*/*

When User B logs on at Node B, the option string to dsmInitEx is:

   -fromnode=nodeA -fromowner=userA

These options are set for this session. Any queries will access the filespaces, and files of Node A. Backups and archives are not permitted. Only query, restore, and retrieve processes are permitted from the filespaces for which User B has access. See the individual function calls and dsmInitEx for more information.

Note:
On UNIX, you can specify -fromowner=root in the option string that is passed on the dsmInitEx function call. This permits non-root users access to files that the root owns if a set access was performed.


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