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 ServicesManaging DECdtm Services
go to previous page: Adding a NodeAdding 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 usingDECdtm services.

How to Perform This Task

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


CautionFollow all the steps carefully. Taking shortcutscan lead to data corruption.

  1. Log in to thenode that you want to remove.
  2. Stop all the software that uses DECdtm services.
  3. Find out whether the node's transaction log containsany active transactions, using LMCP's DUMP/ACTIVE command:DUMP/ACTIVE SYSTEM$node.LM$JOURNALwhere node is the name of the node thatyou 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 recoveryprocedures for all software that uses DECdtm services.
    2. Find out if the node's transaction log still containsactive 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 thatcontains the transaction log of the node you want to remove, unlessthe directory contains other transaction logs. DEFINE/SYSTEM/EXECUTIVE_MODE SYS$JOURNAL dirspec[,...] where dirspec is the full specification of a directory containingone or more transaction logs. List all the directories that containany transaction logs other than the transaction log of the nodeyou 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 theSYS$MANAGER:SYLOGICALS.COM command procedure to update the SYS$JOURNALdefinition.

    If you created node-specific versions of SYLOGICALS.COM, editall 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, referto 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 logsare 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.COMcommand procedure.

Log in to node BLUE.

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

$ RUN SYS$SYSTEM:LMCPLMCP> DUMP/ACTIVE SYSTEM$BLUE.LM$JOURNALDump 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:SYSMANSYSMAN> SET ENVIRONMENT/CLUSTERSYSMAN> 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 updatethe 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 reconfigurethe 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 NodeAdding a Node
go to next page: Disabling DECdtm ServicesDisabling DECdtm Services