Before a node can perform DECdtm transactions, you must createa transaction log for the node. In an OpenVMS Cluster environment,create a transaction log for each node.
Removing a node from a cluster after you have createdthe transaction logs can lead to data corruption. For instructionson how to remove a node safely, see Removing a Node.
Foreach node, decide the size and location of the transaction log,using the guidelines in Planning Transaction Logs. Remember that the disks must have enough contiguous spaceto hold the transaction logs.
If you are in a cluster environment,make sure that the disks on which you want to create the transaction logsare mounted clusterwide.
Decide in which directoriesyou want to create the transaction logs. You may want to createnew directories for the transaction logs.
Define SYS$JOURNAL to point to the directories inwhich you want to create the transaction logs: DEFINE/SYSTEM/EXECUTIVE_MODESYS$JOURNAL dirspec[,...]where dirspec is the full specification of a directory in whichyou want to create one or more transaction logs. List all the directoriesthat will contain transaction logs. You can list the directoriesin any order. In a cluster environment, use SYSMAN to define SYS$JOURNALclusterwide.
Edit the SYS$MANAGER:SYLOGICALS.COM command procedureto include the SYS$JOURNAL definition. If you created node-specific versions of SYLOGICALS.COM, editall the versions.
Create one transaction log for each node, usingLMCP's CREATE LOG command: CREATE LOG [/SIZE=size] dirspecSYSTEM$node.LM$JOURNAL where:
size
is the size of the transactionlog in blocks. By default, the size of the transaction log is 4000 blocks.
dirspec
is the full specificationof the directory in which you want to create the transaction log.
node
is the name of the node.
Make sure DECdtm services are enabled as follows:
Step
Action
a.
Check whether the logicalSYS$DECDTM_INHIBIT is defined:
$SHOW LOGICAL SYS$DECDTM_INHIBIT
b.
Is SYS$DECDTM_INHIBIT defined?
Yes
DECdtm services are disabled. Enable DECdtm servicesby following the instructions in Disabling DECdtm Services.
This example shows how to create transaction logs in an OpenVMSCluster that consists of two nodes whose SCSNODE names are BLUEand RED. Neither node has a node-specific version of SYLOGICALS.COM.
Decide the size and location of the transaction logs: