cc/td/doc/product/rtrmgmt/ciscoasu/nr/nr3-5
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Network Registrar Information

Network Registrar Information

When you install Network Registrar, you copy directories and files onto your system. This appendix lists those directories and files.

The Network Registrar nrcmd command uses specific error codes to denote certain error conditions. This appendix lists those error codes.

This appendix also contains a list of Solaris commands that you might find useful when running Network Registrar.

Network Registrar Files on Windows NT

Network Registrar consists of the files and directories shown in Table A-1.


Table A-1: C:\Program Files\Network Registrar
Directories Definition

BIN

Contains server executable files and dynamically loadable libraries (.dll)

DATA

Contains database files

LOGS

Contains logs files

TEMP

Contains temporary files

README.TXT

Contains release note information

unregistrar.dll

Used by the uninstall program

DelsL1.isu

Used by the uninstall program

Network Registrar Files on Solaris

Network Registrar consists of the directories listed in Table A-2. The read-only files are located in /opt/nwreg2 and the writable files are located in /var/nwreg2/data.


Table A-2: Network Registrar Directories
Directories Definition

bin

(/opt/nwreg2) Contains the program executables

conf

(/opt/nwreg2) Contains product-specific configuration files, such as aic.conf

data

(/var/nwreg2/data) Contains database files

docs

(/opt/nwreg2) Contains documention files of various NR command features

examples

(/opt/nwreg2) Contains example CNR extension scripts

extensions

(/opt/nwreg2) Contains a holding area for CNR extension scripts that you write (such as a C program or a tickle program)

lib

(/opt/nwreg2) Contains the libraries that the executables use

logs

(/var/nwreg2/data) Contains log files

misc

(/opt/nwreg2) Contains the Cisco Network Registrar Management Information Bases (MIBs)

temp

(/var/nwreg2/data) Contains temporary files

usrbin

(/opt/nwreg2) Contains user commands

WebUI

(/opt/nwreg2) Contains the Web user interface for the product (such as Java scripts and Perl scripts

Table A-3 lists the files located in the bin directory.


Table A-3: Network Registrar Bin Files
File Definition

aiclockmgr

Manages locks for the MCD database

aicservagt

Manages the other servers (DNS and DHCP)

dbcheck

Checks the consistency of database files

dhcp

Contains the DHCP server executable

dns

Contains the DNS server executable

guitest

Contains the guiobj Tcl script interpreter

keybuild

Rebuilds a specified database

mcdadmin

Imports and exports text versions of the MCD database

mcdshadow

Can be used to initiate a snapshot copy of the MCD database for a backup copy

mcdshell.tcl

The script for guitest that provides a simple directory shell to the MCD database

mcdsvr

Provides RPC services for the MCD database

nrcmd.orig

The template used to create nrcmd

nrcmd.tcl

The nrcmd command processor

tftp

Runs the TFTP server

Table A-4 lists the usrbin files.


Table A-4: Network Registrar Usrbin Files
File Definition

aicstatus

The script that displays the pids of the current Network Registrar server

nrcmd

The customized wrapper that issues nrcmd.tcl

ntwkreg

Starts the Network Registrar application

Table A-5 lists the conf file.


Table A-5: Network Registrar Conf Files
File Definition

aicservagt.orig

The standard control script

aicstatus.orig

The standard status monitor script

conf.orig

The standard configuration file

mcd.dbd

The database

mcdConfig.txt

The text version of the initial database

mcdschema.tx

The database schema

Table A-6 lists the lib files.


Table A-6: Network Registrar Lib Files
File Definition

libaic.so

The AIC library

libaicevent.so

The AIC event library

libaicrpc.so

The AIC Remote Procedure Call library

libaicsec.so

The AIC security library

libaicsnmp.so

The AIC SNMP library

libaictcl.so

The AIC TCL library

libframework.so

The framework library

libguiobj.so

The guiobject library

libgxdll50.so

Library used by the Network Registrar GUI

libldapssl30.so

The LDAP library used by CNR

libmcd.so

The MCD library

libmcddb.so

The MCD database library

libmcp

The Manage Control Protocol library

libpkt.so

The DHCP client used for the import leases command

lib*42.so and windu_*42

Wind/U files used by the Network Registrar GUI

Error Codes

Table A-7 lists the currently defined error codes that you might see when using the Network Registrar nrcmd program.


Table A-7: Error Codes
Number Fixed Message Text

100

"OK"

201

"Some lease requests failed"

202

"Invalid RR"

203

"Possibly leftover lock"

301

"No Server Found"

302

"No Server Found"

303

"No Server Found"

304

"No Policy Found"

305

"Too many "

306

"Unknown command"

307

"Unknown keyword"

308

"Unknown parameter"

309

"Too many arguments"

310

"Too few arguments"

311

"No response to lease request"

312

"Unexpected response from server"

313

"No match"

314

"Duplicate object:"

315

"Import Failure"

316

"Invalid"

317

"Open failed"

401

"Login Failure"

402

"Permission denied"

403

"Couldn't lock database"

501

"Connection Failure"

502

"Server Failure"

Solaris Commands

Table A-8 lists some Solaris commands you might find useful.


Table A-8: Solaris Commands
Command Description

pkgrm

Package remove for uninstalling Network Registrar

pkgadd -d <CD-ROM>

Package install for installing Network Registrar from the CD-ROM

/etc/init.d/aicservagt [start|stop]

AIC Server Agent for starting or stopping Network Registrar and its servers

/opt/nwreg2/usrbin/aicstatus

Status command for checking the status of the servers that are running.

/opt/nwreg2/usrbin/ntwkreg

Network Registrar User Interface


hometocprevnextglossaryfeedbacksearchhelp
Posted: Thu Feb 3 10:54:34 PST 2000
Copyright 1989 - 2000©Cisco Systems Inc.