Nis-to-name table conversion utility, Nis-to-name table conversion utility -5 – Finisar Surveyor User Manual

Page 383

Advertising
background image

13-5

Utilities

NIS-to-Name Table Conversion Utility

13

NIS-to-Name Table Conversion Utility

The NIS2NAM.SH utility converts an NIS name table on a UNIX system to the
name table format used by Surveyor. It provides a method of creating a Surveyor
name table with addresses and associated symbolic names without having to re-
enter information.

NIS2NAM.SH

is installed in the ...\scripts directory. It is a UNIX shell

script, designed to run under a Bourne shell. To use the conversion utility, copy the
NIS2NAM.SH

file to a UNIX system as a text file. The UNIX system must have

NIS running for the utility to produce the new name table for use with Surveyor.

To execute the command on the UNIX system, type:

NIS2NAM <output-name-table>

<output-name-table>

is the name you select for the new Surveyor name

table. The UNIX system is searched for the NIS name table. If no NIS name table
exists, the utility returns an error message. Once the new name table is created, copy
it as a text file to the directory where Surveyor is installed on your Windows
system.

Note

The name table automatically loaded by Surveyor is hosts.nam. If you
use another name for your converted name table, you will need to
load the name table before performing other Surveyor functions.

The default name table loaded by Surveyor may be changed. Change the Name
Table=

parameter in the surveyor.ini file to set a new default name table file.

Advertising