home *** CD-ROM | disk | FTP | other *** search
/ ftp.pasteur.org/FAQ/ / ftp-pasteur-org-FAQ.zip / FAQ / dec-faq / vms / part2 < prev    next >
Encoding:
Text File  |  2001-10-03  |  96.6 KB  |  2,225 lines

  1. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!news.cpqcorp.net!not-for-mail
  2. Newsgroups: comp.os.vms,comp.sys.dec,vmsnet.alpha,vmsnet.misc,comp.answers,news.answers
  3. Distribution: world
  4. X-Newsreader: mxrn 6.18-32B
  5. References:  <pkqu7.957$YP.25608@news.cpqcorp.net>
  6. From: hoffman@xdelta.zko.dec.nospam (Hoff Hoffman)
  7. Reply-To: hoffman@xdelta.zko.dec.nospam
  8. Followup-To: poster
  9. Approved: news-answers-request@mit.edu
  10. Expires: 2 Dec 2001 00:00:00 GMT
  11. References: <92irts$f4j$1@mailint03.im.hou.compaq.com>
  12. Subject: OpenVMS Frequently Asked Questions (FAQ), Part 2/5
  13. Summary: This posting contains answers to frequently asked questions about
  14.         the OpenVMS operating system from Compaq Computer Corporation, and
  15.         the computer systems on which it runs.
  16. Lines: 2202
  17. Message-ID: <qmqu7.958$YP.25685@news.cpqcorp.net>
  18. Date: Tue, 02 Oct 2001 21:31:02 GMT
  19. NNTP-Posting-Host: 16.32.80.251
  20. X-Complaints-To: abuse@Compaq.com
  21. X-Trace: news.cpqcorp.net 1002058262 16.32.80.251 (Tue, 02 Oct 2001 14:31:02 PDT)
  22. NNTP-Posting-Date: Tue, 02 Oct 2001 14:31:02 PDT
  23. Organization: Compaq Computer Corporation
  24. Xref: senator-bedfellow.mit.edu comp.os.vms:311562 comp.sys.dec:89397 vmsnet.alpha:11482 vmsnet.misc:6280 comp.answers:47271 news.answers:216434
  25.  
  26. Archive-name: dec-faq/vms/part2
  27. Posting-Frequency: quarterly
  28. Last-modified: 2 Oct 2001
  29. Version: VMS-FAQ-2.TXT(7)
  30.  
  31. This is the OpenVMS Frequently Asked Questions Part 2/5. 
  32. Please see Part 1/5 for administrivia, indexing, archiving, etc.
  33.  
  34.  
  35. ------------------------------------------------------------
  36. MGMT1.  What is an installed image?
  37.  
  38. The term "install" has two distinct meanings in OpenVMS.  The first relates to
  39. "installing a product", which is done with either the SYS$UPDATE:VMSINSTAL.COM
  40. command procedure or the POLYCENTER Software Installation (PCSI) utility 
  41. (PRODUCT command).  The second meaning relates to the use of the INSTALL
  42. utility, which is what concerns us here.
  43.  
  44. The INSTALL utility is used to identify to OpenVMS a specific copy of an
  45. image, either executable or shareable, which is to be given some set of
  46. enhanced properties.  For example, when you issue the SET PASSWORD command,
  47. the image SYS$SYSTEM:SETP0.EXE is run.  That image needs to have elevated
  48. privileges to perform its function.
  49.  
  50. The other important attribute is /SHARED.  This means that shareable parts
  51. of the image (typically read-only code and data) are loaded into memory
  52. only once and are shared among all users on a system.  Executable images
  53. can be installed /SHARED as well as shareable library images.  (The term
  54. "shareable" has dual meanings here, too.  See the OpenVMS Programming
  55. Concepts Manual for further details.)
  56.  
  57. It's important to note that there is no such thing as "installing a shareable
  58. image with privileges".  The INSTALL utility will let you do it, but the
  59. privileges you specify will be ignored.  To have a callable routine run with
  60. enhanced privileges that are not available to its caller, you must construct
  61. your routines as "user-written system services" and install the shareable
  62. image with the /PROTECT qualifier.  See the OpenVMS Programming Concepts
  63. Manual for more information on user-written system services.  Note also
  64. that in many cases the need to grant privileges to an image can be replaced
  65. with the use of the "Protected Subsystems" feature that grants a rights
  66. identifier to an image.  See the OpenVMS Guide to System Security for
  67. information on Protected Subsystems.
  68.  
  69. ------------------------------------------------------------
  70. MGMT2.  Are there any known viruses for OpenVMS?
  71.  
  72. Viruses are very common on PCs because the PC operating systems such as MS-DOS
  73. and MacOS do not implement any sort of scheme to protect the operating system
  74. or the file system against hostile action by programs.  On these operating
  75. systems, any running program can subvert the operating system and take over
  76. the hardware, at which point it can do anything it wishes, including hiding
  77. copies of itself in other programs or in the file system.
  78.  
  79. This is unlikely on OpenVMS, Unix, and MVS for three reasons.  First, the 
  80. operating system runs in a privileged mode in memory that is protected 
  81. against modification by normal user programs.  Any old program cannot 
  82. take over the hardware as it can on PC operating systems.  Secondly,
  83. OpenVMS, Unix, and MVS have file systems that can be set up so that
  84. non-privileged programs cannot modify system programs and files on disk.  
  85. Both of these protection schemes mean that traditional PC virus schemes 
  86. don't work on these OSes.  Third, typical applications and configurations
  87. tend to prevent the uncontrolled execution of untrusted code as part of
  88. email messages or web access.
  89.  
  90. It is possible for OpenVMS, etc., to be infected by viruses, but to do so, 
  91. the program containing the virus must be run from a user account that has
  92. amplified privileges.  As long as the system administrator is careful that
  93. only trusted applications are run from such accounts (and this is generally
  94. the case), there is no danger from viruses.
  95.                     [Paul Winalski]
  96.                     [Stephen Hoffman]
  97.  
  98. To protect against viruses and other attempts at system interference or
  99. misuse, follow the recommendations in the "OpenVMS Guide to System Security". 
  100. You may also want to consider optional software products which can monitor
  101. your system for intrusion or infection attempts.  Computer Associates (CA)
  102. offers various products in this area.
  103.  
  104. Rocksoft offers the Veracity data integrity tool (for info, send mail to
  105. demo@rocksoft.com).
  106.  
  107. [Contributions to this list welcomed]
  108.  
  109. ------------------------------------------------------------
  110. MGMT3.  How do I mount an ISO-9660 CD on OpenVMS?
  111.  
  112. ISO-9660 support was added in the following releases:
  113.  
  114.     OpenVMS VAX V6.0
  115.     OpenVMS AXP V1.5
  116.  
  117. An add-on ISO-9960 kit was also available for OpenVMS VAX V5.5, 
  118. V5.5-1, V5.5-2, and V5.5-2H4.  This requires the installation
  119. of the F11CD kit from the InfoServer CD, from the Consolidated 
  120. Distribution CD under the InfoServer area, Customer Support Center
  121. kit CSCPAT #1071012, or the F11CD ECO kit.  (Upgrades to V6 and
  122. later are strongly recommended.)
  123.  
  124. By default, OpenVMS senses the specific type of media.  If you
  125. are working with dual-format media -- media that uses both the
  126. ODS-2 and ISO-9660 formats on the same CD-ROM -- then MOUNT will
  127. first detect and then default to the ODS-2 format.  If you wish 
  128. to override this and explicitly mount the media using ISO-9660, 
  129. use the command:
  130.  
  131.     $ MOUNT/MEDIA_FORMAT=CDROM  device-name[:] [volume-label]
  132.  
  133. In most circumstances, you will not need nor will you want to 
  134. include an explicit /MEDIA_FORMAT specification.  For further
  135. information, please refer to the OpenVMS MOUNT Utility Manual.
  136. Particularly note the information on the MOUNT /MEDIA_FORMAT 
  137. and /UNDEFINED_FAT qualifiers.
  138.  
  139. The MOUNT /UNDEFINED_FAT qualifier is of interest because
  140. ISO-9660 media can be mastered on a wide variety of operating
  141. system platforms, and these platforms do not necessarily support
  142. the semantics needed for files containing predefined record formats.
  143. The /UNDEFINED_FAT allows you to specify the default attributes for
  144. files accessed from volumes using the ISO-9660 format.
  145.  
  146. An example which works for most CD-ROMs is:
  147.  
  148.     $ MOUNT/MEDIA_FORMAT=CDROM/UNDEFINED_FAT=STREAM:2048 DUA0: FREEWARE
  149.  
  150. This particular MOUNT command forces access to the CD-ROM media 
  151. using the ISO-9660 volume structure, and the use of the MOUNT
  152. /UNDEFINED_FAT qualifier causes any file whose file attributes
  153. are "undefined" to be returned with "stream" attributes with a 
  154. maximum record length 2048.
  155.  
  156. On OpenVMS, the ISO-9660 format is (internally) considered to be
  157. the ODS-3 file structure, while the High Sierra extensions to
  158. the standard are considered to be the ODS-4 file structure.  The 
  159. Rock Ridge extensions are not currently available on OpenVMS.
  160.  
  161.                     [Jim Dunham]
  162.                     [Stephen Hoffman]
  163.  
  164. For details on ODS-1 and ODS-2 file specifications, see Kirby
  165. McCoy's VMS File System Internals Manual (published by Digital 
  166. Press, but potentially out of print), and see:
  167.  
  168.   http://pdp-11.trailing-edge.com/www/ods1.txt
  169.   http://www.openvms.compaq.com/freeware/freeware50/ods2/
  170.  
  171.  
  172. ------------------------------------------------------------
  173. MGMT4.  How do I extract the contents of a PCSI kit?
  174.  
  175. A growing number of OpenVMS products are being provided in PCSI
  176. (POLYCENTER Software Installation) kits which are installed using the
  177. PRODUCT INSTALL command.  These are alternatives to or replacement for
  178. VMSINSTAL kits which were BACKUP savesets.  PCSI kits are not BACKUP
  179. savesets and are structured differently from VMSINSTAL kits.
  180.  
  181. If you want to extract product files from a PCSI kit, create a directory
  182. into which the kit should be expanded and use the following command:
  183.  
  184.     $ PRODUCT COPY prodname /SOURCE=[where-the-kit-is] -
  185.       /DEST=[destination-directory] /FORMAT=REFERENCE
  186.  
  187. A PCSI kit file has a file specification of the following form:
  188.  
  189.     DEC-VAXVMS-FORTRAN-V0603-141-1.PCSI
  190.  
  191. In this example, "FORTRAN" is the "prodname".  PCSI will expand the kit
  192. files into the directory you specify and subdirectories beneath such
  193. as [SYSEXE], [SYSLIB], etc., reflecting the eventual destination of files
  194. found there.  Most of the actual product files (images, etc.) will be in
  195. the subdirectories.  In the top-level directory will be a file with the
  196. file type PCSI$DESCRIPTION that specifies where various files should go.
  197. For more details, see the POLYCENTER Software Installation Developer's 
  198. Guide for OpenVMS, which can be found in the OpenVMS documentation on
  199. the Consolidated Online Documentation CD-ROM.
  200.  
  201. ------------------------------------------------------------
  202. MGMT5.  I've forgotten the SYSTEM password - what can I do?
  203.  
  204. If you need to break into an OpenVMS system because you do not have
  205. access to any privileged passwords, such as the password to the SYSTEM
  206. username, you  will need physical access to the system console, and you
  207. will need to perform a conversational reboot.  Here are the steps:
  208.  
  209.   1.  Halt the system.  Exactly how this is done depends on the
  210.       specific system model: Depending on the model, this can involve
  211.       pressing the <HALT> button, entering <CTRL/P> on the console, or
  212.       pressing the <BREAK> key on the console.
  213.  
  214.   2.  At the >>> console prompt, use a console command to boot into the
  215.       SYSBOOT> utility.  (SYSBOOT allows conversational changes to system 
  216.       parameters.)  The syntax for the conversational bootstrap varies by
  217.       system model -- this typically involves specifying a flag of 1, for
  218.       example:
  219.  
  220.         VAX:
  221.           B/1
  222.           B/R5:1
  223.           @GENBOO
  224.  
  225.         Alpha:
  226.           b -flags 0,1
  227.  
  228.       If your system has a non-zero system root (such as root SYSE, shown
  229.       here), you will have to use a console command such as the following:
  230.  
  231.         VAX:
  232.           B/E0000001
  233.           B/R5:E0000001
  234.           @<console media procedure name varies widely>
  235.  
  236.         Alpha:
  237.           b -flags e,1
  238.     
  239.       If your system has a hardware password (various systems support
  240.       a password that prevents unauthorized access to the console), you
  241.       will need to know theis password and will need to enter it using
  242.       the LOGIN command at the console.  If you get an "Inv Cmd" error
  243.       trying to perform a conversational bootstrap, and you do not have
  244.       the hardware console password for the console LOGIN command, you
  245.       are stuck -- you will need to call for hardware service in order
  246.       to reset the hardware console password.  The syntax used for the
  247.       console password mechanism varies.
  248.  
  249.   3.  Once at the SYSBOOT> prompt, request that OpenVMS read the system
  250.       startup commands directly from the system console, that the window
  251.       system (if any) not be started, and that OpenVMS not record these 
  252.       particular parameter changes for subsequent system reboots:
  253.  
  254.         SET/STARTUP OPA0:
  255.         SET WINDOW_SYSTEM 0
  256.         SET WRITESYSPARAMS 0
  257.         CONTINUE
  258.  
  259.   4.  At the $ prompt, the system will now be accepting startup commands
  260.       directly from the console.  Type the following two DCL commands:
  261.  
  262.         SPAWN
  263.         @SYS$SYSTEM:STARTUP
  264.  
  265.       The result of these two commands will be the normal system startup,
  266.       but you will be left logged in on the console, running under a
  267.       privileged username.  Without the use of the SPAWN command, you
  268.       would be logged out when the startup completes.
  269.  
  270.       If necessary, you can skip the invocation of the system startup
  271.       temporarily, and perform tasks such as egistering license PAKs 
  272.       or various other "single-user" maintenance operations.
  273.  
  274.   5.  Use the following commands to reset the SYSTEM password:
  275.  
  276.         SET DEFAULT SYS$SYSTEM:  ! or wherever SYSUAF.DAT resides
  277.         RUN SYS$SYSTEM:AUTHORIZE
  278.         MODIFY SYSTEM /PASSWORD=newpassword
  279.         EXIT
  280.  
  281.       These steps will change the SYSTEM password to the specified new
  282.       newpassword password value.
  283.  
  284.    Reboot the system normally -- the SYSTEM password should now be set to
  285.    the value you specified in Step 5.
  286.  
  287.    Some people will suggest a method using the UAFALTERNATE SYSGEN parameter.
  288.    This approach is not always reliable and is not recommended, as there can
  289.    easily be an alternate user authorization file configured on the system.
  290.  
  291.    For further information on emergency startup and shutdown, as well as for
  292.    the official OpenVMS documentation on how to change the SYSTEM password
  293.    from the console in an emergency, please see the OpenVMS System Manager's
  294.    Manual in the OpenVMS documentation set.
  295.  
  296.    You can also use the conversational bootstrap technique shown above (the
  297.    steps through Step 3) to alter various system parameters.  At the SYSBOOT>
  298.    prompt, you can enter new parameters values:
  299.  
  300.      SHOW MAXPROCESSCNT
  301.      SET . 64
  302.      CONTINUE
  303.  
  304.    The "." is a shorthand notation used for the last parameter examined.
  305.  
  306.                     [Stephen Hoffman]
  307.  
  308. ------------------------------------------------------------
  309. MGMT6.  How do I connect a PostScript printer via TCP/IP?
  310.  
  311. Using UCX as the TCP/IP stack, it is possible to setup queues using the 
  312. UCX$TELNETSYM in order to print to postscript printers.  This assumes 
  313. however that the printer itself can convert whatever is passed to it into 
  314. something intelligible.  As an example, if the printer has an IP address 
  315. of 123.456.789.101 and jobs should be passed to port 9100 then :
  316. $ INITIALIZE/QUEUE/ON="123.456.789.101:9100"/PROCESSOR=UCX$TELNETSYM  -
  317.         my_ip_queue
  318.  
  319. The port number of 9100 is typical of HP JetDirect cards but may be 
  320. different for other manufacturers cards.
  321.  
  322. As a better alternative, DCPS Version 1.4 and later support IP queues 
  323. using either Compaq TCP/IP Services for OpenVMS software or Cisco 
  324. Multinet for OpenVMS.  The usage of this type of interface is documented 
  325. in the Release Notes and the DCPS$STARTUP.TEMPLATE file.
  326.  
  327. For general and additional (non-Postscript) IP printing information, see:
  328.   http://www.openvms.compaq.com/wizard/ topic (1020)
  329.   http://www.wotsit.org/
  330.                     [Steve Reece]
  331.                                         [Arne Vajh°j]
  332.  
  333. ------------------------------------------------------------
  334. MGMT7 moved to TIME10.
  335.  
  336. ------------------------------------------------------------
  337. MGMT8 removed. superceded by TIME section
  338.  
  339. ------------------------------------------------------------
  340. MGMT9.  How do I change the node name of an OpenVMS System?
  341.  
  342.   The first step is to get a BACKUP of the system disk before making
  343.   any changes -- use the system disk backup procedures as documented
  344.   in the OpenVMS System Management Manual, making sure to use the
  345.   procedures and commands appropriate for the system disk.
  346.  
  347.   Changing the node name involves a number of steps -- the node name
  348.   tends to be imbedded in a number of different data files around the
  349.   system.
  350.  
  351.     Update the SCSNODE in MODPARAMS.DAT, and then run AUTOGEN as
  352.       far as the SETPARAMS phase.  (Do not reboot yet.)
  353.     Modify the DECnet node name.  (NETCONFIG is the DECnet Phase
  354.       IV tool, and NET$CONFIGURE is the DECnet-Plus tool.)
  355.     Modify the IP node name.  (The TCP/IP Services tool is UCX$CONFIG
  356.       prior to V5.0, and is TCPIP$CONFIG in V5.0 and later releases.)
  357.     Modify the host node name on the various queues in the queue
  358.       database.  (each queue has a host name, and it defaults to
  359.       the SCS node name of the queue's host system.  See the command
  360.       INIT/QUEUE/ON=node for information.)
  361.     Modify the node name saved in any application databases, or any
  362.       local node-conditional operations present in the site-specific
  363.       system startup, etc.  (SEARCH for the node name, specifying
  364.       all types of files.)
  365.     Rename the SYS$NODE_oldnodename rightslist identifier to match
  366.       the new name.  (Do not change the binary value of this
  367.       identifier.)
  368.     Reset any license PAKs that are restricted to the old node name
  369.       to the new node name.
  370.     If the node name is part of a disk volume label, see MGMT19.
  371.     Reboot the node or -- if in a VMScluster -- reboot the whole
  372.       VMScluster.  (This tends to catch any errors immediately.)
  373.  
  374.   There are likely a few other areas where the nodename will be stored.
  375.  
  376.   If the system is configured in a VMScluster and you change *either*
  377.   the SCSNODE or the SCSSYSTEMID -- but *not* both values -- then you
  378.   will have to reboot the entire VMScluster.  (The VMScluster remembers
  379.   the mapping between these two values, and will assume that a
  380.   configuration problem has occured if a mismatched pair appears, and
  381.   will refuse to let a node with a mismatched pair join the VMScluster.)
  382.  
  383.   To calculate the correct SCSSYSTEMID value, multiply the DECnet Phase 
  384.   IV area number by 1024, and add the DECnet Phase IV node number.  For 
  385.   example, the SCSSYSTEMID value for a DECnet node with address 19.22 is 
  386.   19478.  ((19 * 1024) + 22 = 19478)
  387.  
  388.   I expect I may have missed one or two configuration tools (or more!)
  389.   that are needed at your site -- the node name tends to get stored all
  390.   over the place, in layered products, and in local software...
  391.  
  392.                     [Stephen Hoffman]
  393.  
  394. ------------------------------------------------------------
  395. MGMT10. What is the correct value for EXPECTED_VOTES in a VMScluster?
  396.  
  397. The VMScluster connection manager uses the concept of votes and quorum
  398. to prevent disk and memory data corruptions -- when sufficient votes are
  399. present for quorum, then access to resources is permitted.  When sufficient
  400. votes are not present, user activity will be blocked.  The act of blocking
  401. user activity is called a "quorum hang", and is better thought of as a
  402. "user data integrity interlock".  This mechanism is designed to prevent
  403. a partitioned VMScluster, and the resultant massive disk data corruptions.
  404.  
  405. On each OpenVMS node in a VMScluster, one sets two values in SYSGEN: VOTES,
  406. and EXPECTED_VOTES.  The former is how many votes the node contributes to
  407. the VMScluster.  The latter is the total number of votes expected when the
  408. full VMScluster is bootstrapped.
  409.  
  410. Some sites erroneously attempt to set EXPECTED_VOTES too low, believing
  411. this will allow when only a subset of voting nodes are present in a
  412. VMScluster.  It does not.  Further, an erroneous setting in EXPECTED_VOTES
  413. is automatically corrected once VMScluster connections to other nodes are
  414. established, meaning user data is at risk of severe corruption only during
  415. the initial system bootstrap.
  416.  
  417. One can operate a VMScluster with one, two, or many voting nodes.  With
  418. any but the two-node configuration, keeping a subset of the nodes active
  419. when some nodes fail can be easily configured.  With the two-node
  420. configuration, one must use a primary-secondary configuration (where the
  421. primary has all the votes), a peer configuration (where when either node
  422. is down, the other hangs), or (preferable) a shared quorum disk.
  423.  
  424. Use of a quorum disk does slow down VMScluster transitions somewhat --
  425. the addition of a third voting node that contributes the vote(s) that
  426. would be assigned to the quorum disk makes for faster transitions -- but
  427. the use of a quorum disk does mean that either node in a two-node VMScluster
  428. configuration can operate when the other node is down.
  429.  
  430. If you choose to use a quoum disk, a QUORUM.DAT file will be automatically
  431. created when OpenVMS first boots and when a quorum disk is specified -- 
  432. well, the QUORUM.DAT file will be created when OpenVMS is booted without 
  433. also needing the votes from the quorum disk.
  434.  
  435. In a two-node VMScluster with a shared storage interconnect, typically each
  436. node has one vote, and the quorum disk also has one vote.  EXPECTED_VOTES
  437. is set to three.
  438.  
  439. Using a quorum disk on a non-shared interconnect is unnecessary -- the
  440. use of a quorum disk does not provide any value, and the votes assigned
  441. to the quorum disk should be assigned to the OpenVMS host serving access
  442. to the disk.
  443.  
  444. For information on quorum hangs, see the OpenVMS documentation.  For
  445. information on changing the EXPECTED_VOTES value on a running system,
  446. see the SET CLUSTER/EXPECTED_VOTES command, and see the OpenVMS system
  447. console documentation for the processor-specific console commands used
  448. to trigger the IPC (Interrrupt Priority Level %x0C; IPL C) handler.
  449. The IPC handler can be used to clear a quorum hang, and to clear disk
  450. mount verification hangs.
  451.  
  452. The quorum scheme is a set of "blade guards" deliberately implemented 
  453. by OpenVMS Engineering to provide data integrity -- remove these blade
  454. guards at your peril.  OpenVMS Engineering did not implement the quorum
  455. mechanism to make your life more difficult -- quorum was implemented to
  456. keep your data from getting scrambled. 
  457.  
  458.                         [Stephen Hoffman]
  459.  
  460. ------------------------------------------------------------
  461. MGMT11. Why doesn't OpenVMS see the new memory I just added?
  462.  
  463. When adding memory to an OpenVMS system, one should check for an existing
  464. definition of the PHYSICALPAGES (OpenVMS VAX) or PHYSICAL_MEMORY (OpenVMS
  465. Alpha) parameter in the SYS$SYSTEM:MODPARAMS.DAT parameter database, use
  466. a text editor to reset the value in the file to the new correct value as
  467. required, and then perform the following command:
  468.  
  469.   $ @SYS$UPDATE:AUTOGEN GETDATA REBOOT FEEDBACK
  470.  
  471. This AUTOGEN command will reset various system parameters based on recent
  472. system usage (FEEDBACK), and it will reset the value for the PHYSICALPAGES
  473. parameter to the new value.  It will also reboot the OpenVMS system.
  474.   
  475. PHYSICALPAGES and PHYSICAL_MEMORY can also be used to deliberately lower
  476. the amount of memory available for use by OpenVMS.  This ability can be
  477. useful in a few specific circumstances, such as testing the behaviour of
  478. an application in a system environment with a particular (lower) amount
  479. of system memory available.
  480.  
  481. PHYSICALPAGES and PHYSICAL_MEMORY can be set to -1 (on OpenVMS Alpha) or 
  482. (better and simpler) the entry can be removed from the MODPARAMS.DAT file, 
  483. to indicate that all available memory should be used.
  484.  
  485.                         [Stephen Hoffman]
  486.  
  487. ------------------------------------------------------------
  488. MGMT12. How do I write a BACKUP saveset to a remote tape?
  489.  
  490. How to do this correctly was described at DECUS a long time ago. On the
  491. node with the tape drive, create SAVE-SET.FDL:
  492.  
  493. RECORD
  494.         FORMAT                  fixed
  495.         SIZE                    8192
  496.  
  497. Then create BACKUP_SERVER.COM:
  498.  
  499.   $ !
  500.   $ ! BACKUP_SERVER.COM - provide remote tape service for BACKUP.
  501.   $ !
  502.   $ set noon
  503.   $ set rms/network=16
  504.   $ allocate mka500 tapedev
  505.   $ mount/nounload/over:id/block=8192/assist tapedev
  506.   $ convert/fdl=SAVE-SET sys$net tapedev:save-set.
  507.   $ dismount/unload tapedev
  508.   $ stop/id=0
  509.  
  510.  
  511. On the node where you want to do the backup, use the DCL command:
  512.  
  513.   $ backup -
  514.      srcfilespec -
  515.      node"user pwd"::"task=backup_server"/block=8192/save
  516.  
  517. The only thing that doesn't completely work here is multi-reel savesets.
  518. Since the tape is being written through RMS and the magtape ACP, BACKUP
  519. won't see the reel switch and will split an XOR group across the reel
  520. boundary. As far as I remember, BACKUP will be willing to read such a
  521. multi-reel save set (directly, not over the net) since the XOR blocks
  522. are simply ignored on read, but it definitely wouldn't be able to do a
  523. recovery across the reel boundary.
  524.  
  525. Unfortunately BACKUP can't read tapes over the network because the RMS
  526. file attributes on a network task access look wrong (variable length
  527. records).
  528.                         [Stephen Hoffman]
  529.  
  530. ------------------------------------------------------------
  531. MGMT13. Tell me about SET HOST/DUP and SET HOST/HSC
  532.  
  533. The OpenVMS DCL commands SET HOST/DUP and SET HOST/HSC are used to connect 
  534. to storage controllers via the Diagnostics and Utility Protocol (DUP).  These
  535. commands require that the FYDRIVER device driver be connected.  This device
  536. driver connection is typically performed by adding the following command(s) 
  537. into the system startup command procedure:
  538.  
  539.     On OpenVMS Alpha:
  540.       $ RUN SYS$SYSTEM:SYSMAN
  541.       SYSMAN> IO CONNECT FYA0/NOADAPTER/DRIVER=SYS$FYDRIVER
  542.  
  543.     On OpenVMS VAX:
  544.       $ RUN SYS$SYSTEM:SYSGEN
  545.       SYSGEN> CONNECT FYA0/NOADAPTER
  546.  
  547. Alternatives to the DCL SET HOST/DUP command include the console >>> SET HOST
  548. command available on various mid- to recent-vintage VAX consoles:
  549.  
  550.     Access to Parameters on an Embedded DSSI controller:
  551.       >>> SET HOST/DUP/DSSI[/BUS:{0:1}] dssi_node_number PARAMS
  552.  
  553.     Access to Directory of tools on an Embedded DSSI controller:
  554.       >>> SET HOST/DUP/DSSI[/BUS:{0:1}] dssi_node_number DIRECT
  555.  
  556.     Access to Parameters on a KFQSA DSSI controller:
  557.       >>> SHOW UQSSP ! to get port_controller_number PARAMS
  558.       >>> SET HOST/DUP/UQSSP port_controller_number PARAMS
  559.  
  560. These console commands are available on most MicroVAX and VAXstation 3xxx
  561. series systems, and most (all?) VAX 4xxx series systems.  For further
  562. information, see the system documentation and -- on most VAX systems -- see
  563. the console HELP text.
  564.  
  565. EK-410AB-MG, _DSSI VAXcluster Installation and Troubleshooting_, is a good
  566. resource for setting up a DSSI VMScluster on OpenVMS VAX nodes. (This manual
  567. predates coverage of OpenVMS Alpha systems, but gives good coverage to all
  568. hardware and software aspects of setting up a DSSI-based VMScluster -- and
  569. most of the concepts covered are directly applicable to OpenVMS Alpha systems. 
  570. This manual specifically covers the hardware, which is something not covered
  571. by the standard OpenVMS VMScluster documentation.)
  572.  
  573. Also see MGMT58.
  574.                         [Stephen Hoffman]
  575.  
  576. ------------------------------------------------------------
  577. MGMT14. How do I install DECnet Phase IV on VMS 7.1?
  578.  
  579. On OpenVMS V7.1, all DECnet binaries were relocated into separate installation
  580. kits -- you can selectively install the appropriate network: DECnet-Plus
  581. (formerly known as DECnet OSI), DECnet Phase IV, and Compaq TCP/IP Services
  582. (often known as UCX).
  583.  
  584. On OpenVMS versions prior to V7.1, DECnet Phase IV was integrated, and there
  585. was no installation question.  You had to install the DECnet-Plus (DECnet OSI)
  586. package on the system, after the OpenVMS upgrade or installation completed.
  587.  
  588. During an OpenVMS V7.1 installation or upgrade, the installation procedure
  589. will query you to learn if DECnet-Plus should be installed. If you are
  590. upgrading to V7.1 from an earlier release or are installing V7.1 from a
  591. distribution kit, simply answer "NO" to the question asking you if you want
  592. DECnet-Plus.  Then -- after the OpenVMS upgrade or installation completes --
  593. use the PCSI PRODUCT INSTALL command to install the DECnet Phase IV binaries
  594. from the kit provided on the OpenVMS software distribution kit.
  595.  
  596. If you already have DECnet-Plus installed and wish to revert, you must
  597. reconfigure OpenVMS.  You cannot reconfigure the "live" system, hence you must
  598. reboot the system using the V7.1 distribution CD-ROM.  Then select the DCL
  599. ($$$ prompt) option.  Then issue the commands:
  600.  
  601.     $$$ DEFINE/SYSTEM PCSI$SYSDEVICE DKA0:
  602.     $$$ DEFINE/SYSTEM PCSI$SPECIFIC DKA0:[SYS0.]
  603.     $$$ PRODUCT RECONFIGURE VMS /REMOTE/SOURCE=DKA0:[VMS$COMMON]
  604.  
  605. The above commands assume that the target system device and system root are
  606. "DKA0:[SYS0.]".  Replace this with the actual target device and root, as
  607. appropriate.  The RECONFIGURE command will then issue a series of prompts. 
  608. You will want to reconfigure DECnet-Plus off the system, obviously.  You will
  609. then want to use the PCSI command PRODUCT INSTALL to install the DECnet Phase
  610. IV kit from the OpenVMS distribution media.
  611.  
  612. Information on DECnet support, and on the kit names, is included in the
  613. OpenVMS V7.1 installation and upgrade documentation.
  614.  
  615.                         [Stephen Hoffman]
  616.  
  617. ------------------------------------------------------------
  618. MGMT15. How do I change the text in a user's UIC identifier?
  619.  
  620. The text translations of the numeric User Identification Code (UIC) are based
  621. on identifiers present in the OpenVMS rightslist.  Documentation on this area
  622. is included in the _Guide to OpenVMS System Security_ manual.
  623.  
  624. To control the identifiers shown for a user's UIC, you use AUTHORIZE. Each
  625. user has an associated group identifier, and an identifier specific to the
  626. user.  And each user should have a unique UIC.
  627.  
  628. To alter the text of a user or group identifier, use commands such as:
  629.  
  630.     $ RUN SYS$SYSTEM:AUTHORIZE
  631.     UAF> rename/ident oldgroupid newgroupid
  632.     UAF> rename/ident olduserid  newuserid
  633.  
  634. If you should find yourself missing an identifier for a particular user, you
  635. can add one for the user's UIC using a command such as:
  636.  
  637.     UAF> add/ident/value=uic=[group,user] newuserid
  638.  
  639. The UIC user identifier text is assigned when the username is created, and is
  640. the text of the username.  The UIC group group identifier is assigned when the
  641. first username is created in the UIC group, and the text is based on the
  642. account name specified for the first user created in the group.  The value of
  643. this identifier is [groupnumber, 177777]. To add a missing group identifier,
  644. use an asterisk as follows:
  645.  
  646.     UAF> add/ident/value=uic=[group,*] newgroupid
  647.  
  648. You may find cases where an identifier is missing from time to time, as there
  649. are cases where the creation of a UIC group name identifier might conflict
  650. with an existing username, or a user identifier might conflict with an
  651. existing group identifier.  When these conflicts arise, the AUTHORIZE utility
  652. will not create the conflicting group and/or user identifier when the username
  653. is created.
  654.  
  655. You can can add and remove user-specified identifiers, but you should avoid
  656. changing the numeric values associated with any existing identifiers.  You
  657. should also avoid reusing UICs or identifiers when you add new users, as any
  658. existing identifiers that might be present on objects in the system from the
  659. old user will grant the same access to the new user.  Please see the security
  660. manual for details.
  661.  
  662. ------------------------------------------------------------
  663. MGMT16. What are the OpenVMS version upgrade paths?
  664.  
  665.    Note: See "OpenVMS Alpha Terminology" section, below.
  666.  
  667.    OpenVMS Alpha release upgrade (or update) paths:
  668.  
  669.      From V1.0, one can upgrade to V1.5.
  670.      From V1.5, or V1.5-1H1, one can upgrade to V6.1.
  671.      From V6.1, one can upgrade to V6.2.
  672.      From V6.1, or V6.2, one can upgrade to V7.0.
  673.      From V6.1, V6.2, V6.2-1H(1,2,3), or V7.0, one can upgrade to V7.1.
  674.      From V6.2, one can update to V6.2-1H1, V6.2-1H2, or V6.2-1H3.
  675.      From V6.2, V6.2-1H(1,2,3), V7.1, V7.1-1H(1,2), or V7.2, to V7.2-1
  676.      From V6.2, ... or V7.2, to V7.2-1H1, to 7.3
  677.      From V7.1, one can update to V7.1-1H(1,2), ... to V7.2-1H1, to 7.3
  678.  
  679.      Some typical OpenVMS Alpha upgrade (or update) paths are:
  680.          V1.0 -> V1.5 -> V6.1 -> (V6.2, V7.0, V7.1, V7.2, V7.3)
  681.          V1.5-1H1 -> V6.1 -> (V6.2, V7.0, V7.1, V7.2, V7.3)
  682.          V6.2 -> V6.2-1H3
  683.          V6.2 -> V7.2-1
  684.          V6.2 -> V7.3
  685.          V6.2-1H(1,2,3) -> V7.1
  686.          V6.2-1H(1,2,3) -> V7.2-1
  687.          V7.1 -> V7.1-2
  688.          V7.1 -> V7.2-1
  689.          V7.1-1H(1,2) -> V7.1-2
  690.          V7.1-1H(1,2) -> V7.2-1
  691.          V7.2 -> V7.2-1H1
  692.          V7.2 -> V7.3
  693.  
  694.      Note that OpenVMS Alpha V7.0 does not include support for hardware
  695.      and/or configurations first supported in OpenVMS Alpha V6.2-1H1,
  696.      V6.2-1H2, or V6.2-1H3; one must upgrade to OpenVMS VAX V7.1.
  697.  
  698.      One cannot update directly to a V6.2-1Hx Limited Hardware Release
  699.      (LHR) from any release prior to the baseline V6.2 release.  The
  700.      same prohibition holds for performing updates directly to V7.1-1Hx
  701.      from any release prior to V7.1 -- this is not supported, and does
  702.      not produce the expected results.  The LHR kits can, however, be
  703.      directly booted and can be directly installed, without regard to
  704.      any operating system that might be present on the target disk.
  705.  
  706.      OpenVMS Alpha updates for LHRs (through V7.1-1Hx) require the use
  707.      of VMSINSTAL for the update.  These LHR releases use PCSI for the
  708.      installation, but not for the update.  Non-LHR releases use PCSI
  709.      for installs and upgrades.  
  710.  
  711.      OpenVMS Alpha V7.1-2 and later use PCSI for LHRs and for OpenVMS 
  712.      upgrades and for all OpenVMS ECO kit installations.  VMSINSTAL
  713.      OpenVMS ECO kits are not used on OpenVMS Alpha V7.1-2 and later.
  714.      Prior to V7.1-2, VMSINSTAL-based ECO kits are used for OpenVMS.
  715.  
  716.  
  717.    OpenVMS VAX release upgrade paths:
  718.  
  719.      From V5.0 through V5.4-3 inclusive, one can upgrade to V5.5.
  720.      From V5.5, V5.5-1, or V5.5-2HW, one can upgrade to V5.5-2.
  721.      From V5.5, V5.5-1, or V5.5-2, one can upgrade to V6.0.
  722.      From V5.5-2, V5.5-2H4, or V6.0, one can upgrade to V6.1.
  723.      From V6.0, or V6.1, one can upgrade to V6.2.
  724.      From V6.1, or V6.2, one can upgrade to V7.0.
  725.      From V6.1, V6.2, or V7.0, one can upgrade to V7.1.
  726.      From V6.1, one can upgrade to V7.3 (with VAXBACK ECO for V6.1).
  727.  
  728.      Some typical OpenVMS VAX upgrade paths are:
  729.          V5.x -> V5.5 -> V6.0 -> V6.2 -> (V7.1, V7.2, V7.3)
  730.          V5.5-2HW -> V5.5-2
  731.          V5.5-2, or V5.5-2H4 -> V6.1 -> (V6.2, V7.0, or V7.1)
  732.          V6.1 -> V6.1 with VAXBACK ECO -> (V7.2, V7.3)
  733.          V6.2 -> V7.2
  734.          V6.2 -> V7.3
  735.  
  736.      Note that OpenVMS VAX V6.0 does not include support for hardware
  737.      and/or configurations first added in OpenVMS VAX V5.5-2H4, one
  738.      must upgrade to OpenVMS VAX V6.1.
  739.  
  740.      Note that OpenVMS VAX V5.5-2HW is a pre-release version of V5.5-2.
  741.      Any system running it should be upgraded to V5.5-2, or later.
  742.  
  743.      If you attempt a direct upgrade from OpenVMS VAX V6.1 to V7.2 or
  744.      later without having first applied the VAXBACK ECO kit to your V6.1
  745.      system, you will receive an error message:
  746.  
  747.        %BACKUP-E-INVRECTYP, invalid record type in save set
  748.  
  749.      and the upgrade will fail.  Acquire and apply the VAXBACK ECO kit
  750.      for OpenVMS VAX V6.1.  OpenVMS VAX V6.2 and later do not require 
  751.      an application of an ECO for an upgrade to V7.2 and later.
  752.  
  753.  
  754.    OpenVMS Cluster Rolling Upgrades:
  755.  
  756.      Rolling Upgrades require multiple system disks.  Rolling upgrades
  757.      permit the OpenVMS Cluster to remain available while individual systems
  758.      are being upgraded to a new OpenVMS release.
  759.  
  760.      OpenVMS Cluster rolling upgrades for both OpenVMS VAX and OpenVMS Alpha
  761.      may (will) have different, or additional upgrade requirements, and
  762.      have requirements around which versions of OpenVMS can coexist
  763.      in a OpenVMS Cluster than what is listed here.
  764.  
  765.      See the _OpenVMS <platform> Version <Version> Upgrade and Installation
  766.      Manual_, and the OpenVMS Software Product Descriptions
  767.  
  768.        http://www.compaq.com/info/spd/
  769.        OpenVMS typically uses SPD 25.01.xx and/or SPD 41.87.xx.
  770.  
  771.      for further details on the rolling upgrade, and for support information.  
  772.      The documentation for older releases of OpenVMS VAX includes various
  773.      platform-specific manuals, manuals that include instructions that
  774.      are specific to installing and upgrading on the platform.
  775.  
  776.  
  777.    OpenVMS and Layered Products -- Support Information:
  778.  
  779.      For information on Prior Version Support (PVS) and Mature 
  780.      Product Support (including information on support end dates 
  781.      for OpenVMS and various layered products), please see:
  782.  
  783.        http://www.compaq.com/services/software/ss_mature.html
  784.        http://www.compaq.com/services/software/ss_pvs_se_amap.html
  785.        http://www.compaq.com/services/software/ss_mps_pvs_eur.html
  786.  
  787.      For information on supported versions of layered products, and
  788.      minimum required layered product versions, see:
  789.  
  790.        http://www.openvms.compaq.com/openvms/os/swroll/index.html
  791.  
  792.      For information on the release history of OpenVMS, including
  793.      information on the code names of various releases and the
  794.      major features:
  795.  
  796.        http://www.openvms.compaq.com/openvms/os/openvms-release-history.html
  797.  
  798.      Additional release history information, as well as a variety of
  799.      other trivia, is available in the VAX 20th anniversary book:
  800.  
  801.        http://www.openvms.compaq.com/openvms/20th/vmsbook.pdf
  802.  
  803.    OpenVMS Alpha Terminology:
  804.  
  805.      update:    Typically used for Limited Hardware Releases (LHR)
  806.                 releases.  Performed via VMSINSTAL.  Applies only
  807.                 to the OpenVMS release that the LHR is based on,
  808.                 or to an intermediate LHR.  (eg: V7.1-1H2 applies only
  809.                 to V7.1-1H1 and to V7.1, not to any other releases.)
  810.                 LHRs within a series are cumulative, containing all
  811.                 files and features of previous LHRs in the same series.
  812.  
  813.      upgrade:   Performed via PCSI.  Upgrades can typically be applied
  814.                 to a release-specific (and documented) range of prior
  815.                 OpenVMS releases.
  816.  
  817.      install:   Performed via PCSI.  With an installation, no existing
  818.                 version of the operating system is assumed present, nor
  819.                 are any files from any copy of the operating system might
  820.                 be present preserved, and the entire contents of the target
  821.                 disk are destroyed via a disk initialization.
  822.  
  823.      preserve:  Performed via PCSI.  Otherwise similar to an installation,
  824.                 this option skips the disk reinitialization.  User files
  825.                 on the target disk are preserved.  Any existing operating
  826.                 system files on the target disk are clobbered.
  827.  
  828.      LHR:       Limited Hardware Release.  LHRs are specific to and are
  829.                 targeted at new hardware configurations, and are not
  830.                 shipped to customers with support contracts.  At least
  831.                 one LHR kit must be specifically acquired when purchasing
  832.                 new hardware, new hardware that is not (yet) supported by
  833.                 any mainline (non-LHR) release.  LHRs have an "H" in the
  834.                 OpenVMS version string, indicating a "Hardware" release.
  835.  
  836.  
  837.   For minimum OpenVMS versions for various platforms, see VMS13.
  838.  
  839. ------------------------------------------------------------
  840. MGMT17. Why do I have negative number in the pagefile reservable pages?
  841.  
  842. Seeing a negative number in the reservable pages portion of the SHOW 
  843. MEMORY/FULL command can be normal and expected, and is (even) documented 
  844. behaviour.  A pagefile with a negative number of reservable pages is
  845. overcommitted, which is generally goodness assuming that every process with
  846. reserved pages does not try to occupy all of the reserved pagefile  space at
  847. the same time. 
  848.  
  849. To understand how the pagefile reservation process works, think about  how a
  850. traditional bank operates when accepting customer deposits and  making loans. 
  851. It's the same idea with the pagefile space. There is  less money in the bank
  852. vault than the total deposits, because much of  the money has been loaned out
  853. to other customers of the bank.  And the behaviour parallels that of the
  854. pagefile down to the problems that a  "run on the bank" can cause for banking
  855. customers.  (Though there is  no deposit insurance available for pagefile
  856. users.)
  857.  
  858. If all of the running applications try to use the reserved space, the system
  859. manager will need to enlarge the pagefile or add one or more additional
  860. pagefules.
  861.  
  862. To determine if the pagefile is excessively overcommitted, watch for "double
  863. overcommitment" -- when the reservable space approaches the  negatation of the
  864. available total space -- and watch that the total  amount of free space
  865. available in the pagefile remains adequate.  If  either of these situations
  866. arises, additional pagefile storage is required.
  867.  
  868. Additional pagefile information: Additional pagefiles can typically be 
  869. created and connected on a running OpenVMS system.  New processes and  new
  870. applications will tend to use the new pagefile, and existing  applications can
  871. be restarted to migrate out of the more congested  pagefiles.  Pagefiles are
  872. generally named PAGEFILE.SYS, and multiple  pagefiles are generally configured
  873. on separate disk spindles to spread  the paging I/O load across the available
  874. disk storage.  When multiple  pagefiles are present on recent OpenVMS
  875. versions, each pagefile file  should be configured to be approximately the
  876. same total size as the  other pagefiles.
  877.  
  878. For additional information on pagefile operations and related commands, see
  879. the system management and performance management manuals in the  OpenVMS
  880. documentation set.
  881.                     [Stephen Hoffman]
  882.  
  883. ------------------------------------------------------------
  884. MGMT18. Do I have to update layered products when updating OpenVMS?
  885.  
  886. The Software Public Rollout Reports for OpenVMS list the current and future
  887. availability of Compaq's software products shipping on the Software Products
  888. Library kits (CDROM consolidations) for OpenVMS Alpha and OpenVMS VAX. 
  889. Specifically, the required minimum versions for product support are listed.
  890.  
  891. Comprehensive Public Rollout Information, listing previous product versions as
  892. well as currently shipping versions, has been compiled into a separate set of
  893. reports.  The product information is grouped to show Operating System support.
  894.  
  895. You may or may not be able to use older versions of local applications,
  896. third-party products, and various Compaq layered products with more recent
  897. versions of OpenVMS.  User-mode code is expected to be upward compatible. 
  898. Code executing in a privileged processor mode -- typically either executive or
  899. kernel mode -- may or may not be compatible with more recent OpenVMS versions.
  900.  
  901. These reports are updated monthly.
  902.  
  903. Please see:
  904.   http://www.openvms.compaq.com/openvms/os/swroll/index.html
  905.  
  906.                     [Stephen Hoffman]
  907.  
  908. ------------------------------------------------------------
  909. MGMT19. How do I change the volume label of a disk?
  910.  
  911.   Dismount the disk, and mount it privately.  If the disk is mounted by
  912.   more than one node in an OpenVMS Cluster, dismount it from all other
  913.   nodes.  If this disk is an OpenVMS system disk, shut down all other
  914.   nodes that are bootstrapped from this disk.
  915.  
  916.   Issue the SET VOLUME/LABEL command, specifying the new label.
  917.  
  918.   On OpenVMS V6.0 and later, issue the following PCSI command:
  919.  
  920.     $ PRODUCT REGISTER VOLUME <old-label> <device>
  921.  
  922.   To reset the label information stored in the PCSI database to reflect
  923.   the new disk volume label.
  924.  
  925.   Locate any references in the system startup (typically including the
  926.   disk MOUNT commands) and any DISK$label references in application files,
  927.   and change the references appropriately.
  928.  
  929.   If this is a system disk (for the host or for a satellite), also check 
  930.   the DECnet MOP or LANCP boot database, as well as any references to the
  931.   disk created by CLUSTER_CONFIG*.COM.
  932.  
  933.   Remount the disk appropriately.
  934.                     [Stephen Hoffman]
  935.                                         [John E. Malmberg]
  936.  
  937. ------------------------------------------------------------
  938. MGMT20.  How do I fix a corrupt BACKUP saveset?
  939.  
  940.   BACKUP savesets can be corrupted by FTP file transfers and by tools
  941.   such as zip (particularly when the zip tool has not been asked to
  942.   save and restore OpenVMS file attributes or when it does not support
  943.   OpenVMS file attributes), as well as via other means of corruptions.
  944.  
  945.   If you have problems with the BACKUP savesets after unzipping them
  946.   or after an FTP file transfer, you can try restoring the appropriate
  947.   saveset attributes using the tool:
  948.  
  949.     $ @RESET_BACKUP_SAVESET_ATTRIBUTES.COM
  950.  
  951.   This tool is available on the OpenVMS Freeware (in the [000TOOLS]
  952.   directory).  The Freeware is available at various sites -- see the
  953.   Freeware location listings elsewhere in the FAQ -- and other similar
  954.   tools are also available from various sources.
  955.  
  956.   In various cases, a SET FILE/ATTRIBUTES command can also be used.  
  957.   As the parameters of this command must be varied as the target BACKUP 
  958.   saveset attributes vary, this approach is not recommended.
  959.  
  960.   Also see the "SITE VMS", /FDL, and various other file-attributes options 
  961.   available in various FTP tools.  (Not all available FTP tools support
  962.   any or all of these options.)
  963.  
  964.   Browser downloads (via FTP) and incorrect (binary or ascii FTP transfer
  965.   modes) are notorious for causing RMS file corruptions and particularly
  966.   BACKUP saveset corruptions.  You can sometimes help encourage the browser 
  967.   to select the correct FTP transfer type code (via RFC1738):
  968.  
  969.     ftp://host/urlname.ext;type=i   ! request ftp image/binary transfer
  970.     ftp://host/urlname.ext;type=a   ! request ftp ascii/text transfer
  971.  
  972.   You can also often configure the particular web browser to choose the 
  973.   appropriate transfer mode by default, based on the particular file 
  974.   extensions, using a customization menu available in most web browsers.
  975.   You can select that the specific file extentions involved use the FTP 
  976.   binary transfer mode, which will reduce the number of corruptions seen.
  977.  
  978.                     [Stephen Hoffman]
  979.  
  980. ------------------------------------------------------------
  981. MGMT21.  How can I set up a shared directory?
  982.  
  983. To set up a shared directory -- where all files created in the directory
  984. are accessable to the members of specified group of users -- you can use
  985. an access control list (ACL) and an identifier.
  986.  
  987. The following also shows how to set up a resource identifier, which further
  988. allows the disk resources to be charged to the specified identifier rather
  989. than each individual user.  (If you don't want this, then omit the
  990. attributes option on the identifier creation and omit the entry added
  991. in the disk quota database.
  992.  
  993. Add an identifier using AUTHORIZE:
  994.   ADD/IDENTIFER/ATTRIBUTES=RESOURCE groupidentifier
  995.  
  996. Grant the identifier to each user in the group using AUTHORIZE:
  997.   GRANT/IDENTIFIER groupidentifier username
  998.  
  999. If disk quotas are in use, add an entry via SYSMAN for each disk:
  1000.   DISKQUOTA ADD groupidentifier/PERMQUOTA=pq/OVERDRAFT=od/DEVICE=ddcu:
  1001.  
  1002. Set the shared directory to have an ACL similar to the following using the
  1003. SET SECURITY (V6.0 and later) or SET ACL (versions prior to V6.0) command:
  1004.   (DEFAULT_PROTECTION,S:RWED,O:RWED,G,W)
  1005.   (IDENTIFIER=groupidentifier,OPTIONS=DEFAULT,ACCESS=READ+WRITE+EXECUTE+DELETE)
  1006.   (IDENTIFIER=groupidentifier,ACCESS=READ+WRITE+EXECUTE+DELETE)
  1007.   (CREATOR,ACCESS=READ+WRITE+ACCESS+DELETE)
  1008.  
  1009. If there are files already resident in the directory, set their protections
  1010. similarly.  (The OPTIONS=DEFAULT, DEFAULT_PROTECTION, and CREATOR ACEs apply
  1011. to directories.)
  1012.  
  1013. The default protection mask is used to establish the default file protection
  1014. mask, this mask does not prevent the users holding the specified
  1015. groupidentifier from accessing the file(s), as they can access the file via
  1016. the explicit identifier granting access that is present in the ACL.
  1017.  
  1018. For further information, see the OpenVMS Guide to System Security Manual,
  1019. specifically the sections on ACLs and identifiers, and resource identifiers.
  1020.  
  1021. ------------------------------------------------------------
  1022. MGMT22 relocated to SUPP3
  1023.  
  1024. ------------------------------------------------------------
  1025. MGMT23. Why do I get extra blank pages on my HP Printer?
  1026.  
  1027.   For information on configuring telnet print symbiont, on device control
  1028.   libraries such as SYSDEVCTL.TLB, and for ways of dealing with the extra 
  1029.   blank pages that can arise on various HP printers, please see the OpenVMS 
  1030.   Ask The Wizard area, starting particularly with topic (1020):
  1031.  
  1032.     http://www.openvms.compaq.com/wizard/
  1033.  
  1034.   There are a variety of discussions of this and of related printing topics 
  1035.   in the Ask The Wizard area.
  1036.  
  1037.   Also see MGMT51.
  1038.                     [Stephen Hoffman]
  1039.  
  1040.  
  1041. ------------------------------------------------------------
  1042. MGMT24. Configure ELSA GLoria Synergy or PowerStorm 300/350 graphics?
  1043.  
  1044.   On OpenVMS Alpha V7.1-2, V7.2, and V7.2-1, acquire the appropriate 
  1045.   GRAPHICS PCSI kit, and all prerequisite OpenVMS ECO kits:
  1046.  
  1047.     VMS712_GRAPHICS-V0300 or later
  1048.     VMS72_GRAPHICS-V0100 or later
  1049.     VMS712_GRAPHICS-V0300 or later
  1050.  
  1051.   ----
  1052.  
  1053.   The ELSA GLoria Synergy is the PBXGK-BB.
  1054.  
  1055.   On OpenVMS Alpha V7.2-1, the files necessary for this graphics
  1056.   controller are located in the distribution CD-ROM directory:
  1057.  
  1058.     DISK$ALPHA0721:[ELSA.KIT]
  1059.  
  1060.   Also check for any available (later) ECO kits.
  1061.  
  1062.   An earlier kit (ALP4D20T01_071) (for V7.1, V7.1-1H1, and V7.1-1H2) 
  1063.   was once available, but has been superceded and is not recommended.
  1064.   Use of V7.1-2 or later (and use of one the above GRAPHICS kits as 
  1065.   required) is typically the best approach.
  1066.  
  1067.   OpenVMS V7.2-1H1 and later should directly support the controller.
  1068.  
  1069.   Additional information:
  1070.     http://www.openvms.compaq.com/wizard/ topics (3419), (5448).
  1071.  
  1072.   ----
  1073.  
  1074.   PowerStorm 300 : PBXGD-AC
  1075.   PowerStorm 350 : PBXGD-AE
  1076.  
  1077.   For support of the PowerStorm 300 and PowerStorm 350 graphics 
  1078.   controllers, acquire and install the following available ECO kits:
  1079.  
  1080.   For OpenVMS Alpha V7.1-2:
  1081.     DEC-AXPVMS-VMS712_P350-V0100--4 or later
  1082.     DEC-AXPVMS-VMS712_GRAPHICS-V0300--4 or later
  1083.  
  1084.   For OpenVMS Alpha V7.2-1:
  1085.     DEC-AXPVMS-VMS721_P350-V0100--4 or later
  1086.     DEC-AXPVMS-VMS721_GRAPHICS-V0300--4 or later
  1087.  
  1088.   ----
  1089.  
  1090.   PowerStorm 3D30, PowerStorm 4D20:
  1091.     http://www.openvms.compaq.com/wizard/ topic (2041).
  1092.  
  1093.   ----
  1094.  
  1095.   Support for the ELSA GLoria Synergy and the PowerStorm 300 and 350
  1096.   controllers is expected to be integrated in the OpenVMS Alpha V7.3 
  1097.   and later releases.
  1098.  
  1099.                     [Stephen Hoffman]
  1100.  
  1101. ------------------------------------------------------------
  1102. MGMT25. How do I acquire OpenVMS patches, fixes, and ECOs?
  1103.  
  1104. You can acquire and download kits containing OpenVMS fixes (ECOs) for various 
  1105. releases via:
  1106.  
  1107.   http://search.service.digital.com/
  1108.   ftp://ftp.support.compaq.com/public/vms/
  1109.     (formerly ftp://ftp.service.digital.com/public/vms/)
  1110.   http://ftp.digital.com.au/pub/ecoinfo/
  1111.   http://ftp/digital.com.au/cgi-bin/grep/
  1112.  
  1113. You can subscribe to an email notification list at:
  1114.  
  1115.   http://www.support.compaq.com/patches/mailing-list.shtml
  1116.  
  1117. A quarterly distribution is also available on CD-ROM:
  1118.  
  1119.   QT-3CQAA-C8      OpenVMS Alpha
  1120.   QT-3CRAA-C8      OpenVMS VAX
  1121.  
  1122. For a list of OpenVMS ECO kits recently released, you can use:
  1123.  
  1124.     http://Eisner.DECUS.org/conferences/OpenVMS-patches_new_1.HTML
  1125.  
  1126. You can also sign up for ECO kit email notifications (Digest or
  1127. individual notifications) directly from Compaq at:
  1128.  
  1129.     http://www1.service.digital.com/patches/mailing-list.html
  1130.  
  1131. Examples and ECO kit installation instructions are included in the
  1132. cover letter.   For available ECO kits, cover letters and other
  1133. associated documentation, look in:
  1134.  
  1135.     ftp://ftp.service.digital.com/public/vms/axp/...
  1136.     ftp://ftp.service.digital.com/public/vms/vax/...
  1137.  
  1138. Do NOT attempt to install a VMSINSTAL-based OpenVMS ECO kit on OpenVMS 
  1139. Alpha V7.1-2 and later.  While VMSINSTAL itself remains available, it 
  1140. is not used for OpenVMS Alpha ECO kits starting in OpenVMS Alpha V7.1-2.
  1141. OpenVMS Alpha V7.1-2 and later use PCSI for OpenVMS ECO kits.
  1142.  
  1143. See MGMT46 for information on ECO kit checksums.
  1144.  
  1145.                     [Stephen Hoffman]
  1146.  
  1147. ------------------------------------------------------------
  1148. MGMT26. How do I rename a DSSI disk (or tape?)
  1149.  
  1150.   If you want to renumber or rename DSSI disks or DSSI tapes, it's 
  1151.   easy -- if you know the secret incantation...
  1152.  
  1153.   From OpenVMS:
  1154.  
  1155.     $ RUN SYS$SYSTEM:SYSGEN
  1156.     SYSGEN> CONNECT FYA0/NOADAPTER
  1157.     SYSGEN> ^Z
  1158.     $ SET HOST/DUP/SERV=MSCP$DUP/TASK=PARAMS <DSSI-NODE-NAME>
  1159.     ...
  1160.     PARAMS> STAT CONF
  1161.     <The software version is normally near the top of the display.>
  1162.     PARAMS> EXIT
  1163.     ...
  1164.  
  1165.   From the console on most 3000- and 4000-class VAX system consoles...
  1166.   (Obviously, the system must be halted for these commands...)
  1167.  
  1168.     Integrated DSSI:
  1169.  
  1170.         >>> SET HOST/DUP/DSSI[/BUS:[0:1]] dssi_node_number PARAMS
  1171.  
  1172.     KFQSA:
  1173.  
  1174.         >>> SET HOST/DUP/UQSSP port_controller_number PARAMS
  1175.  
  1176.   For information on how to get out into the PARAMS subsystem, also see
  1177.   the >>> HELP at the console prompt for the SET HOST syntax, or see the
  1178.   HELP on SET HOST /DUP (once you've connected FYDRIVER under OpenVMS).
  1179.  
  1180.   Once you are out into the PARAMS subsystem, you can use the FORCEUNI
  1181.   option to force the use of the UNITNUM value and then set a unique
  1182.   UNITNUM inside each DSSI ISE -- this causes each DSSI ISE to use the
  1183.   specfied unit number and not use the DSSI node as the unit number.
  1184.   Other parameters of interest are NODENAME and ALLCLASS, the node name
  1185.   and the (disk or tape) cluster allocation class.
  1186.  
  1187.   Ensure that all disk unit numbers used within an OpenVMS Cluster disk 
  1188.   allocation class are unique, and all tape unit numbers used within an
  1189.   OpenVMS Cluster tape allocation class are also unique.
  1190.                     [Stephen Hoffman]
  1191.  
  1192. ------------------------------------------------------------
  1193. MGMT27. How do I move the queue manager database?
  1194.  
  1195.   To move the location of the queue database, the SYS$QUEUE_MANAGER.QMAN$QUEUES 
  1196.   and SYS$QUEUE_MANAGER.QMAN$JOURNAL files, to a disk that is fast(er), has 
  1197.   plenty of free space, and that is not heavily used.  If the queue database 
  1198.   is on a (busy) OpenVMS system disk, you can and probably should move it 
  1199.   off the system disk to another disk spindle.
  1200.  
  1201.   To move the queue database:
  1202.  
  1203.    0. Checkpoint the journal file.  This reduces the file size to the in-memory
  1204.       database size.  This will cause the noted delay.  
  1205.  
  1206.     $ mcr JBC$COMMAND
  1207.     JBC$COMMAND> DIAG 0 7
  1208.  
  1209.    1. Stop the queue manager
  1210.  
  1211.     $STOP/QUEUE/MANAGER/CLUSTER
  1212.  
  1213.    2. Backup the .QMAN$QUEUES and .QMAN$JOURNAL files from the present location
  1214.       for safety.
  1215.     
  1216.     $ backup SYS$COMMON:[SYSEXE]SYS$QUEUE_MANAGER.QMAN$*  DISK:[DIR]    
  1217.    
  1218.    3. Create a new directory for the queue database.  Insure that this disk is
  1219.       accessible to all nodes that can run the queue manager.  If the /ON list
  1220.       for the queue manager is "/ON=(*)", the disk must be available to all
  1221.       nodes in the cluster 
  1222.  
  1223.     $ CREATE/DIR fast_disk:[qman]
  1224.  
  1225.    4. Copy the .QMAN$QUEUES and .QMAN$JOURNAL files to the new directory
  1226.  
  1227.     $ copy SYS$COMMON:[SYSEXE]SYS$QUEUE_MANAGER.QMAN$*  fast_disk:[qman]
  1228.  
  1229.    5.  Delete the old queue database.  
  1230.  
  1231.     $DELETE SYS$COMMON:[SYSEXE]SYS$QUEUE_MANAGER.QMAN$*
  1232.  
  1233.    6. Restart the queue manager pointing to the new location
  1234.  
  1235.     $START/QUEUE/MANAGER fast_disk:[qman]
  1236.  
  1237.                     [Dave Sweeney]
  1238.  
  1239. ------------------------------------------------------------
  1240. MGMT28. How do I set a default IP route or gateway on OpenVMS?
  1241.  
  1242. If you have TCP/IP Services, then use the command:
  1243.  
  1244.   For TCP/IP Services V5.0 and later:
  1245.  
  1246.     $ TCPIP SET ROUTE/GATE=x.x.x.x/DEFAULT/PERMANENT
  1247.  
  1248.   For earlier TCP/IP Services versions:
  1249.  
  1250.     $ UCX SET ROUTE/GATE=x.x.x.x/DEFAULT/PERMANENT
  1251.  
  1252. ------------------------------------------------------------
  1253. MGMT29 relocated to ALPHA21
  1254.  
  1255. ------------------------------------------------------------
  1256. MGMT30. How do I delete an undeletable/unstoppable (RWAST) process?
  1257.  
  1258. "Undeleteable" jobs are usually "undeleteable" for a reason -- this
  1259. can track back to insufficient process quotas, to a kernel-mode error
  1260. in OpenVMS or a third-party device driver, or to other odd problems.
  1261.  
  1262. These undeletable jobs typically become of interest because they are
  1263. holding onto a particular resource (eg: tape drive, disk drive, 
  1264. communications widget) that you need to use...  If the particular
  1265. device supports firmware, ensure that the device firmware is current
  1266. -- TQK50 controllers are known for this when working with old firmware.
  1267. (That, and the infamous "MUA4224" firmware bug.)  If this device has a 
  1268. driver ECO kit available, acquire and apply it...  If the particular
  1269. relevent host component has an ECO, acquire and apply it.
  1270.  
  1271. Useful tools include SDA (to see what might be going on) and DECamds
  1272. (which increase and thus potentially fix quota-related problems).
  1273. (nb: Applications with quota leaks will obviously not stay fixed.)
  1274.  
  1275. If the stuck application is BACKUP, ensure you have the current
  1276. BACKUP ECO and are directly following the V7.1 or (better) V7.2 
  1277. process quota recommendations for operator BACKUP accounts.
  1278.  
  1279. If the firmware and ECO levels are current, the best approach is to take
  1280. a system crashdump, and pass a copy of the dump file it along to whomever
  1281. is maintaining the device driver for the particular device/widget/driver
  1282. involved, with any details on how you got into this situation.  (The reboot
  1283. involved with taking the crashdump will obviously clear the problem.)
  1284.  
  1285. There was some kernel-mode code (typically for OpenVMS VAX) that can
  1286. reset the device ownership field, but that is rather obviously only an
  1287. interim solution -- the real fix is avoiding the loss of the IRP, the
  1288. process quota leak, or whatever else is "jamming up" this particular
  1289. process...
  1290.                     [Stephen Hoffman]
  1291.  
  1292. ------------------------------------------------------------
  1293. MGMT31. How do I reset the error count(s)?
  1294.  
  1295. The system reboot is the only supported approach, but it is obviously 
  1296. undesirable in various situations -- there is presently no supported 
  1297. mechanism to reset error counts once the error(s) have been logged.
  1298.  
  1299. As for an unsupported approach -- and be aware of the potential for
  1300. causing a system crash...
  1301.  
  1302. To reset the error count, one needs to determine the system address of
  1303. the error count field.  For a device, this is at an offset within the
  1304. device's UCB structure.  On VAX, the field is at an offset symbolically
  1305. defined as UCB$W_ERRCNT.  On Alpha, this field's offset is symbolically
  1306. defined as UCB$L_ERRCNT.  The former is a word in size; the latter is
  1307. a longword.  (Could it be that Alpha devices are more error prone? ;)
  1308.  
  1309. You now need to locate the system address of the UCB$%_ERRCNT field of
  1310. the device you wish to reset.  Enter SDA.  In the following, you will
  1311. see designations in {} separated by a /.  The first item in braces is
  1312. to be used on the VAX and the second item should be used on an Alpha.
  1313. (ie.  {VAX/Alpha})
  1314.  
  1315. $ ANALYZE/SYSTEM
  1316. SDA>  READ SYS${SYSTEM/LOADABLE_IMAGES}:SYSDEF.STB
  1317. SDA>  SHOW DEVICE <ddnc:>    ! device designation of device with error
  1318. SDA>  EVALUATE UCB+UCB${W/L}_ERRCNT
  1319. Hex = hhhhhhhh   Decimal = -dddddddddd         UCB+offset
  1320.  
  1321. Record the hexadecimal value 'hhhhhhhh' returned.
  1322.  
  1323. You can now exit from SDA and $ RUN SYS$SHARE:DELTA or do what I prefer
  1324. to do, issue the following:
  1325.  
  1326. SDA> SPAWN RUN SYS$SHARE:DELTA
  1327.  
  1328. On both VAX and Alpha, the DELTA debugger will be invoked and will ident-
  1329. ify itself.  On Alpha, there will be an Alpha instruction decoded.  For
  1330. those unfamiliar with DELTA, it does not have a prompt and only one error
  1331. message -- Eh?  (Well, for sake of argument, there might be another error
  1332. produced on the console if you're not careful -- aka. a system crash!)
  1333.  
  1334. If you are on a VAX, enter the command: [W
  1335. If you are on Alpha, enter the command: [L
  1336.  
  1337. These set the prevailing mode to word and longword respectively.  Remem-
  1338. ber the UCB${W/L)_ERRCNT differences?
  1339.  
  1340. Now issue the command 1;M
  1341. DELTA will respond with 00000001
  1342.  
  1343. You're now poised to ZAP the error count field.  To do so you need to en-
  1344. ter the system address and view its contents.  The format of the command
  1345. to do this is of the form:
  1346.  
  1347. <IPID>:<hhhhhhhh>/
  1348.  
  1349. For an IPID, use the IPID of the SWAPPER process.  It is always: 00010001
  1350.  
  1351. Thus, to ZAP the error count, you would enter:
  1352.  
  1353. 00010001:hhhhhhhh/
  1354.  
  1355. When you enter the / SDA will return the content of the address hhhhhhhh.
  1356. This should be the error count (in hexadecimal) of the device in question.
  1357. If it is not, you did something wrong and I'd suggest you type a carriage
  1358. return and then enter the command EXIT to get out of DELTA.  Regroup and
  1359. see where your session went awry.
  1360.  
  1361. If you entered your address correctly and the error count was returned as
  1362. in the following example, you can proceed.
  1363.  
  1364. 00010001:80D9C6C8/0001                          ! output on VAX    1 error
  1365.  
  1366. 00010001:80D9C6C8/00000001                      ! output on Alpha  1 error
  1367.  
  1368.  
  1369. You can now ZAP the error count by entering a zero and typing a carriage
  1370. return.  For example:
  1371.  
  1372.  
  1373. 00010001:80D9C6C8/0001 0<cr>                    ! output on VAX    1 error
  1374. 00010001:80D9C6C8/00000001 0<cr>                ! output on Alpha  1 error
  1375.  
  1376. Now type the command EXIT and a carriage return.
  1377.                                       [Brian Schenkenberger]
  1378.  
  1379. ------------------------------------------------------------
  1380. MGMT32. How do I find out if the tape drive supports compression?
  1381.  
  1382. For various SCSI-based MK-class magnetic tape devices:
  1383.  
  1384.     $ Devdepend2 = F$GETDVI("$n$MKcxxx:","DEVDEPEND2")
  1385.     $ Comp_sup = %X00200000
  1386.     $ Comp_ena = %X00400000
  1387.     $ IF (Devdepend2.AND.Comp_sup).EQ.Comp_sup THEN -
  1388.         WRITE SYS$OUTPUT "Compression supported"
  1389.     $ IF (Devdepend2.AND.Comp_ena).EQ.Comp_ena THEN -
  1390.         WRITE SYS$OUTPUT "Compression enabled"
  1391.  
  1392. ------------------------------------------------------------
  1393. MGMT33. Can I copy SYSUAF to another version? To VAX? To Alpha?
  1394.  
  1395. The format of the SYSUAF.DAT, RIGHTSLIST, and associated files
  1396. are upward-compatible, and compatible across OpenVMS VAX and 
  1397. OpenVMS Alpha systems.  (This compatibility is a a basic 
  1398. requirement of mixed-version OpenVMS Cluster configurations 
  1399. and OpenVMS upgrades -- for specific support information, please 
  1400. see the OpenVMS Cluster rolling upgrade and mixed-version 
  1401. requirements.)  That said, it's the contents of the SYSUAF and 
  1402. RIGHTSLIST files that will make this more interesting.
  1403.  
  1404. The same basic steps necessary for moving RIGHTSLIST and SYSUAF 
  1405. files to another node are rather similar to the steps involved 
  1406. in merging these files in an OpenVMS Cluster -- see the appendix 
  1407. of the OpenVMS Cluster documentation for details of merging files.
  1408. (You might not be merging the contents of two (or more) files, but 
  1409. you are effectively merging the contents of the files into the 
  1410. target system environment.)
  1411.  
  1412. Considerations:
  1413.  
  1414.   o applications often hold SYSUAF or RIGHTSLIST open, meaning
  1415.     a system reboot is often the best way to activate new files.
  1416.  
  1417.   o the meanings of the RESTRICTED and CAPTIVE flags settings 
  1418.     on the UAF entries have changed over time.
  1419.  
  1420.   o the new NET$PROXY.DAT file that is initially created based 
  1421.     on the contents of the NETPROXY.DAT during the OpenVMS VAX
  1422.     V6.1 upgrade and during the OpenVMS Alpha V6.2 upgrade.
  1423.     This file is maintained in parallel with NETPROXY.DAT.
  1424.  
  1425.   o the RIGHTSLIST identifier values and UIC values that end 
  1426.     up scattered around the target system must be rationalized 
  1427.     with the contents of the new RIGHTSLIST and SYSUAF files.
  1428.  
  1429. The lattermost case -- resolving the identifier values -- is
  1430. often the most interesting and difficult part.   If you find 
  1431. that an identifier value (or identifier name) from the source 
  1432. RIGHTSLIST collides with that of an identifier existing on the 
  1433. target system, you must first determine if the two identifiers 
  1434. perform the same function.  In most cases, they will not.  As
  1435. such, you will have to find and chance all references to the 
  1436. identifier value(s) (or name(s)) to resolve the "collision".
  1437.  
  1438. If you encounter a collision, changing both of the identifier 
  1439. binary values (or names) involved in the collision to new and 
  1440. unique values can prevent security problems if you should miss 
  1441. a couple of identifiers embedded somewhere on the target system
  1442. during the whole conversion process -- rather than the wrong 
  1443. alphanumeric value for the identifier being displayed, you'll 
  1444. simply see the binary format for the identifier displayed, and 
  1445. no particular access will be granted.  And any DCL commands or 
  1446. such that reference the old alphanumeric name will fail, rather 
  1447. than silently (and potentially erroneously) succeeding.
  1448.  
  1449. Similar requirements exist for UIC values, as these too tend
  1450. to be scattered all over the system environment.  Like the
  1451. binary identifier values, you will find UIC values associated
  1452. with disks, ACLs, queues, and various other structures.
  1453.  
  1454. For a list of the various files shared in an OpenVMS Cluster
  1455. and that can be involved when relocating an environment from
  1456. one node to another (or merging environments into an OpenVMS 
  1457. Cluster), please see the SYLOGICALS.TEMPLATE file included in 
  1458. OpenVMS V7.2 and later releases.
  1459.  
  1460. Procedures to extract the contents of a (potentially corrupt)
  1461. queue database are provided on the OpenVMS Freeware (V5) and
  1462. can be used to combine two queue databases together while
  1463. shuffling files between OpenVMS Cluster hosts.
  1464.  
  1465. For related discussions of splitting a cluster into two or for 
  1466. removing a node from cluster (political divorce, etc), see:
  1467.   http://www.openvms.compaq.com/wizard/ topics (203), (767), (915).
  1468.                     [Stephen Hoffman]
  1469.  
  1470. ------------------------------------------------------------
  1471. MGMT34. How do I delete (timeout) idle processes?
  1472.  
  1473.   There is no such command integrated within OpenVMS, though there are
  1474.   (optional) timers available within certain terminal servers and similar
  1475.   devices, and there is an integrated time-of-day mechanism that provides
  1476.   control over when a user can access OpenVMS.
  1477.  
  1478.   As for available tools, there are DECUS, freeware, and third-party tools 
  1479.   known variously as "idle process killers" (IPK) or terminal timeout" 
  1480.   programs.  Examples include: Saiga Systems Hitman, Watchdog, MadGoat 
  1481.   Watcher (via the MadGoat site or the OpenVMS Freeware), Kblock, the 
  1482.   Networking Dynamics tool known as Assassin, and the Zap tool.
  1483.  
  1484.   A related package (for DECwindows sessions) is xtermlock.
  1485.  
  1486.   If the forgetful users are in an application menu environment, the menu
  1487.   can potentially be extended to provide this capability.
  1488.  
  1489. ------------------------------------------------------------
  1490. MGMT35. Why isn't BACKUP/SINCE=BACKUP working?
  1491.  
  1492.   If you are seeing more files backed up than previously, you are seeing
  1493.   the result of a change that was made to ensure BACKUP can perform an
  1494.   incrementation restoration of the files.  In particular, if a directory
  1495.   file modification date changes, all files underneath it are included in 
  1496.   the BACKUP, in order to permit incremental restoration should a directory 
  1497.   file get renamed.
  1498.  
  1499.   Why has OpenVMS gone through the agony of this change?
  1500.  
  1501.     When a directory is renamed, the modified date is changed.  When the
  1502.     restoration needs to restore the directory and its contents, and the
  1503.     restoration should not result in the restoration of the older directory
  1504.     name when a series of incremental BACKUPs are restored.  Thus an
  1505.     incremental BACKUP operation needs to pick up all of the changes.
  1506.  
  1507.   What can you do to improve BACKUP performance?
  1508.  
  1509.     Use the documented commands in the manual for performing incremental
  1510.     BACKUPs.  Use the documented incremental procedures.  Don't try to use
  1511.     incremental commands in a non-incremental context.
  1512.  
  1513.     Also consider understanding and then using /NOALIAS, which will likely
  1514.     be a bigger win than will anything to do with the incremental BACKUPs,
  1515.     particularly on system disks and any other disks with directory aliases.
  1516.  
  1517.   Can you get the old BACKUP behaviour back?
  1518.  
  1519.     Yes, please see the /NOINCREMENTAL qualifier available on recent 
  1520.     OpenVMS versions (and ECO kits).  Use of this qualifier informs BACKUP 
  1521.     that you are aware of the limitations of the old BACKUP behaviour around 
  1522.     incremental disk restorations.
  1523.  
  1524.   Consider performing an incremental restoration, to test the procedures.
  1525.   Attempting this is how we found out about the problem that was latent
  1526.   with the old scheme -- the old incremental BACKUP scheme would have 
  1527.   missed restoring any files under a renamed directory.  Hence the change.
  1528.  
  1529.   See the OpenVMS V6.2 release notes for additional details.
  1530.  
  1531. ------------------------------------------------------------
  1532. MGMT36. How can I set up reverse telnet (like reverse LAT)?
  1533.  
  1534.   Though it may seem obvious, Telnet and LAT are quite different -- with
  1535.   differing capabilities and design goals.
  1536.  
  1537.   Please see the documentation around the TCP/IP Services for OpenVMS
  1538.   TELNET command CREATE_SESSION.  This command is the equivilent of the
  1539.   operations performed in LTLOAD.COM or LAT$SYSTARTUP.COM.  There is no
  1540.   TELNET equivilent to the sys$qio[w] control interface for LTDRIVER (as
  1541.   documented in the I/O User's Reference Manual) available, though 
  1542.   standard sys$qio[w] calls referencing the created TN device would 
  1543.   likely operate as expected.
  1544.  
  1545. ------------------------------------------------------------
  1546. MGMT37. Do I need a PAK for the DECevent (Compaq Analyze) tool?
  1547.  
  1548.   DECevent and Compaq Analyze are avalable to customers with support
  1549.   contracts.  The PAK is required only for the advanced functions of 
  1550.   DECevent, the basic bits-to-text translation of the error log does 
  1551.   not require a license PAK.  Ignore the prompt, in other words.  
  1552.   (The PAK should be available to you if you have a hardware support 
  1553.   contract or warrantee, and the PAK enables the use of the advanced 
  1554.   error analysis and notification capabilities within DECevent.)
  1555.  
  1556.   Please see the DECevent FAQ for additional details:
  1557.  
  1558. http://www.support.compaq.com/svctools/decevent/DECevent_FAQ.html
  1559.  
  1560.   The current version of the DECevent (Compaq Analyze) tool can
  1561.   be downloaded from:
  1562.  
  1563. http://www.support.compaq.com/svctools/st-download.html
  1564.  
  1565. ------------------------------------------------------------
  1566. MGMT38. INITIALIZE ACCVIO and ANSI tape label support?
  1567.  
  1568. A change was made (back in 1988) to (as it was then known) VAX/VMS 
  1569. V5.1-1 that added support for the then-new ANSI X3.27-1987 magnetic 
  1570. tape label standard.  Prior to the ANSI X3.27-1987 standard, the date 
  1571. field in the ANSI HDR1 record permits dates only as far as the end of 
  1572. Year 1999.  With ANSI X3.27-1987, dates through Year 1999 and dates 
  1573. from Years 2000 to 2099 are permitted.
  1574.  
  1575. Versions of INIT.EXE and MTAACP.EXE from VAX/VMS releases prior to
  1576. V5.1-1 will potentially have problems properly processing ANSI
  1577. magnetic tapes when Y2K and later dates are involved -- the DCL
  1578. INITIALIZE command is known to encounter access violation (ACCVIO)
  1579. errors.
  1580.  
  1581. The available solutions include upgrades, or setting the date back.
  1582. Direct initialization of the tape with the new headers (via $qio) is 
  1583. also clearly possible, though the limitation within the old MTAACP.EXE 
  1584. magtape ACP image is not nearly so easy to bypass.
  1585.  
  1586.                                                [Hoffman, Dachtera]
  1587.  
  1588. ------------------------------------------------------------
  1589. MGMT39. How do I recover from INSVIRMEM errors?
  1590.  
  1591.   Prior to OpenVMS Alpha V7.0 and on all OpenVMS VAX releases, 
  1592.   VIRTUALPAGECNT and PGFLQUOTA limit the amount of virtual address 
  1593.   space that is available to each process.  
  1594.  
  1595.   Further limiting the amount of address space is the size of system 
  1596.   space (S0 and S1 space).  On OpenVMS Alpha versions prior to V7.0
  1597.   and on all OpenVMS VAX releases, VIRTUALPAGECNT and MAXPROCESSCNT 
  1598.   together determine the size of the page table data structures that 
  1599.   occupy large tracts of system space.  When no system virtual address 
  1600.   space is available for the stuff that needs it -- this includes the
  1601.   page tables, non-paged pool, and various other structures -- then
  1602.   the values of VIRTUALPAGECNT and MAXPROCESSCNT cannot be increased.
  1603.  
  1604.   In OpenVMS Alpha V7.0 and later, the page table data structures have 
  1605.   been moved out of S0 and S1 space and into page table space.  In 
  1606.   OpenVMS Alpha V7.2 and later, certain large data structures found 
  1607.   in non-paged pool (eg: lock management structures) have been moved 
  1608.   into 64-bit space, thus freeing up room in non-paged pool and in
  1609.   S0 and S1 space (where non-paged pool resides) while also permitting 
  1610.   much larger data structures.  
  1611.  
  1612. ------------------------------------------------------------
  1613. MGMT40. How can I prevent a serial terminal line from initiating a login?
  1614.  
  1615.   In SYSTARTUP_VMS.COM, issue the command:
  1616.  
  1617.     SET TERMINAL/NOTYPEAHEAD/PERMANENT ddcu:
  1618.  
  1619.   This will prevent any unsolicited terminal input on ddcu:, and
  1620.   this unsolicited input is what triggers JOB_CONTROL to start up
  1621.   LOGINOUT on the terminal.  Once LOGINOUT starts up on the serial
  1622.   line, you can see interesting behaviour (eg: audits, process
  1623.   creations, etc) as LOGINOUT tries to "chat" with whatever device
  1624.   is hooked onto the remote end of the serial terminal line.
  1625.  
  1626. ------------------------------------------------------------
  1627. MGMT41. How does PCSI use the image BUILD_IDENT field?
  1628.  
  1629.   The (undocumented) build ident field in an OpenVMS Alpha image header is 
  1630.   16 bytes long, and is used as a counted string of 0-15 characters (ie, a 
  1631.   an .ASCIC string with count in byte 0) and was originally introduced to 
  1632.   provide information for use by VMSINSTAL patch kits to determine whether 
  1633.   an image should be replaced or not.
  1634.  
  1635.   Starting with OpenVMS Alpha V7.1-2, OpenVMS Engineering uses the PCSI 
  1636.   utility to package and install ECO kits for OpenVMS.  PCSI uses the 
  1637.   generation attribute (a 32-bit unsigned integer) specified for files in
  1638.   the product description file (PDF) of a PCSI kit as the basis for performing
  1639.   file conflict detection and resolution.  When a product is installed, 
  1640.   PCSI modifies the build ident field of Alpha image headers to store an 
  1641.   encoded form of the generation number.  It also looks at the build ident 
  1642.   field of previously installed images to obtain the generation information 
  1643.   for those files as input to the file conflict processing algorithm. (Only
  1644.   images have this field, obviously.)
  1645.  
  1646.   PCSI interprets the build ident field of a previously installed image as
  1647.   follows:
  1648.  
  1649.     - if the string length is 15, the 5th character is a hyphen, and the 
  1650.       last ten characters are a ten digit number with leading zeros, then 
  1651.       the last ten characters are treated as a valid generation number.
  1652.     - for V7.1-2 through V7.2-1, inclusive, if the above test fails, the 
  1653.       information is obtained from the PCSI product database.
  1654.     - in releases after V7.2-1 and with current PCSI ECO kits, if the above 
  1655.       test fails, an invalid generation number is treated as 0000000000 so 
  1656.       that the ECO kit will simply replace the image rather than assuming
  1657. á     the PCSI database is in error.
  1658.  
  1659.   So, what will you see in the image identification displayed via the
  1660.   ANALYZE/IMAGE command?
  1661.  
  1662.   For an image that has been built as part of an OpenVMS Engineering
  1663.   system build, you will generally see a build ID string in the format 
  1664.   "X6TE-SSB-0000" -- X6TE is the build number for the OpenVMS Alpha 
  1665.   V7.2-1 release.  This id format is used within the OpenVMS system 
  1666.   build, and can generally only be seen associated with images that
  1667.   have not yet been processed via PCSI.
  1668.  
  1669.   During the installation of V7.2-1, PCSI will modify the image header to 
  1670.   have a build ident string of "X6TE-0050120000".  During installation of 
  1671.   an ECO kit containing this image with a generation number of 50130052, 
  1672.   for example, PCSI would determine that 50130052 is greater than 50120000, 
  1673.   and will replace the existing image on the target disk with the version 
  1674.   of the image included in the ECO kit.
  1675.  
  1676. ------------------------------------------------------------
  1677. MGMT42. How to configure allocation classes and Multi-Path SCSI?
  1678.  
  1679. The HSZ allocation class is applied to devices, starting with OpenVMS V7.2.
  1680. It is considered a port allocation class (PAC), and all device names with a 
  1681. PAC have their controller letter forced to "A".  (You might infer from the
  1682. the text in the "Guidelines for OpenVMS Cluster Configurations" that this
  1683. is something you have to do, though OpenVMS will thoughtfully handle this 
  1684. renaming for you.)
  1685.  
  1686. You can force the device names back to DKB by setting the HSZ allocation 
  1687. class to zero, and setting the PKB PAC to -1.  This will use the host
  1688. allocation class, and will leave the controller letter alone (that is, 
  1689. the DK controller letter will be the same as the SCSI port (PK) controller).
  1690. Note that this won't work if the HSZ is configured in multibus failover 
  1691. mode.  In this case, OpenVMS requires that you use an allocation class 
  1692. for the HSZ.
  1693.  
  1694. When your configuration gets even moderately complex, you must pay careful
  1695. attention to how you assign the three kinds of allocation class: node, port
  1696. and HSZ/HSJ, as otherwise you could wind up with device naming conflicts 
  1697. that can be painful to resolve.
  1698.  
  1699. The display-able path information is for SCSI multi-path, and permits the
  1700. multi-path software to distinguish between different paths to the same 
  1701. device.  If you have two paths to $1$DKA100, for example by having two 
  1702. KZPBA controllers and two SCSI buses to the HSZ, you would have two UCBs 
  1703. in a multi-path set.  The path information is used by the multi-path 
  1704. software to distinguish between these two UCBs.
  1705.  
  1706. The display-able path information describes the path; in this case, the SCSI
  1707. port.  If port is PKB, that's the path name you get.  The device name is no 
  1708. longer completely tied to the port name; the device name now depends on the 
  1709. various allocation class settings of the controller, SCSI port or node.
  1710.  
  1711. The reason the device name's controller letter is forced to "A" when you 
  1712. use PACs is because a shared SCSI bus may be configured via different ports 
  1713. on the various nodes connected to the bus.  The port may be PKB on one node, 
  1714. and PKC on the other.  Rather obviously, you will want to have the shared 
  1715. devices use the same device names on all nodes.  To establish this, you will
  1716. assign the same PAC on each node, and OpenVMS will force the controller 
  1717. letter to be the same on each node. Simply choosing "A" was easier and 
  1718. more deterministic than negotiating the controller letter between the 
  1719. nodes, and also parallels the solution used for this situation when DSSI 
  1720. or SDI/STI storage was used.
  1721.  
  1722. This information is also described in the Cluster Systems and Guidelines 
  1723. for OpenVMS Cluster Configurations manuals.
  1724.                                                [John Croll]
  1725.  
  1726. ------------------------------------------------------------
  1727. MGMT43. How can I tell what software (and version) is installed?
  1728.  
  1729.   There is unfortunatly no consistent nor single way to make this
  1730.   determination -- this is one of the reasons that a move to PCSI
  1731.   installations is underway.
  1732.  
  1733.   On OpenVMS Alpha, you can use VMSINSTAL.HISTORY and PRODUCT SHOW
  1734.   PRODUCT to determine what packages have been installed via the
  1735.   VMSINSTAL and PCSI tools, respectively.
  1736.  
  1737.   To see which OpenVMS Alpha ECO kits have been applied, look in 
  1738.   VMSINSTAL.HISTORY on OpenVMS Alpha prior to V7.1-2, and use 
  1739.   PRODUCT SHOW PRODUCT/FULL on OpenVMS Alpha V7.1-2 and later.
  1740.  
  1741.   On OpenVMS VAX, you can use PRODUCT SHOW PRODUCT and (for
  1742.   software that is installed via VMSINSTAL on V7.3 and later)
  1743.   in VMSINSTAL.HISTORY.
  1744.  
  1745.   For products installed on OpenVMS VAX prior to V7.3 using
  1746.   VMSINSTAL, there is no reliable way to determine what products
  1747.   have been installed.  If the product provides a RELEASE_NOTES
  1748.   file (as many do), you can look for the list of these files
  1749.   via DIRECTORY SYS$HELP:*.RELEASE_NOTES.  Again, this approach
  1750.   is NOT reliable: some kits do not provide release notes, some 
  1751.   system managers will install only the release notes, some system 
  1752.   managers will delete release notes, and release notes for multiple 
  1753.   versions can be present.
  1754.  
  1755.   On most packages, you can generally use ANALYZE/IMAGE on one of the
  1756.   core images, looking at the image identification area.  Some of the
  1757.   product-specific mechanisms available are:
  1758.  
  1759.     DQS   DQS$VERSION logical name
  1760.     C     CC/VERSION
  1761.     C++   CXX/VERSION
  1762.  
  1763.  
  1764. ------------------------------------------------------------
  1765. MGMT44. Where can I get Fibre Channel Storage (SAN) information?
  1766.  
  1767.   http://www.openvms.compaq.com/openvms/fibre/index.html
  1768.  
  1769. ------------------------------------------------------------
  1770. MGMT45. How can I split up an OpenVMS Cluster?
  1771.  
  1772.   Review the VMScluster documentation, and the System Management
  1773.   documentation.  The following are the key points, but are likely
  1774.   not the only things you will need to change.
  1775.  
  1776.   OpenVMS Cluster support is directly integrated into the operating system,
  1777.   and there is no way to remove it.  You can, however, remote site-specific
  1778.   tailoring that was added for a particular cluster configuration.
  1779.  
  1780.   First: Create restorable image BACKUPs of each of the current system 
  1781.   disks.  If something gets messed up, you want a way to recover, right?
  1782.  
  1783.   Create standalone BACKUP kits for the OpenVMS VAX systems, and create
  1784.   or acquire bootable BACKUP kits for the OpenVMS Alpha systems.
  1785.  
  1786.   Use CLUSTER_CONFIG or CLUSTER_CONFIG_LAN to remove the various system
  1787.   roots and to shut off boot services and VMScluster settings.
  1788.  
  1789.   Create as many architecture-specific copies of the system disks as
  1790.   required.  Realize that the new systems will all likely be booting
  1791.   through root SYS0 -- if you have any system-specific files in any
  1792.   other roots, save them.
  1793.  
  1794.   Relocate the copies of the VMScluster common files onto each of the
  1795.   new system disks.
  1796.  
  1797.   Reset the console parameters and boot flags on each system for use
  1798.   on a standalone node.
  1799.  
  1800.   Reset the VAXCLUSTER and NISCS_LOAD_PEA0 parameters to 0 in SYSGEN
  1801.   and in MODPARAMS.DAT.
  1802.  
  1803.   Clobber the VMScluster group ID and password using SYSMAN.
  1804.  
  1805.   Reboot the systems seperately, and run AUTOGEN on each.
  1806.  
  1807.   Shut off MOP services via NCP or LANCP on the boot server nodes.
  1808.  
  1809.   Permanent seperation also requires the duplication of shared files.  
  1810.   The following files are typically shared within a cluster:
  1811.  
  1812.   Filename:              default directory (in common root) and file type:
  1813.     SYSUAF                      SYS$SYSTEM:.DAT
  1814.     SYSUAFALT                   SYS$SYSTEM:.DAT
  1815.     SYSALF                      SYS$SYSTEM:.DAT
  1816.     RIGHTSLIST                  SYS$SYSTEM:.DAT
  1817.     NETPROXY                    SYS$SYSTEM:.DAT
  1818.     NET$PROXY                   SYS$SYSTEM:.DAT
  1819.     NETOBJECT                   SYS$SYSTEM:.DAT
  1820.     NETNODE_REMOTE              SYS$SYSTEM:.DAT
  1821.     QMAN$MASTER                 SYS$SYSTEM: (this is a set of related files)
  1822.     LMF$LICENSE                 SYS$SYSTEM:.LDB
  1823.     VMSMAIL_PROFILE             SYS$SYSTEM:.DATA
  1824.     VMS$OBJECTS                 SYS$SYSTEM:.DAT
  1825.     VMS$AUDIT_SERVER            SYS$MANAGER:.DAT
  1826.     VMS$PASSWORD_HISTORY        SYS$SYSTEM:.DATA
  1827.     NETNODE_UPDATE              SYS$MANAGER:.COM
  1828.     VMS$PASSWORD_POLICY         SYS$LIBRARY:.EXE
  1829.     LAN$NODE_DATABASE           SYS$SYSTEM:LAN$NODE_DATABASE.DAT
  1830.  
  1831.   Information on changing node names is included in MGMT9.
  1832.  
  1833.  
  1834. ------------------------------------------------------------
  1835. MGMT46. What file checksum tools are available for OpenVMS?
  1836.  
  1837. The undocumented DCL command CHECKSUM is the usual means, and provides
  1838. a rather simple-minded checksum suitable to detect basic file corruptions.
  1839. For information and an OpenVMS version of the MD5 checksum tool, see:
  1840.  
  1841.   http://www.service.digital.com/svctools/decevent/md5-instructions.html
  1842.  
  1843. The OpenVMS Alpha ECO (patch) kit checksums available at the ECO website
  1844. are determined using the following DCL command sequence:
  1845.  
  1846.   CHECKSUM kitname.pcsi-dcx_axpexe
  1847.   SHOW SYMBOL CHECKSUM$CHECKSUM
  1848.  
  1849. See MGMT25 for information on acquiring OpenVMS ECO (patch) kits.
  1850.  
  1851. ------------------------------------------------------------
  1852. MGMT47.  Configuring Cluster SCS for path load balancing?
  1853.  
  1854.  
  1855. SCS: Systems Communication Services.  The protocol used to communicate 
  1856. between VMSCluster systems and between OpenVMS systems and SCS-based
  1857. storage controllers.  (SCSI-based storage controllers do not use SCS.)
  1858.  
  1859. PORT: A communications device, such as DSSI, CI, Ethernet or FDDI.  Each 
  1860. CI or DSSI bus is a different local port, named PAA0, PAB0, PAC0 etc. 
  1861. All Ethernet and FDDI busses make up a single PEA0 port.  
  1862.  
  1863. VIRTUAL CIRCUIT: A reliable communications path established between a 
  1864. pair of ports.  Each port in a VMScluster establishes a virtual circuit 
  1865. with every other port in that cluster.
  1866.  
  1867. All systems and storage controllers establish "Virtual 
  1868. Circuits" to enable communications between all available pairs of ports.
  1869.  
  1870. SYSAP: A "system application" that communicates using SCS.  Each SYSAP
  1871. communicates with a particular remote SYSAP.  Example SYSAPs include:
  1872.  
  1873.   VMS$DISK_CL_DRIVER connects to MSCP$DISK
  1874.     The disk class driver is on every VMSCluster system.
  1875.     MSCP$DISK is on all disk controllers and all VMSCluster
  1876.     systems that have SYSGEN parameter MSCP_LOAD set to 1
  1877.  
  1878.   VMS$TAPE_CL_DRIVER connects to MSCP$TAPE
  1879.     The tape class driver is on every VMSCluster system.
  1880.     MSCP$TAPE is on all tape controllers and all VMSCluster
  1881.     systems that have SYSGEN parameter TMSCP_LOAD set to 1
  1882.  
  1883.   VMS$VAXCLUSTER connects to VMS$VAXCLUSTER
  1884.     This SYSAP contains the connection manager, which manages 
  1885.     cluster connectivity, runs the cluster state transition 
  1886.     algorithm, and implements the cluster quorum algorithm. 
  1887.     This SYSAP also handles lock traffic, and various other 
  1888.     cluster communications functions.
  1889.  
  1890.   SCS$DIR_LOOKUP connects to SCS$DIRECTORY
  1891.     This SYSAP is used to find SYSAPs on remote systems
  1892.  
  1893.   MSCP and TMSCP 
  1894.     The Mass Storage Control Protocol and the Tape MSCP servers
  1895.     are SYSAPs that provide access to disk and tape storage, 
  1896.     typically operating over SCS protocols.  MSCP and TMSCP 
  1897.     SYSAPs exist within OpenVMS (for OpenVMS hosts serving 
  1898.     disks and tapes), within CI- and DSSI-based storage 
  1899.     controllers, and within host-based MSCP- or TMSCP storage 
  1900.     controllers.  MSCP and TMSCP can be used to serve MSCP and
  1901.     TMSCP storage devices, and can also be used to serve SCSI
  1902.     and other non-MSCP/non-TMSCP storage devices.
  1903.  
  1904. SCS CONNECTION: A SYSAP on one node establishes an SCS connection to its 
  1905. counterpart on another node.  This connection will be on ONE AND ONLY ONE 
  1906. of the available virtual circuits.
  1907.  
  1908.   ----
  1909.  
  1910. When there are multiple virtual circuits between two OpenVMS systems 
  1911. it is possible for the VMS$VAXCLUSTER to VMS$VAXCLUSTER connection to 
  1912. use any one of these circuits.  All lock traffic between the two systems 
  1913. will then travel on the selected virtual circuit.
  1914.  
  1915. Each port has a "LOAD CLASS" associated with it.  This load class helps 
  1916. to determine which virtual circuit a connection will use.  If one port 
  1917. has a higher load class than all others then this port will be used.  
  1918. If two or more ports have equally high load classes then the connection 
  1919. will use the first of these that it finds.  Normally all CI and DSSI 
  1920. ports have a load class of 14(hex), the Ethernet/FDDI port has a load 
  1921. class of A(hex).
  1922.  
  1923. For instance, if you have multiple DSSI busses and an FDDI, the 
  1924. VMS$VAXCLUSTER connection will chose the DSSI bus as this path has the 
  1925. system disk, and thus will always be the first DSSI bus discovered when
  1926. the OpenVMS system boots.
  1927.  
  1928. To force all lock traffic off the DSSI and on to the FDDI, an adjustment
  1929. to the load class value is required, or the SCS port must be disabled.
  1930.  
  1931. Note that with PE ports, you can typically immediately re-enable the path, 
  1932. permitting failover to occur should congestion or a problem arise -- a 
  1933. running average of the path latency is checked when the virtual circuit 
  1934. is formed, and at periodic intervals (circa every three seconds), and when 
  1935. a problem with a virtual circuit arises. 
  1936.  
  1937. In the case of PEDRIVER, the driver handles load balancing among the 
  1938. available Ethernet and FDDI connections based on the lowest latency 
  1939. path available to it.  Traffic will be routed through that path until
  1940. an event occurs that requires a fail-over.
  1941.  
  1942. In all OpenVMS versions, you can use the tools:
  1943.  
  1944.   SYS$EXAMPLES:LAVC$STOP_BUS 
  1945.   SYS$EXAMPLES:LAVC$START_BUS 
  1946.  
  1947. These tools permit you to disable or enable all SCS traffic on the
  1948. on the specified paths.
  1949.  
  1950. You can also use a prefered path mechanism that tells the local MSCP 
  1951. disk driver (DUDRIVER) which path to a disk should be used.  Generally, 
  1952. this is used with dual-pathed disks, forcing I/O traffic through one 
  1953. of the controllers instead of the other.  This can be used to implement 
  1954. a crude form of I/O load balancing at the disk I/O level.
  1955.  
  1956. Prior to V7.2, the prefered path feature uses the tool:
  1957.  
  1958.   SYS$EXAMPLES:PREFER.MAR
  1959.  
  1960. In OpenVMS V7.2 and later, you can use the following DCL command:
  1961.  
  1962.   SET PREFERED_PATH
  1963.  
  1964. The prefered path mechanism does not disable nor affect SCS operations
  1965. on the non-prefered path.
  1966.                               [Kevin Jenkins, Verell Boaen, John Croll]
  1967.  
  1968. ------------------------------------------------------------
  1969. MGMT48. What (and where) is the OpenVMS Management Station?
  1970.  
  1971.   For information and current kits for the OpenVMS Management Station
  1972.   (OMS), a PC-based tool that permits you to manage an OpenVMS system, 
  1973.   please see:
  1974.  
  1975.     http://www.openvms.compaq.com/openvms/products/argus/
  1976.  
  1977. ------------------------------------------------------------
  1978. MGMT49. How to determine current disk fragmentation level?
  1979.  
  1980.   The Compaq OpenVMS Disk File Optimizer (DFO) defragmentation package 
  1981.   provides a fragmentation monitoring tool, and a DFO product authorization 
  1982.   key (PAK) is not required for the fragmentation reporting tool:
  1983.  
  1984.   $ DEFRAG SHOW/VOLUME ddcu:
  1985.  
  1986.   The DFU tool available on the OpenVMS Freeware can generate a report 
  1987.   on the disk fragmentation:
  1988.  
  1989.   DFU> REPORT ddcu:
  1990.  
  1991.  
  1992. ------------------------------------------------------------
  1993. MGMT50. SYSBOOT-I-FILENOTLOC, Unable to locate SYS$CPU_ROUTINES?
  1994.  
  1995.   A message at the OpenVMS bootstrap such as the following:
  1996.  
  1997. %SYSBOOT-I-FILENOTLOC, Unable to locate SYS$CPU_ROUTINES_1C02.EXE
  1998. %SYSBOOT-E-LDFAIL, failed to load execlet, status = 00000910
  1999.  
  2000.   indicates that the particular OpenVMS release does not contain
  2001.   support for the target platform.  In this case, OpenVMS does
  2002.   not recognize Alpha family 1C member 02 as a supported platform.
  2003.   A later version of OpenVMS might support the platform, or there
  2004.   might be no support on any release.
  2005.  
  2006.   The execlet load failure and other similar bootstrap status values 
  2007.   can often be decoded using either of the following techniques:
  2008.  
  2009. $ exit %x910
  2010. %SYSTEM-W-NOSUCHFILE, no such file
  2011. $
  2012.  
  2013. $ x = f$message(%x910)
  2014. $ show symbol x
  2015.   X = "%SYSTEM-W-NOSUCHFILE, no such file"
  2016. $
  2017.  
  2018. ------------------------------------------------------------
  2019. MGMT51. How can I customize the DCPS device control for a new printer?
  2020.  
  2021.   To customize DCPS for an otherwise unsupported printer, you can try
  2022.   the following sequence:
  2023.  
  2024.   o Extract the most closely-associated setup modules from the existing 
  2025.     device control library, DCPS$DEVCTL.TLB.  (For instance, you can 
  2026.     probably extract and use the HP LaserJet 4000 series definitions 
  2027.     for the HP LaserJet 4050 series.  Each printer will vary, please
  2028.     consult the printer documentation for specifics and requirements.)
  2029.  
  2030.   o rename each extracted setup module to a corresponding:
  2031.       LPS$$UNRECOGNIZED_*
  2032.  
  2033.   o Insert all of the above-renamed setup modules into a newly-created 
  2034.     device control library specific to the new printer:
  2035.       $ LIBRARY/TEXT/CREATE -
  2036.           SYS$COMMON:[SYSLIB]HP4050_DEVCTL.TLB 
  2037.           LPS$$UNRECOGNIZED*
  2038.  
  2039.     The above assumes the filename HP4050_DEVCTL.TLB, alter as required.
  2040.  
  2041.   o Set up your DCPS startup procedures to include a search-list logical
  2042.     name such as:
  2043.  
  2044.      $ DEFINE/SYSTEM/EXECUTIVE DCPS_HP4050_LIB  -
  2045.          SYS$LIBRARY:HP4050_DEVCTL.TLB, -
  2046.          SYS$LIBRARY:DCPS$DEVCTL.TLB
  2047.  
  2048.   o Supply DCPS_HP4050_LIB as the library parameter in the queue startup 
  2049.     for this printer, this is the P3 parameter to the command procedure
  2050.     SYS$STARTUP:DCPS$EXECUTION_QUEUE.COM.
  2051.  
  2052.   o The HP4050_DEVCTL library may/will need to be recreated and modules
  2053.     re-edited and replaced with each DCPS upgrade, particularly if any
  2054.     modules are updated in the original library.  You will also want to
  2055.     determine if the upgraded version of DCPS directly supports the 
  2056.     particular printer.
  2057.  
  2058.   o To customize the processing of file extensions within DCPS (to
  2059.     enable or disable graybar output, for instance), use the information 
  2060.     available in:
  2061.  
  2062.       SYS$LIBRARY:DCPS$FILE_EXTENSION_DATA_TYPE.DAT_DEFAULT
  2063.  
  2064.     to create your own site-specific:
  2065.  
  2066.       SYS$LIBRARY:DCPS$FILE_EXTENSION_DATA_TYPE.DAT
  2067.  
  2068.   Also see MGMT23.
  2069.                                          [Ken Fairfield, with typos 
  2070.                                          introduced by Stephen Hoffman]
  2071.  
  2072. ------------------------------------------------------------
  2073. MGMT52. Why do $GETDEV MOUNTCNT and SHOW DEVICE mount counts differ?
  2074.  
  2075.   MOUNTCNT returns the local mount count, while SHOW DEVICE returns
  2076.   the cluster-wide mount count.
  2077.  
  2078.                                          [Stephen Hoffman]
  2079.  
  2080. ------------------------------------------------------------
  2081. MGMT53. What software is needed for Postscript printers?
  2082.  
  2083.   The NorthLake PrintKit (http://www.nls.com/) and DECprint Supervisor
  2084.   (DCPS; http://www.openvms.compaq.com/openvms/Print/print_sw_prods.html)
  2085.   are common choices for support of Postscript printers on OpenVMS.
  2086.  
  2087. ------------------------------------------------------------
  2088. MGMT54. Does volume shadowing require a non-zero allocation classes?
  2089.  
  2090.   Yes, use of host-based volume shadowing requires that the disk(s)
  2091.   involved be configured in a non-zero allocation class.
  2092.  
  2093.   Edit SYS$SYSTEM:MODPARAMS.DAT to include a declaration of an
  2094.   non-zero allocation class, such as setting the host allocation 
  2095.   class to the value 7:
  2096.  
  2097.   ALLOCLASS = 7
  2098.  
  2099.   Then AUTOGEN the system, and reboot.
  2100.  
  2101.   You should now be able to form the shadow set via a command such
  2102.   as the following:
  2103.  
  2104.     MOUNT dsa1007: /SHADOW=($7$dkb300:,$7$dkb500:) volumelabel
  2105.  
  2106.   When operating in an OpenVMS Cluster, this sequence will typically
  2107.   change the disk names from the SCSNODE prefix (scsnode$dkann) to
  2108.   the allocation-class prefix ($7$dkannn).  This may provide you with
  2109.   the opportunity to move to a device-independent scheme using logical
  2110.   name constructs such as the DISK$volumelabel logical names in your
  2111.   startup and application environments; an opportunity to weed out
  2112.   physical device references.
  2113.                                               [Veli Korkko]
  2114.  
  2115. ------------------------------------------------------------
  2116. MGMT55. section duplicated MGMT28
  2117.  
  2118. ------------------------------------------------------------
  2119. MGMT56. How do I remove a PCSI-installed patch (ECO) kit?
  2120.  
  2121. You cannot PRODUCT REMOVE a PCSI patch (ECO) kit.
  2122.  
  2123. In order to do this, PCSI would have to have copies of all the other 
  2124. version of the files from all other patches and products that previously 
  2125. were installed.  This can clearly involve a large number of files and
  2126. a large archive of old file versions and a substantial quantity of
  2127. disk space.  While removal is clearly theoretically possible, it is
  2128. not currently implemented.
  2129.  
  2130. The following is the supported mechanism to remove a PCSI patch kit.
  2131.  
  2132. (1) Execute a PRODUCT SHOW PRODUCE <product-name. /FULL command.
  2133.     The "MAINTENANCE" column (132 col width) shows the patches that
  2134.     have been installed.  Keep a copy of this.
  2135.  
  2136. (2) Re-install the prior FULL version of the product.  This will
  2137.     remove all patch kits, setting to product back to "original" 
  2138.     condition.
  2139.  
  2140. (3) Re-install all the patches in the list from step 1, *EXCEPT*
  2141.     those which you have determined you do not want.
  2142.  
  2143. The above information also applies to PCSI PARTIAL kits.
  2144.  
  2145. ------------------------------------------------------------
  2146. MGMT57. SYSINIT-E, error mounting system device, status=0072832C
  2147.  
  2148.   This message can arise during an OpenVMS system bootstrap...
  2149.  
  2150.   %MOUNT-F-DIFVOLMNT, different volume already mounted on this device
  2151.  
  2152.   For details and further information, use the DCL command:
  2153.  
  2154.     $ HELP/MESSAGE /STATUS=%X72832C
  2155.  
  2156. ------------------------------------------------------------
  2157. MGMT58. Performing SET HOST/MOP in DECnet-Plus?
  2158.  
  2159.   First, do MCR NCL SHOW MOP CIRCUIT *
  2160.  
  2161.   Let's say you have a circuit known as FDDI-0.
  2162.   Here is an example of the SET HOST/MOP command syntax:
  2163.  
  2164.     $ SET HOST/MOP/ADDRESS=08-00-2B-2C-5A-23/CIRCUIT=FDDI-0
  2165.  
  2166.   Also see MGMT13.
  2167.  
  2168. ------------------------------------------------------------
  2169. MGMT59. Resolving License PAK Problems?
  2170.  
  2171.   The PAK release date, the PAK termination date, and the PAK version
  2172.   are the usual culprits when a license product authorization key (PAK)
  2173.   check failure occurs.
  2174.  
  2175.   The PAK termination date is the date when the license PAK will expire.
  2176.  
  2177.   The PAK release date is the date of the most recent release date of the
  2178.   software package that will be permitted by the particular license PAK.
  2179.   (The release date check is analogous to a product version check.)
  2180.   The PAK version indicates the most recent product version that is
  2181.   permitted by the license.
  2182.  
  2183.   Having multiple license PAKs registered (and active) can also cause
  2184.   problems if an expired PAK gets loaded.  You will want to DISABLE
  2185.   license PAKs you do not wish to have loaded.
  2186.  
  2187.   Other problems include a failure to register each PAK in all license
  2188.   databases throughout a multiple-system-disk cluster, with a consistent
  2189.   set of /INCLUDE lists specified across each of the duplicated PAKs.
  2190.  
  2191.   Additionally, you could have an invalid LMF$LICENSE logical name defined.
  2192.   (If no LMF$LICENSE logical name is defined, the standard license database
  2193.   named SYS$SYSTEM:LMF$LICENSE.LDB will be used.)
  2194.  
  2195.   You can display license failures by defining the following logical name:
  2196.  
  2197.     DEFINE/SYS/EXEC LMF$DISPLAY_OPCOM_MESSAGE TRUE
  2198.  
  2199.   Enable your terminal as a license operator (REPLY/ENABLE=LICENSE), define
  2200.   the LMF$DISPLAY_OPCOM_MESSAGE logical name, and then try the failing
  2201.   operation again.  You should see one or more OPCOM messages displayed.
  2202.  
  2203.   If you have the LMF$DISPLAY_OPCOM_MESSAGE logical name defined, you can
  2204.   (will?) see spurious license check failures -- various products will
  2205.   check for multiple licenses, and a few products will check for PAKs that
  2206.   either have not yet been or will not be issued.  Once you figure out which
  2207.   license has failed, you will want to deassign this logical name.
  2208.  
  2209.   Note: that there is no license check failure does NOT indicate that
  2210.   the particular product or operation is permissible per the license.
  2211.  
  2212.   To register a license PAK on a DECwindows system when DECwindows cannot
  2213.   start (because of an expired license or other licensing problem), follow 
  2214.   the steps outlined in section MGMT5 up through step 4 (inclusive).  Using 
  2215.   the console -- analogous to what is done in step 5 to access the OpenVMS
  2216.   AUTHORIZE utility -- use the console to register the license PAKs.
  2217.  
  2218.  
  2219.  
  2220. [End of Part 2/5]
  2221.  
  2222.  --------------------------- pure personal opinion ---------------------------
  2223.    Hoff (Stephen) Hoffman   OpenVMS Engineering   hoffman#xdelta.zko.dec.com
  2224.  
  2225.