HP OpenVMS Systems Documentation |
OpenVMS System Manager's Manual
5.2.7.12 Starting Up and Customizing the LAT Protocol SoftwareTo set up your node as a LAT service node and start the LAT protocol software on your system each time the system boots, add the SYSTARTUP_VMS.COM:
When the procedure executes this command, it invokes LAT$STARTUP.COM,
which in turn invokes the LAT$CONFIG and LAT$SYSTARTUP command
procedures. For more information, see Section 26.5.
Before starting the network, you must register your DECnet license and configure your network. See Chapter 23 for information about setting up DECnet network. If your system participates in a DECnet network, you might need to start the DECnet software each time your system boots:
If you are running a different network, you must run the appropriate startup files for the particular network protocol. For example, three common net stack startups are:
5.2.7.14 Starting the DIBOL Message ManagerEach node that will execute DIBOL programs must contain a line in SYS$STARTUP:SYSTARTUP_VMS.COM that executes the command procedure SYS$STARTUP:DBLSTRTUP.COM. This command procedure starts the DIBOL Message Manager, used by DIBOL programs as an intermediary in passing messages. SYSTARTUP_VMS.COM should contain a line as follows:
5.2.7.15 Defining the Number of Interactive UsersBy default, when the system starts up, it limits to 64 the number of interactive users allowed to log in. To change the default value for the number of interactive users that you permit to log in to your system at one time, define the symbol STARTUP$INTERACTIVE_LOGINS to be the maximum number of users in SYSTARTUP_VMS.COM as follows:
where n specifies the maximum number of interactive users that can log in at one time.
The maximum number of interactive users influences the service rating that the LAT software assigns to a service node. The LAT software uses a ratio of current users to maximum users in calculating a rating. An artificially high user limit results in a high service rating, indicating---erroneously---that the service node is more able to provide services. For information about LAT software, see Section 26.1.
5.3 Modifying Login Command Procedures to Customize User EnvironmentsIn addition to modifying site-specific startup command procedures, you can add commands to login command procedures to perform operations each time a user logs in. Note that although the examples in this section are for DCL (.COM) command procedures, you can substitute other file types to denote other interfaces such as POSIX.
As system manager, you create and maintain SYLOGIN.COM. This file is supplied on your distribution kit as a template, and contains commands that you can modify and add to as the needs of your site dictate. The template for SYSTARTUP_VMS.COM includes the following command line that assigns the logical name SYS$SYLOGIN to SYLOGIN.COM:
Each user creates and maintains a personal copy of the login command procedure LOGIN.COM. This file must be in the top-level directory for the user's account. You might need to help users set up a personal copy of LOGIN.COM.
See Section 7.7.1 for a sample SYLOGIN command file and a sample
LOGIN.COM procedure. Refer to the OpenVMS User's Manual for sample LOGIN.COM
procedures.
Startup databases contain information used to start up system software. For example, STARTUP.COM uses information in a startup database named STARTUP$STARTUP_VMS to start the OpenVMS operating system. It uses information in a startup database named STARTUP$STARTUP_LAYERED to start layered products. For more information about startup databases, see Section 5.4.1. You can use the STARTUP command of the System Management utility (SYSMAN) to customize startup databases as follows:
The following sections describe these tasks.
Before performing these tasks, it helps to understand SYSMAN. For more
information about SYSMAN, see Section 2.3.1. You should also understand
startup databases, in particular, the layered product startup database.
For information, see Section 5.4.1 and Section 5.4.2.
Three startup database files are provided with the operating system, in the location defined by the logical name SYS$STARTUP:
If you have site-specific software that you want to manage separately
from your layered products, you can use SYSMAN to create an additional
startup database.
The layered product startup database file (referred to by the logical name STARTUP$STARTUP_LAYERED) lists the files and command procedures that start site-specific products and layered products. It contains the following characteristics of each startup file:
5.4.3 Specifying the Current Startup DatabaseWith SYSMAN, the current database is the one that will be the target for the SYSMAN commands. You can display or modify STARTUP$STARTUP_LAYERED or database files that you create. You can display STARTUP$STARTUP_VMS, but you should not modify it. By default, the layered product database is the current database. To perform commands on another database, specify it as the current database by entering the STARTUP SET DATABASE command in the following format:
where database specifies the name of the database.
5.4.4 Showing the Name of the Target Startup DatabaseTo display which database is the target database, enter the STARTUP SHOW DATABASE command.
5.4.5 Showing the Contents of a Startup DatabaseTo display the contents of the current database, enter the STARTUP SHOW FILE command. You can specify various qualifiers for this command to control the amount of information displayed. For more information, refer to the OpenVMS System Management Utilities Reference Manual.
5.4.6 Adding Startup Files to a Startup DatabaseTo add a file to the layered product startup database, use the STARTUP ADD command. The /MODE qualifier specifies the mode of execution for the file. The /PHASE qualifier specifies the phase within system startup when the file is to be executed. For information about the layered product startup phases, see Section 5.4.2. Do not use this command to modify STARTUP$STARTUP_VMS; this command procedure starts the operating system. The STARTUP MODIFY command requires read and write access to the startup database. When adding layered product startup files using SYSMAN, be sure that all requisite components occur in a previous phase. Enter the STARTUP ADD command with appropriate qualifiers. For information about the valid qualifiers, refer to the SYSMAN section of the OpenVMS System Management Utilities Reference Manual.
5.4.7 Changing Information Associated with a Startup FileOnce a file is included in the layered product startup database, you can modify the information associated with the file by entering the STARTUP MODIFY command. (The command requires read and write access to the startup database.)
You can specify any of the following qualifiers to specify the information that is to be changed:
For information about the qualifiers for this command, refer to the OpenVMS System Management Utilities Reference Manual.
5.4.8 Deleting a Record from a Startup DatabaseDeleting a record from a startup database prevents a product from starting up. To delete a record, use the STARTUP REMOVE FILE command. This command leaves the startup file intact, but the file is not used in system startup. (The command requires read and write access to the startup database.)
To delete a record from a startup database, enter a STARTUP REMOVE FILE command in the following format:
where filespec specifies the name of the startup file to be removed.
5.4.9 Preventing a Startup File from ExecutingTo temporarily prevent a startup file from executing, enter the STARTUP DISABLE command. You can specify the /NODE qualifier to disable the startup file on certain nodes. This command requires read and write access to the startup database. Do not use this command to modify STARTUP$STARTUP_VMS. To delete a record from a startup database, enter the STARTUP DISABLE command as follows:
where filespec specifies the name of the startup file to be disabled.
5.4.10 Allowing a Previously Disabled Startup File to ExecuteIf you have disabled a startup file from executing, you can enable it again by using the STARTUP ENABLE command. You can specify the /NODE qualifier to enable the startup file on certain nodes. This command requires read and write access to the startup database. Do not use this command to modify STARTUP$STARTUP_VMS. To enable a previously disabled file, enter the STARTUP ENABLE FILE command in the following format:
where filespec specifies the name of the file to be enabled.
5.5 Registering Images that Have System Version DependenciesApplications that run on the OpenVMS operating system sometimes depend on the internal interfaces of a previous version of the operating system. For example, an application might call system routines, reference system data cells, or system data structures. New versions of the operating system might include changes that can break applications depending on those interfaces. Registering an image records information about the image in a file called the image registry. The image activator, INSTALL, and SYSGEN do not check the versions of images that are recorded in the image registry. Image registry allows you to continue to run application images (including main images, shared libraries, and device drivers) that depend on the internal interfaces of a previous version of the operating system. The Image Registry facility allows you to register different versions of an image independently. It also allows you to deregister, analyze, and show images in the image registry.
|