Find out which
transaction logs are on the disk you want to dismount, using LMCP's
SHOW LOG command:
$RUN SYS$SYSTEM:LMCPLMCP>SHOW LOG
Stop all the software that uses DECdtm services,
if you can do so without shutting down any nodes. If you cannot stop the software, reboot one or more nodes
in step 3.
For each transaction log on the disk:
Log in to
the node that the transaction log belongs to.
Rename the transaction log: RENAME dirspecSYSTEM$node.LM$JOURNAL dirspecSYSTEM$node.LM$TEMPwhere:
dirspec
is the full specification
of the directory containing the transaction log.
node
is the name of the node that the transaction
log belongs to.
Did you stop all the software that uses DECdtm services
in step 2?
Yes
Close the transaction log
as follows:
Step
Action
1)
Close the transaction log using LMCP's CLOSE LOG command:
$ RUN SYS$SYSTEM:LMCP
LMCP> CLOSE LOG
The CLOSE LOG command closes the transaction log and stops the DECdtm TP_SERVER
process. The command fails if any software is using DECdtm services.
2)
Did the CLOSE LOG command succeed?
Yes
Restart the TP_SERVER process:
$ @SYS$STARTUP:DECDTM$STARTUP.COM
No
Wait for 30 seconds, then repeat step 3c.
No
Close the transaction log by rebooting
the node. Log in to the node when it has rebooted.
Dismount the disk. For instructions on how to dismount
a disk, see
Dismounting a Disk.
When you want to mount the disk again, follow these
steps:
Mount the
disk. For instructions on how to mount a disk, see ***Section 9.5***. If you are in a cluster, mount the disk clusterwide.
Rename each transaction log on the disk: RENAME dirspecSYSTEM$node.LM$TEMP dirspecSYSTEM$node.LM$JOURNALwhere:
dirspec
is the full specification
of the directory containing the transaction log.
node
is the name of the node that the transaction
log belongs to.
If you stopped the software that uses DECdtm services,
restart the software.