skip book previous and next navigation links
go up to top of book: HP OpenVMS System Manager's Manual, Volume 2:... HP OpenVMS System Manager's Manual, Volume 2:...
go to beginning of chapter: Managing DECdtm Services Managing DECdtm Services
go to previous page: Adding a Node Adding a Node
go to next page: Disabling DECdtm ServicesDisabling DECdtm Services
end of book navigation links

Removing a Node  



This section describes how to remove a node if you are using DECdtm services.

How to Perform This Task

If you have a standalone machine, perform steps 1 to 8 only.


CautionFollow all the steps carefully. Taking shortcuts can lead to data corruption.

  1. Log in to the node that you want to remove.
  2. Stop all the software that uses DECdtm services.
  3. Find out whether the node's transaction log contains any active transactions, using LMCP's DUMP/ACTIVE command:DUMP/ACTIVE SYSTEM$node.LM$JOURNALwhere node is the name of the node that you want to remove.

    This command displays details of all the active transactions. The last line gives the total number of active transactions.
  4. If the transaction log contains active transactions, follow these steps:

    1. Run recovery procedures for all software that uses DECdtm services.
    2. Find out if the node's transaction log still contains active transactions, using LMCP's DUMP/ACTIVE command.
    3. If the transaction log still contains active transactions, contact your HP support representative.
  5. Redefine SYS$JOURNAL to exclude the directory that contains the transaction log of the node you want to remove, unless the directory contains other transaction logs. DEFINE/SYSTEM/EXECUTIVE_MODE SYS$JOURNAL dirspec[,...] where dirspec is the full specification of a directory containing one or more transaction logs. List all the directories that contain any transaction logs other than the transaction log of the node you are removing. You can list the directories in any order.

    In a cluster, use SYSMAN to redefine SYS$JOURNAL clusterwide.
  6. If you redefined SYS$JOURNAL in step 5, edit the SYS$MANAGER:SYLOGICALS.COM command procedure to update the SYS$JOURNAL definition.

    If you created node-specific versions of SYLOGICALS.COM, edit all the versions.
  7. Archive the transaction log.
  8. Shut down the node.
  9. Restart the software that uses DECdtm services.
  10. Reconfigure the cluster to remove the node.

    For information about how to reconfigure a cluster, refer to OpenVMS Cluster Systems.

Example

This example shows how to remove the node BLUE. In this example, the cluster members and the locations of their transaction logs are as follows:

Node Directory Containing Log
BLUE
DISK$LOG3:[LOGFILES]
RED
DISK$LOG2:[LOGFILES]
WHITE
DISK$LOG4:[LOGFILES]

None of the nodes has a node-specific version of the SYLOGICALS.COM command procedure.

Log in to node BLUE.

Stop all the software that uses DECdtm services. Then find out if BLUE's transaction log contains any active transactions:

$ RUN SYS$SYSTEM:LMCP
LMCP> DUMP/ACTIVE SYSTEM$BLUE.LM$JOURNAL

Dump of log file DISK$LOG3:[LOGFILES]SYSTEM$BLUE.LM$JOURNAL
.
.
.
Total of 0 transactions active, 0 prepared and 0 committed.
LMCP> EXIT
Redefine SYS$JOURNAL:
$ RUN SYS$SYSTEM:SYSMAN
SYSMAN> SET ENVIRONMENT/CLUSTER
SYSMAN> DO DEFINE/SYSTEM/EXECUTIVE_MODE SYS$JOURNAL - 
_SYSMAN> DISK$LOG2:[LOGFILES], DISK$LOG4:[LOGFILES]
SYSMAN> EXIT
Edit the SYS$MANAGER:SYLOGICALS.COM command procedure to update the SYS$JOURNAL definition.

Archive BLUE's transaction log. Then shut down node BLUE:

$ @SYS$SYSTEM:SHUTDOWN.COM
.
.
.

Should an automatic system reboot be performed [NO]? NO
Restart the software that uses DECdtm services. Then reconfigure the cluster:
$ @SYS$STARTUP:CLUSTER_CONFIG.COM

       Cluster Configuration Procedure
 
            1. ADD a node to a cluster.
            2. REMOVE a node from the cluster.
            3. CHANGE a cluster member's characteristics.
            4. CREATE a duplicate system disk for BLUE.
 
    Enter choice [1]: 2
.
.
.
 Updating network database...
 The configuration procedure has completed successfully.

go to previous page: Adding a Node Adding a Node
go to next page: Disabling DECdtm ServicesDisabling DECdtm Services