Planning Shared Discs [ HP Resource Sharing for MPE/iX ] MPE/iX 5.0 Documentation
HP Resource Sharing for MPE/iX
Planning Shared Discs
Users in a workgroup want to share data. The easiest way to do this is
to provide direct access to a single copy of the file, especially if the
users need to read the data, not modify it. Shared disc files are stored
in DOS format on the HP 3000. PC users access shared disc files the same
way they access files stored on their hard discs.
Planning the way users access files can be done using the Shared Disc
section of the HP 3000 Server Worksheet. But first, it is important to
understand more about shared discs.
About Shared Discs
A shared disc is resident on the HP 3000, but has a structure similar to
the DOS way of organizing subdirectories and files. To get to a
particular file on a shared disc, you define a path, just as you would if
you were using DOS.
DOS Path.
The path to a DOS file lies through the DOS tree structure. It begins
with a root directory that contains files and subdirectories.
Each subdirectory can contain files and still other subdirectories,
adding branches to the root structure. The path to the subdirectories
and files begins at the root and follows the branches to the file
location.
For instance, consider the DOS path:
(root)\subdirectory\subdirectory\file
For example:
\SALES\REPORTS\MYFILE
Figure 2-2. DOS Tree Structure
Shared Disc Path.
The shared disc structure, like the DOS tree structure, begins with a
root and contains subdirectories and files. The shared disc root is in
the account and group where the disc was created. The root has two
pathname parts:
\Account\Group
For example:
\ADMIN\MKTING
The rest of the shared disc path will be the same as a DOS path. For
example:
\ADMIN\MKTING\SALES\REPORTS\MYFILE
Figure 2-3 on the next page shows the shared disc tree structure for
this path.
Figure 2-3. Shared Disc Tree Structure
Shared Disc Sharenames
Unlike DOS, the shared disc is not accessed by specifying the path to the
file. The shared disc is accessed through a sharename that identifies a
specific connection path. A shared disc can have more than one
connection path. For instance, one sharename may let you access all the
files on a disc. Another sharename may restrict you to a specific
subdirectory. The sharename provides security for shared disc files.
By planning the location of files and assigning sharenames that identify
specific connection paths, you can give users access to only certain
files in the shared disc hierarchy, as illustrated by the examples that
follow.
* Sharon needs access to all subdirectories on the disc, so you
allow her to use a sharename that connects to the root. The root
path is \ADMIN\MKTING. Using the SHARE command from the Resource
Manager Utility (RESMGR), you specify a sharename (such as SHARON)
and give it a connection path to the root.
* Joe needs access to the REPORTS subdirectory under \ADMIN\MKTING,
so let him use a sharename (for instance, JOEREP) that
defines a connection path to the REPORTS subdirectory:
\ADMIN\MKTING\SALES\REPORTS. The sharename JOEREP will give him
access to the REPORTS subdirectory and its files, but he won't be
able to access information stored in any other subdirectory or
file above that path in the hierarchy.
The figure on the next page shows the shared disc tree structure for this
path.
Figure 2-4. Shared Disc Hierarchy
For more information on sharenames, passwords, and permission codes, see
"Shared Disc Security" in Chapter 4.
Share Passwords.
You can assign a password to the shared disc for additional security.
This password is in addition to any password you may have assigned to the
account or group where the shared disc is located.
Permission Codes.
When you assign the sharename for the connection path to a shared disc,
you also define the permission codes that limit the types of things users
can do within the shared disc. There are three permission codes, Read,
Write, and Create.
* READ permission lets users:
Display the contents of a subdirectory
Display the contents of a file
Copy files from a subdirectory
Print files from a subdirectory
Back up files
* READ/WRITE permission lets users:
Perform all activities allowed with Read permission
Delete subdirectories
Delete files
Change contents of files
Back up files
* READ/WRITE/CREATE permission lets users:
Perform all activities allowed with Read/Write
Create subdirectories
Create files
Back up files
Recover files
In the example, the sharename JOE has Read permission to the REPORTS
subdirectory.
Shared Disc Concepts
You should keep several concepts in mind when you plan the shared discs
for the system.
* You can create only one shared disc per MPE group.
* After creating a shared disc, you use the Share function of
Resource Manager Utility (RESMGR) to "share" the disc by assigning
sharenames for the connection path to the disc.
* You can share the disc using multiple sharenames (representing
multiple paths to the disc).
* The only way you can access a shared disc in a Virtual Terminal
(VT) or a point-to-point session is through the Disc Manager
Utility (DISCMGR).
* The Backup and Recover functions of the Resource Manager Utility
(RESMGR) operate only on shared discs.
Because you can create only one shared disc per MPE group, you may want
to establish more than one MPE group within a workgroup. For example,
you could set up one group with a disc that contains files of standard
memos and make it available to everyone in the workgroup by giving
everyone the shared disc sharename and password (if any). It is
recommended to provide a password for each new MPE group you establish.
The password is a security measure to prevent unwanted alteration of
shared discs by account users outside the new group.
If you don't want everyone to be able to change the files on the disc,
you can allow the users to have a sharename that gives them only Read
permission. Users with the read-only sharename could copy memo files
from the standard memo disc to shared discs in their own group where they
have Read, Write, and Create permissions, then modify and print the memo
file. You could also put standard utilities and routines on one shared
disc of read-only files. See "Shared Disc Security," Chapter 4.
Recording Shared Disc Information on the Worksheet
Use the Shared Disc portion of the HP 3000 Server Worksheet to plan for
shared discs. Writing down the assigned sharenames, pathnames, passwords
(where applicable), and permissions will help you develop a basis for
consistent management of shared discs and connection paths to each disc.
Figure 2-5. Sample Worksheet, Shared Discs Part
You need to gather or decide on the following information:
* Name of the specific connection path (sharename)
* Actual path to the shared discs (share pathname)
* How to restrict the disc use (share password)
* Read, Write, or Create permissions (permission)
Refer to the worksheet when you create and share additional discs.
Table 2-1. HP 3000 Server Worksheet--Shared Discs
------------------------------------------------------------------------------------
| | |
| Field | Description |
| | |
------------------------------------------------------------------------------------
| | |
| Sharename | The name for the connection path to a shared disc. This |
| | name is assigned during the network configuration process. |
| | |
| | |
| | Sharenames can be up to 8 alphanumeric characters long. |
| | They cannot include any special characters or spaces. |
| | |
------------------------------------------------------------------------------------
| | |
| Share pathname | This defines the account, group, and subdirectory (if any) |
| | to which a specific sharename can connect. |
| | |
------------------------------------------------------------------------------------
| | |
| Share password | You do not need to have a share password for a shared disc; |
| | however, passwords can be assigned to restrict access to |
| | shared discs that contain sensitive information. |
| | |
| | Passwords can be up to 8 alphanumeric characters long. |
| | They cannot include any special characters or spaces. If |
| | you write the actual password on the worksheet, you should |
| | keep the worksheet in a secure place. |
| | |
| | Many people write only "yes" or "no" in the passwords |
| | column. As System Manager with SM capability, you can use |
| | the SHARE STATUS PASSWORD command to keep track of |
| | passwords on the system. |
| | |
| | See "Shared Disc Security," Chapter 4. |
| | |
------------------------------------------------------------------------------------
| | |
| Permissions | Use the permissions column to plan permissions for each |
| | shared disc: |
| | |
| | Read (R) |
| | Read/Write (R W) |
| | Read/Write/Create (R W C) |
| | |
| | Read/Write/Create is the default. |
| | |
------------------------------------------------------------------------------------
Using the HP 3000 Server Worksheet to plan shared disc connections makes
file management easier. You can make additional copies of the worksheet
for your use in planning.
MPE/iX 5.0 Documentation