Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dncopynodes(8) [debian man page]

DNCOPYNODES(8)						      System Manager's Manual						    DNCOPYNODES(8)

NAME
dncopynodes - copy a list of nodes from a remote DEC system SYNOPSIS
dncopynodes <nodename> [ldif-dn] DESCRIPTION
This program will generate a decnet.conf file by contacting a remote DECnet host (running VMS or RSX-11 probably) and doing the equivalent of "NCP COPY KNOWN NODES". The resulting file can be copied over the existing decnet.conf file if you like. You do need a fully-functioning DECnet system before using this command but you don't need any nodes other than the executor defined in decnet.conf. dncopynodes will copy the executor information already there into the new file. The program copies its output to standard output. It is strongly recommended that you review it before replacing an existing /etc/dec- net.conf file. The node name can also be a node address if you don't have any nodes defined in your existing decnet.conf. DO NOT attempt to redirect the output of dncopynodes directly into /etc/decnet.conf. It will fail and destroy your existing configuration file! Send it to a temporary file and then copy it (see EXAMPLES) dncopynodes can also create an LDIF file suitable for importing into an LDAP database. With dnprogs 2.48 or later, DECnet programs can quiry this for node address information. EXAMPLE
# dncopynodes 3.34 > /tmp/decnet.conf # dncopynodes 3.34 dc=example,dc=com > /tmp/decnet.ldif # mv /tmp/decnet.conf /etc SEE ALSO
decnet.conf(5), setether(8) DECnet utilities September 03 2008 DNCOPYNODES(8)

Check Out this Related Man Page

GETNODEADD(3)						     Library Functions Manual						     GETNODEADD(3)

NAME
getnodeadd - DECnet address of executor node SYNOPSIS
#include <netdnet/dn.h> #include <netdnet/dnetdb.h> struct dn_naddr *getnodeadd (void) DESCRIPTION
getnodeadd searches the decnet hosts file for the executor node and returns the DECnet address in the dn_naddr structure If no entry is found, returns NULL EXAMPLE
#include <netdnet/dn.h> #include <netdnet/dnetdb.h> #include <sys/socket.h> main(void) { struct dn_naddr *binaddr; if ( (binaddr=getnodeadd()) == NULL) printf("Error, cannot find executor node address"); else printf("getnodeadd successfully got executor node address"); } SEE ALSO
dnet_htoa(3), dnet_ntoa(3), dnet_conn(3), dnet_addr(3), getnodebyname(3), getnodebyaddr(3), setnodeent(3) DECnet database functions July 28, 1998 GETNODEADD(3)
Man Page