DNCOPYNODES(8)

πŸ“¦ version 2.65build2, in ubuntu jammy

DNCOPYNODES(8) πŸ’–

okay bestie, so this one lives in the System Manager's Manual section (section 8, for the sysadmin girlies ✨), and it's called dncopynodes.


✨ NAME ✨

dncopynodes β€” copy a list of nodes from a remote DEC system πŸ¦‹


🌸 SYNOPSIS 🌸

dncopynodes <nodename> [ldif-dn]

πŸ’… DESCRIPTION πŸ’…

okay so here's the tea: this program generates a decnet.conf file for you by reaching out and contacting a remote DECnet host (it's probably running VMS or RSX-11, ngl) and doing the equivalent of "NCP COPY KNOWN NODES". and the resulting file? you can absolutely copy it over your existing decnet.conf if that's the vibe you're going for. 🫢

the thing is, you do need a fully-functioning DECnet system before you use this command, but here's the slay part β€” you don't need any nodes other than the executor defined in decnet.conf. and dncopynodes will copy the executor information that's already there right into the new file. iconic behavior, honestly. πŸ‘‘

the program copies its output to standard output. and listen, it is strongly recommended that you review it before replacing an existing /etc/decnet.conf file. like, please look at it first. πŸ™ˆ

the node name can also be a node address, if you don't have any nodes defined in your existing decnet.conf. flexible queen. ✨

🚨 DO NOT attempt to redirect the output of dncopynodes directly into /etc/decnet.conf. it will fail and destroy your existing configuration file! that's not a drill bestie, that's a tragedy. send it to a temporary file and then copy it (see EXAMPLE below). πŸ’€

dncopynodes can also create an LDIF file suitable for importing into an LDAP database. with dnprogs 2.48 or later, DECnet programs can query this for node address information. periodt. πŸ’œ


πŸŽ€ 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)


and that's the whole page, no cap πŸ’– this came from the DECnet utilities girlies, version dated September 03 2008 β€” go forth and copy those nodes responsibly, mwah πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from