Previous | Contents | Index |
This chapter describes procedures that your system manager follows to prepare for the installation of your tutorial application. Once these procedures are completed, you can install your application and run its tasks as described in Chapter 13.
If you do not have the privileges (SYSPRV) necessary to perform the steps in this chapter, your system manager must perform these steps for you. To perform these steps, your system manager needs to know the name of your application (represented here by EMPLOYEE_INFO_APPL_xxx) and the logical for your default directory (repesented here by xxx_FILES). |
The system manager performs the steps in this chapter to prepare for the installation of the tutorial application. Specifically, the system manager does the following:
To set up OpenVMS user accounts, your system manager uses the OpenVMS Authorize Utility. Here the system manager uses the OpenVMS Authorize Utility to set up the user accounts of the server and the Application Execution Controller. In the tutorial application, the server's user name is EMPL_SERVER, and the controller's user name is EMPLOYEE_EXC.
If you are not the first person at your site to use this tutorial, it is possible that the EMPLOYEE_EXC and EMPL_SERVER user names already exist in the OpenVMS User Authorization File (UAF). In that case, the system manager can check to see if the quotas are correct and can modify any that are not.
If the EMPL_SERVER account does not exist yet, create it using the following quotas and privileges:
Maxjobs: 0 Fillm: 200 Bytlm: 50000 Maxacctjobs: 0 Shrfillm: 0 Pbytlm: 0 Maxdetach: 0 BIOlm: 100 JTquota: 1024 Prclm: 2 DIOlm: 22 WSdef: 512 Prio: 4 ASTlm: 100 WSquo: 1024 Queprio: 0 TQElm: 100 WSextent: 4096 CPU: (none) Enqlm: 2000 Pgflquo: 60000 Authorized Privileges: GRPNAM GROUP SETPRV TMPMBX OPER NETMBX BYPASS Default Privileges: GRPNAM GROUP TMPMBX OPER NETMBX BYPASS |
If the EMPLOYEE_EXC account does not exist yet, create it using the following quotas and privileges:
Maxjobs: 0 Fillm: 200 Bytlm: 50000 Maxacctjobs: 0 Shrfillm: 0 Pbytlm: 0 Maxdetach: 0 BIOlm: 100 JTquota: 1024 Prclm: 2 DIOlm: 22 WSdef: 512 Prio: 4 ASTlm: 100 WSquo: 1024 Queprio: 0 TQElm: 100 WSextent: 4096 CPU: (none) Enqlm: 2000 Pgflquo: 60000 Authorized Privileges: GRPNAM GROUP SETPRV TMPMBX NETMBX Default Privileges: GRPNAM GROUP TMPMBX NETMBX |
For the EMPL_SERVER and EMPLOYEE_EXC user accounts, your system manager might need to increase some of the SYSGEN parameters. Your system manager should check the values of the following parameters whose names have the PQL_ prefix --- in particular, the PQL_MENQLM parameter:
PQL_DASTLM | PQL_DBIOLM | PQL_DBYTLM | PQL_DCPULM |
PQL_DDIOLM | PQL_DENQLM | PQL_DFILLM | PQL_DJTQUOTA |
PQL_DPGFLQUOTA | PQL_DPRCLM | PQL_DTQELM | PQL_DWSDEFAULT |
PQL_DWSEXTENT | PQL_DWSQUOTA | PQL_MASTLM | PQL_MBIOLM |
PQL_MBYTLM | PQL_MCPULM | PQL_MDIOLM | PQL_MENQLM |
PQL_MFILLM | PQL_MJTQUOTA | PQL_MPGFLQUOTA | PQL_MPRCLM |
PQL_MTQELM | PQL_MWSDEFAULT | PQL_MWSEXTENT | PQL_MWSQUOTA |
Authorized OpenVMS users cannot sign in to ACMS until the system manager has also authorized them as ACMS users. The User Definition Utility (UDU) provides the capability to do this. Using the UDU, the system manager creates an ACMS database named ACMSUDF.DAT, located in the SYS$SYSTEM directory. When adding a user to the database, the system manager also specifies the default menu the user sees upon signing in to ACMS.
To add a new user to the ACMS database, perform the following steps:
$ UDU :== $ACMSUDU |
$ @LOGIN.COM |
$ SET DEFAULT SYS$SYSTEM $ |
$ UDU UDU> |
UDU> ADD uname /MDB=xxx_FILES:EMPLOYEE_INFO_MENU UDU> |
UDU> SHOW uname User name: UNAME DISPLAY MENU Default menu: Default MDB: XXX_FILES:EMPLOYEE_INFO_MENU . . . UDU> |
UDU> ADD SYSTEM /AGENT UDU> |
Other UDU commands let the system manager tailor definitions for
individual users, change and remove user definitions, and change user
names. See Compaq ACMS for OpenVMS Managing Applications for more information about UDU.
12.4 Authorizing ACMS Terminals
Authorized ACMS users must sign in from terminals that have been authorized for access to ACMS. With the Device Definition Utility (DDU), the system manager creates a database named ACMSDDF.DAT that contains a list of authorized ACMS devices. In the simplest case, the system manager can use one DDU definition to authorize all terminals on your system, both local and remote, to use ACMS.
To use DDU to authorize terminals for users, follow these steps:
$ DDU :== $ACMSDDU |
$ @LOGIN.COM |
$ SET DEFAULT SYS$SYSTEM $ |
$ DDU DDU> |
DDU> ADD LT DDU> |
DDU> SHOW LT Device name: LT NOT CONTROLLED No Autologin Printfile DDU> |
Other DDU commands let the system manager tailor definitions for
individual terminals, change and remove device definitions, and change
device names. See Compaq ACMS for OpenVMS Managing Applications for more information about DDU.
12.5 Authorizing ACMS Applications
ACMS requires that the application database (.ADB) file reside in the directory associated with the logical name ACMS$DIRECTORY. Because this directory can be protected from unauthorized use, all application databases in ACMS$DIRECTORY remain secure.
Your application, EMPLOYEE_INFO_APPL_xxx.ADB, is currently located in your default OpenVMS directory. However, ACMS cannot find it there. You must install your application in ACMS$DIRECTORY after your system manager uses the Application Authorization Utility (AAU) to authorize both you and your application.
To use AAU to authorize tutorial users to install their applications in ACMS$DIRECTORY, follow these steps:
$ AAU :== $ACMSAAU |
$ @LOGIN.COM |
$ SET DEFAULT SYS$SYSTEM $ |
$ AAU AAU> |
AAU> ADD EMPLOYEE_INFO_APPL_xxx /ACL=(ID=[uname],ACCESS=CONTROL) %ACMSAAU-S-APPLADD, Appl name EMPLOYEE_INFO_APPL_XXX has been added to the database AAU> |
AAU> SHOW EMPLOYEE_INFO_APPL_xxx |
======================================================================= Appl name: EMPLOYEE_INFO_APPL_XXX Appl Username: * Server Usernames: * Access Control List: (IDENTIFIER=[ACMS,UNAME],ACCESS=CONTROL) ======================================================================= AAU> |
Other AAU commands let the system manager specify more characteristics
of individual applications, authorize all applications with the $ALL
keyword, remove authorizations, and change authorization names. See
Compaq ACMS for OpenVMS Managing Applications for more information about AAU.
12.6 Defining the ACMS$DIRECTORY Logical
The system manager needs to verify that the ACMS$DIRECTORY logical is associated with the device and directory where ACMS applications are to be stored. In the case of a new ACMS installation, the system manager may not yet have set up a protected directory for storing ACMS applications. If not, the system manager must first set up such a directory before defining the logical that points to it. Defining the ACMS$DIRECTORY logical must be done before the tutorial user can install the tutorial application.
If other ACMS applications are already on the tutorial user's system, the ACMS$DIRECTORY logical has been defined already. To verify the logical and define it, perform the following steps:
$ SHOW LOGICAL ACMS$DIRECTORY |
$ SET DEFAULT SYS$MANAGER $ @ACMS_POST_INSTALL.COM |
With the successful completion of this step, the tutorial user can proceed to install the application and run it.
This chapter describes how to install and run your tutorial
application. Before running the application, you perform steps to start
the ACMS system (if not running) and to start your specific
application. After running your application, you perform steps to stop
your application and stop the ACMS system (if no one else is using it).
13.1 Installing the Application
When you install an application, ACMS checks the ACMSAAF.DAT database to determine whether you are authorized to install that application. If so, ACMS copies the database to ACMS$DIRECTORY, deletes any earlier versions, and changes the user identification code (UIC) of the .ADB file to [1,4].
If you are not authorized to install the application, ACMS returns an error message indicating that you are not authorized. (Your system manager must have authorized you and your application with the AAU, as explained in Section 12.5.)
You install your application database file in ACMS$DIRECTORY by executing the ACMS/INSTALL command at DCL command level.
To install your application in ACMS$DIRECTORY, follow these steps:
$ SHOW LOGICAL ACMS$DIRECTORY |
$ SET DEFAULT udisk:[uname] |
$ ACMS/INSTALL EMPLOYEE_INFO_APPL_xxx |
%ACMSINS-S-ADBINS, Application UDISK:[UNAME]EMPLOYEE_INFO_APPL_XXX has been installed to ACMS$DIRECTORY $ |
Once all authorizations and installations are complete, you can start the ACMS system and start your application. To start and stop the ACMS system automatically with the OpenVMS system, you can include the ACMS/START and ACMS/STOP operator commands in your system startup and shutdown command files. However, in this tutorial, you start and stop ACMS interactively.
Any account from which the ACMS/START and ACMS/STOP commands are issued must have OpenVMS OPER privilege to execute these commands.
To start the ACMS system (if it is currently stopped), and to start your tutorial application, perform the following steps:
$ ACMS/SHOW SYSTEM |
$ ACMS/START SYSTEM |
$ ACMS/START APPLICATION EMPLOYEE_INFO_APPL_xxx |
The audit trail log (ATL) keeps a record of when the ACMS system starts
and stops, when users sign in, when applications and tasks start and
stop, and what errors occur. To display this log, you can run the Audit
Trail Report Utility (ATR) (see Section A.2).
13.3 Running the Application
If your system manager has authorized you to use ACMS, and has authorized your terminal, you can run your tutorial application by issuing the ACMS/ENTER command. When you enter this command, ACMS checks the authorization files to determine whether you and your terminal are authorized.
If you pass the authorization check, ACMS displays your default menu and waits for you to select a task. When you do, ACMS finds that task in the .TDB file and runs the task.
To run your tutorial application, perform the following steps:
$ ACMS/ENTER |
Figure 13-1 Selection Menu
You have now run your application and seen the results of choosing either the data entry task or the inquiry/update task. It is often helpful, especially in problem-solving, to know the various steps that ACMS takes to run one of these tasks. This information is available in Appendix A.
Appendix A also describes how to access various utilities that can help you solve problems that may occur when you run an ACMS application. These utilities include:
Previous | Next | Contents | Index |