HP 3000 Manuals

Sharing a Disc [ HP Resource Sharing for MPE/iX ] MPE/iX 5.0 Documentation


HP Resource Sharing for MPE/iX

Sharing a Disc 

After creating a shared disc, use the Share function to make the disc
accessible to the network.  The first share you create on a new shared
disc must be to the root file, the shared disc's HP 3000 account and
group.

If you have SM or NM capabilities, you can share a disc in any group in
any account on the system.

Once the first share is established, you can establish additional shares
that allow connections at subdirectory levels of the shared disc.  The
"Sharing Subdirectories" discussion later in this chapter explains how to
create subdirectories on your shared disc and establish connections
directly to them.

You do these things when you create a share:

   *   You create a connection to the shared disc to allow data transfer
       to it.  When you create a connection you are identifying the
       physical path (the route to the disc on the HP 3000).

   *   You assign a sharename to represent the physical path (pathname)
       to the shared disc.  For the first share on a shared disc, the
       sharename represents the root directory pathname.  Once the disc
       has subdirectories established, you can assign sharenames that
       connect directly to any of the subdirectories.  If you wish, you
       can assign a password to the sharename for additional security.

   *   You assign permission codes to the sharenames, defining the types
       of access to the shared disc at the points of connection.


NOTE Once you allow other users access to your shared disc, they have access to all subdirectories and files on that disc at the connection level and below. Be sure you keep confidential or sensitive data in a subdirectory with limited access, by placing the files in a subdirectory at a higher level.
See "Planning Shared Discs," in Chapter 2 and "Shared Disc Security" in Chapter 4. To share a disc: 1. Access the RESMGR main screen, then choose Share f2. 2. Choose Share Disc f1. RESMGR prompts: Sharename ('//' to cancel)? 3. Enter the name you have chosen (maximum of eight characters) to represent the pathname to your shared disc. If this is the first share on a new disc, this sharename must represent the root pathname. If the disc has subdirectories, this sharename can represent the path to any connection point. RESMGR prompts: Physical path (default=\account\group) Your logon account and group is the default value. 4. Press Enter to accept the default, or enter another pathname. RESMGR prompts: Password? 5. Enter a password, or press Enter if you don't want to set one. Do not use invalid characters in the password ( [ ] \ / * ). RESMGR prompts: Access (permissions) (R=read W=write C=create; default=RWC)? 6. Enter the permission codes you are allowing for this share (use no punctuation and no spaces), or press Enter to accept the default of all three. If you are creating your own share to your disc, you should give yourself all three permissions to ensure that you have complete control of the information on the disc. 7. After you assign the permissions, RESMGR tells you: 8. Sharename name has been added to the network. ________________________________________________________________________ |If using commands, at the RESMGR> prompt enter: | | | | | |SHARE sharename = path [password][/RWC] | ________________________________________________________________________ If you later need to change the password or permissions, use the Modify Share function, described later in this chapter. Sharing Subdirectories The first time you share a disc, you define the connection to the root file--the HP 3000 account and group in which the shared disc resides. You can create other shares whose sharenames link directly to subdirectories on your disc by specifying the subdirectory's full pathname, for example: \account\group\subdir\subdir Linking sharenames directly to subdirectories lets you control access to your shared disc, providing security by limiting the point of access to the disc and the access permissions allowed (RWC). For more information on pathnames, sharenames and permissions, see "Planning Shared Discs" in Chapter 2 and "Shared Disc Security" in Chapter 4. To create a shared disc subdirectory and share it: 1. Make sure you have created a disc and then shared it at the root level, as explained earlier in this chapter. 2. Run the Disc Manager Utility (DISCMGR). Establish a connection to the shared disc with the USE command, and use the MKDIR command to create a subdirectory on your shared disc. (Read about DISCMGR in Part IV of this manual.) For example, to create the subdirectory called SUBDIR on the shared disc connected to the J: drive, enter: MKDIR J:\SUBDIR You can also create the subdirectory from DOS. 3. Return to RESMGR, go to the main screen and choose Share f2. 4. Choose Share Disc f1. RESMGR prompts: Sharename ('//' to cancel)? 5. Enter the sharename you have chosen to represent the pathname to the subdirectory you just created. RESMGR prompts: Physical path (default=\account\group)? 6. Enter the FULL pathname to the subdirectory. For example, the pathname \account\group\SUBDIR leads to the subdirectory SUBDIR, which is one level below the root in a shared disc hierarchy. RESMGR prompts: Password? 7. Enter a password or press Enter if you don't want to set one. Do not use invalid characters in the password ( [ ] \ / *). RESMGR prompts: Access (permissions) (R=read W=write C=create; default=RWC)? 8. Enter the permission codes you are allowing for this share (use no punctuation and no spaces) or press Enter to accept the default of all three. RESMGR tells you: Sharename name has been added to the network Your share to the subdirectory is complete. Users accessing your shared disc with the subdirectory sharename connect directly to this subdirectory. Users will be able to access this subdirectory and its files, as well as subdirectories and files below it in the shared disc tree structure, based on their access permissions. They will NOT be able to access directories and files above this subdirectory in the tree structure.


MPE/iX 5.0 Documentation