ACC Utilities Reference Guide

206 Chapter9
ZNODE - Remote Node Daemon
Accessing Remote Nodes
Accessing Remote Nodes
Remote Nodes may be accessed by making ZCOM Interface calls. Those
requeststhatcanbemadetoremotenodeshaveaninputparameterof
type zaddr_type. This parameter indicates which zlu is to be affected,
and what node that zlu resides on.
/*-- ZCOM Address --*/
typedef struct {
uint16 node; /* ZCOM system node number */
uint16 zlu; /* ZLU number */
uint16 zcs; /* ZLU checksum */
} zaddr_type;
Requests t o control a zlu on the local node will have the node field set to
0. Requests to control a zlu that resides on a remote node will have the
node field set to the desired node number.
Refer to the ACC Programmer’s Reference Guide for information on using
the ZCOM Int erface requests.
Adding Naming Services
When znode cannot obtain name service, an error will occur. To add the
name service manually:
Step 1. Backup the services file:
% cop /etc/services /etc/services.cbkup
Step 2. Add the following line to the bottom of the file, including the comment as
shown:
znode 8000/udp # ACC - Remote ZCOM services