Difference between revisions of "Configuring VAX DSM"
Jump to navigation
Jump to search
(Created page with "This procedure assumes DSM is installed, and you are configuring it in an account that has not yet been used with DSM. The user account will need <code>SYSPRV</code> and <code...") |
(No difference)
|
Latest revision as of 09:08, 14 January 2025
This procedure assumes DSM is installed, and you are configuring it in an account that has not yet been used with DSM. The user account will need SYSPRV and TMPMBX process privileges.
Initializing User Account for DSM
- Type
SET PROC/PRIV=(SYSPRV,TMPMBX) - Create a
DSMsubdirectory in your home directory (i.e., if your account name isMYACCTand your home directory isDSA1:[MYACCT], typeCRE/DIR DSA1:[MYACCT.DSM] - Run
@SYS$MANAGER:DSM$INIT- Enter your username at the
Enter the account name to use with DSM >prompt - Press
ENTERat theDo you want to continue [Y OR N] ? <Y>prompt - Press
ENTERat theAre there any additional Cluster members not currently booted that you would like to add to this list [Y OR N] ? <N>prompt - Press
ENTERat theCreate similar directories on other disk devices [Y OR N] ? <N>prompt - Press
ENTERat thePress RETURN to continue listing ...prompts until you reach theDo you want to edit this command procedure [Y OR N] ? <N>prompt - Press
ENTERat theDo you want to edit this command procedure [Y OR N] ? <N>prompt - Press
YandENTERat theDo you want to run this command procedure now [Y OR N] ? >prompt - Press
ENTERat theAccount initialized - press return to continueprompt
- Enter your username at the
Creating a DSM Volume Set
- Type
@SYS$MANAGER:DSM$CONFIGURE - Press
ENTERat theDo you want to create a new DSM database volume Set [Y OR N] ? <Y>prompt - Enter a 3-character identifier at the
Enter the 3-character name for the volume set >prompt (best to choose an identifier that makes sense for the application(s) to be hosted in this DSM configuration) - Press
ENTERat theCreate a DSM Volume in which file ?prompt - Enter a block count at the
Enter desired size of this volume in 1 KB DSM blocks >prompt (I typically start with 120000 blocks) - Press
ENTERat theInitialize as a SYSTEM or APPLICATION volume set [S or A] <s>prompt to create anSYSTEMvolume set (APPLICATIONvolume sets are outside the scope of this article) - Enter the maximum number of globals you'll use in the volume set at the
Enter the maximum number of globals allowable on this volume set <90> - Enter
Yat theAllow expanded string lengths on this volume set [Y OR N] ? <N>prompt - Choose a volume label at the
What would you like the new label of this volume to be ? (up to 20 characters) >prompt (again, it is best practice to choose a volume label that makes sense for the application(s)) - DSM will initialize the volume set at this point, which may take a few minutes, depending on the I/O performance of your VAX
Defining a DSM Configuration
This will happen automatically as soon as the volume set is configured.
- You can choose either
YorNat theWould you like extended help [Y OR N] ? <N>prompt - Press
ENTERat theEnter the configuration identifier <1>prompt - Press
ENTERat the1 is not currently defined, define it now [Y OR N] ? <Y>prompt - For disk buffers, I typically choose a small number to reduce memory footprint (say, 300), but you can go higher if memory capacity permits for increased performance
- I typically do NOT use nonpaged memory for these buffers, but again, for a performance-sensitive environment, I would recommend using nonpaged memory to avoid thrashing the swap volume
- Enter the desired number of maximum users at the
Enter the maximum number of DSM users <128>prompt (for a development system, I typically go with 10, but some applications may require more users to run at all) - I typically answer
Nat theEnable configuration access control [Y OR N] ? >prompt for a dev system, but it is strongly recommended that you enable it for production usage, which is outside the scope of this article - I typically choose
Nat theInclude support for Routine/Global Performance Histograms [Y OR N] ? <N> - Press
ENTERat theNumber of database sets in this configuration <1>prompt - Press
ENTERat theName of database set #1 ...prompt (this prompt will also show the 3-character identifier chosen in step 3 of Creating a DSM Volume Set) - Press
ENTERat theNNN not defined. Define it now [Y OR N] ? <Y>prompt (whereNNNrepresents the 3-character identifier of the volume set) - Press
ENTERat theIs this a VMS DSM, Transaction or DSM-11 database set [V, T or D] <V>prompt - Press
ENTERat theMount NNN for READ-ONLY access [Y OR N] ? <N>prompt - Press
YandENTERat theMount NNN for clusterwide access [Y OR N] ? <N>prompt - Press
ENTERat theName of the volume set <NNN>prompt - Press
ENTERat theEnter the number of volumes in volume set NNN <1>prompt - Press
ENTERat theFile name of NNN volume 1prompt - Press
ENTERat theBIJ Journal file nameprompt - Press
YandENTERat theAre you sure you want to include this file [Y OR N] ?prompt (we will create the before-image journal in a future step) - Press
YandENTERat theEnable After-Image Journaling for this database set [Y OR N] ? <N>prompt - Press
ENTERat theNumber of AIJ journal files <1>prompt - Press
ENTERat theFile name of AIJ file #1prompt - Press
YandENTERat theAre you sure you want to include this file [Y OR N] ? <N>prompt (we will create the after-image journal in a future step) - Press
ENTERat theMessage text when closing this AIJ file >prompt - Press
YandENTERat thePrint console message when database set is nearly full [Y OR N] ? <N>prompt - Press
ENTERat theSend message at what percentage full <90>prompt - Press
ENTERat theIs this configuration a database set master for SMX [Y OR N] ? <Y>prompt - Press
ENTERat theModify default After-Image Journaling characteristics [Y OR N] ? <N>prompt - Enter a 3-character name at the
Enter a unique 3 character DDP node name >prompt (I use the same name as the volume set identifier, typically) - Press
ENTERat theStart DDP servers during configuration startup [Y OR N] ? <Y>prompt - Press
ENTERat theEnter the number of DDP servers to start ? <3> - Press
ENTERat theSend DDP status messages to the operator's console [Y OR N] ? <Y>prompt - Press
ENTERat theEnter DDP GROUPS to enable <0>,Enter the REQUEST RETRY MAXIMUM <4>,Enter the REQUEST RETRY INTERVAL <3>,Enter the REQUEST CREDIT MAXIMUM <20>, andPress <RETURN> to continue:prompts - Press
ENTERat theEnter the TRANSMIT BUFFER DELAY increment <0>,Enter the DDP MULTICAST ADVERTISING INTERVAL <6>, andInclude CIRCUIT CONNECTION SECURITY [Y OR N] ? <N>prompts - Enter
0at theEnter the number of DDP links in this configuration >prompt (configuring non-dummy DDP links is outside the scope of this article) - Press
ENTERat theModify GLOBAL characteristics [Y OR N] ? <N>prompt - Press
ENTERat theInclude support for mapped routines [Y OR N] ? <N>prompt - Press
ENTERat theModify DSM default command line qualifiers [Y OR N] ? <N>prompt - Press
ENTERat theModify Global Translation Tables [Y OR N] ? <N>prompt - Press
ENTERat theModify $H date for this configuration [Y OR N] ? <N>prompt - Press
ENTERat theShow configuration memory requirements [Y OR N] ? <N>prompt - Enter
Nat theStartup configuration 1 [Y OR N] ? >prompt (we still need to create before-image and after-image journals before starting up the configuration)
Defining After-Image Journals
- At the DCL prompt, type
DSM/MANAGER - Type
D ^JRNINIT - At the
Initialize DSM After-Image Journal file for which volume set >prompt, enter the 3-character volume set identifier you chose in step 3 of Creating a DSM Volume Set - Press
ENTERat theFile name of DSM Volume 1prompt - Press
ENTERat theEnter the journal file nameprompt - Enter
2000or more at theEnter the maximum size of this file in 512 byte blocks >prompt - Press
YandENTERat theAre you sure you want to continue [Y OR N] ? <N>prompt
DSM will now initialize the after-image journal file, which may take a few moments.
Defining Before-Image Journals
- Type
D ^BIJINITat the DSM prompt - At the
Initialize DSM Before-Image Journal file for which volume set >prompt, enter the 3-character volume set identifier you chose in step 3 of Creating a DSM Volume Set - Press
ENTERat theFile name of DSM Volume 1 for NNNprompt - Press
ENTERat theName of BEFORE-IMAGE journal file for NNNprompt - Press
ENTERat theEnter the SIZE (in DSM 1024-byte blocks) of the file <8000>prompt
DSM will now initialize the before-image journal file, which may take a few moments.
Starting the Configuration
- At the DSM prompt, type
D ^STU - Press
ENTERat theEnter the configuration identifier <1>prompt - Press
ENTERat theEnable user logins on startup [Y OR N] ? <Y>prompt