DECnet is a suite of network protocols created by Digital Equipment Corporation (DEC) for networking their computer systems. In this module, we will cover the basics of DECnet configuration on OpenVMS, including setting up the network, configuring nodes, and managing DECnet services.

Objectives

By the end of this module, you will be able to:

  • Understand the basics of DECnet and its role in OpenVMS networking.
  • Configure DECnet on an OpenVMS system.
  • Manage DECnet nodes and services.

  1. Introduction to DECnet

What is DECnet?

DECnet is a network protocol suite that allows Digital Equipment Corporation (DEC) systems to communicate over a network. It supports various network services, including file transfer, remote login, and network management.

Key Concepts

  • Node: A device (computer, router, etc.) on the DECnet network.
  • Node Address: A unique identifier for each node in the network.
  • Phase: DECnet has different versions known as phases (e.g., Phase IV, Phase V).

  1. Setting Up DECnet

Prerequisites

Before configuring DECnet, ensure that:

  • OpenVMS is installed and running.
  • You have administrative privileges on the system.

Step-by-Step Configuration

Step 1: Install DECnet Software

Ensure that the DECnet software is installed on your OpenVMS system. You can check this by running the following command:

$ @SYS$MANAGER:NETCONFIG

If DECnet is not installed, you will need to install it from the OpenVMS installation media.

Step 2: Configure DECnet

Run the DECnet configuration utility:

$ @SYS$MANAGER:NETCONFIG

Follow the prompts to configure DECnet. You will need to provide the following information:

  • Node Name: A unique name for your node.
  • Node Address: A unique address for your node (e.g., 1.1).
  • Network Type: Choose the appropriate network type (e.g., Ethernet).

Example:

$ @SYS$MANAGER:NETCONFIG
DECnet Phase IV Configuration Procedure

Enter node name: MYNODE
Enter node address: 1.1
Enter network type: Ethernet

Step 3: Start DECnet

After configuring DECnet, start the DECnet service:

$ @SYS$STARTUP:STARTNET

  1. Managing DECnet Nodes

Adding a Node

To add a new node to the DECnet network, use the following command:

$ MCR NCP
NCP> DEFINE NODE new_node_name ADDRESS new_node_address
NCP> SET NODE new_node_name ADDRESS new_node_address

Example:

$ MCR NCP
NCP> DEFINE NODE NODE2 ADDRESS 1.2
NCP> SET NODE NODE2 ADDRESS 1.2

Removing a Node

To remove a node from the DECnet network, use the following command:

$ MCR NCP
NCP> PURGE NODE node_name

Example:

$ MCR NCP
NCP> PURGE NODE NODE2

  1. Managing DECnet Services

Enabling a Service

To enable a DECnet service, use the following command:

$ MCR NCP
NCP> DEFINE SERVICE service_name OBJECT object_number FILE file_name
NCP> SET SERVICE service_name OBJECT object_number FILE file_name

Example:

$ MCR NCP
NCP> DEFINE SERVICE FAL OBJECT 17 FILE SYS$SYSTEM:FAL.EXE
NCP> SET SERVICE FAL OBJECT 17 FILE SYS$SYSTEM:FAL.EXE

Disabling a Service

To disable a DECnet service, use the following command:

$ MCR NCP
NCP> PURGE SERVICE service_name

Example:

$ MCR NCP
NCP> PURGE SERVICE FAL

  1. Troubleshooting DECnet

Common Issues and Solutions

Issue: DECnet Not Starting

  • Solution: Ensure that the DECnet software is installed and configured correctly. Check the system logs for any error messages.

Issue: Node Not Reachable

  • Solution: Verify the node address and network configuration. Ensure that the network cables and hardware are functioning correctly.

Diagnostic Commands

  • SHOW NODE: Displays information about a specific node.
    $ MCR NCP
    NCP> SHOW NODE node_name
    
  • SHOW SERVICE: Displays information about a specific service.
    $ MCR NCP
    NCP> SHOW SERVICE service_name
    

Conclusion

In this module, we covered the basics of DECnet configuration on OpenVMS. You learned how to set up DECnet, manage nodes, and configure services. Additionally, we discussed common issues and troubleshooting techniques. With this knowledge, you are now equipped to manage DECnet on an OpenVMS system effectively.

Next, we will delve into network services and protocols in the following module.

OpenVMS Programming Course

Module 1: Introduction to OpenVMS

Module 2: Basic OpenVMS Commands

Module 3: OpenVMS File System

Module 4: Scripting with DCL

Module 5: OpenVMS System Management

Module 6: Networking on OpenVMS

Module 7: Advanced OpenVMS Programming

Module 8: OpenVMS Clustering

Module 9: OpenVMS Security

Module 10: Troubleshooting and Optimization

© Copyright 2024. All rights reserved