Configuring VAX DSM
Jump to navigation
Jump to search
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
DSM
subdirectory in your home directory (i.e., if your account name isMYACCT
and 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
ENTER
at theDo you want to continue [Y OR N] ? <Y>
prompt - Press
ENTER
at theAre there any additional Cluster members not currently booted that you would like to add to this list [Y OR N] ? <N>
prompt - Press
ENTER
at theCreate similar directories on other disk devices [Y OR N] ? <N>
prompt - Press
ENTER
at thePress RETURN to continue listing ...
prompts until you reach theDo you want to edit this command procedure [Y OR N] ? <N>
prompt - Press
ENTER
at theDo you want to edit this command procedure [Y OR N] ? <N>
prompt - Press
Y
andENTER
at theDo you want to run this command procedure now [Y OR N] ? >
prompt - Press
ENTER
at theAccount initialized - press return to continue
prompt
- Enter your username at the
Creating a DSM Volume Set
- Type
@SYS$MANAGER:DSM$CONFIGURE
- Press
ENTER
at 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
ENTER
at 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
ENTER
at theInitialize as a SYSTEM or APPLICATION volume set [S or A] <s>
prompt to create anSYSTEM
volume set (APPLICATION
volume 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
Y
at 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
Y
orN
at theWould you like extended help [Y OR N] ? <N>
prompt - Press
ENTER
at theEnter the configuration identifier <1>
prompt - Press
ENTER
at 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
N
at 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
N
at theInclude support for Routine/Global Performance Histograms [Y OR N] ? <N>
- Press
ENTER
at theNumber of database sets in this configuration <1>
prompt - Press
ENTER
at 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
ENTER
at theNNN not defined. Define it now [Y OR N] ? <Y>
prompt (whereNNN
represents the 3-character identifier of the volume set) - Press
ENTER
at theIs this a VMS DSM, Transaction or DSM-11 database set [V, T or D] <V>
prompt - Press
ENTER
at theMount NNN for READ-ONLY access [Y OR N] ? <N>
prompt - Press
Y
andENTER
at theMount NNN for clusterwide access [Y OR N] ? <N>
prompt - Press
ENTER
at theName of the volume set <NNN>
prompt - Press
ENTER
at theEnter the number of volumes in volume set NNN <1>
prompt - Press
ENTER
at theFile name of NNN volume 1
prompt - Press
ENTER
at theBIJ Journal file name
prompt - Press
Y
andENTER
at 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
Y
andENTER
at theEnable After-Image Journaling for this database set [Y OR N] ? <N>
prompt - Press
ENTER
at theNumber of AIJ journal files <1>
prompt - Press
ENTER
at theFile name of AIJ file #1
prompt - Press
Y
andENTER
at 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
ENTER
at theMessage text when closing this AIJ file >
prompt - Press
Y
andENTER
at thePrint console message when database set is nearly full [Y OR N] ? <N>
prompt - Press
ENTER
at theSend message at what percentage full <90>
prompt - Press
ENTER
at theIs this configuration a database set master for SMX [Y OR N] ? <Y>
prompt - Press
ENTER
at 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
ENTER
at theStart DDP servers during configuration startup [Y OR N] ? <Y>
prompt - Press
ENTER
at theEnter the number of DDP servers to start ? <3>
- Press
ENTER
at theSend DDP status messages to the operator's console [Y OR N] ? <Y>
prompt - Press
ENTER
at 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
ENTER
at theEnter the TRANSMIT BUFFER DELAY increment <0>
,Enter the DDP MULTICAST ADVERTISING INTERVAL <6>
, andInclude CIRCUIT CONNECTION SECURITY [Y OR N] ? <N>
prompts - Enter
0
at theEnter the number of DDP links in this configuration >
prompt (configuring non-dummy DDP links is outside the scope of this article) - Press
ENTER
at theModify GLOBAL characteristics [Y OR N] ? <N>
prompt - Press
ENTER
at theInclude support for mapped routines [Y OR N] ? <N>
prompt - Press
ENTER
at theModify DSM default command line qualifiers [Y OR N] ? <N>
prompt - Press
ENTER
at theModify Global Translation Tables [Y OR N] ? <N>
prompt - Press
ENTER
at theModify $H date for this configuration [Y OR N] ? <N>
prompt - Press
ENTER
at theShow configuration memory requirements [Y OR N] ? <N>
prompt - Enter
N
at 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
ENTER
at theFile name of DSM Volume 1
prompt - Press
ENTER
at theEnter the journal file name
prompt - Enter
2000
or more at theEnter the maximum size of this file in 512 byte blocks >
prompt - Press
Y
andENTER
at 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 ^BIJINIT
at 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
ENTER
at theFile name of DSM Volume 1 for NNN
prompt - Press
ENTER
at theName of BEFORE-IMAGE journal file for NNN
prompt - Press
ENTER
at 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
ENTER
at theEnter the configuration identifier <1>
prompt - Press
ENTER
at theEnable user logins on startup [Y OR N] ? <Y>
prompt