HP UX Internet and Networking Software manual Initial Configuration Files, Configuration File Format

Models: UX Internet and Networking Software

1 651
Download 651 pages 11.83 Kb
Page 628
Image 628

Appendix BConfiguration Files

AppendixB Configuration Files

This appendix describes:

Initial definition of SNAplus2 node and domain resources

Format of configuration files

Changes made to the node and domain resources by the Motif program

File input to the snapadmin program

B.1 Initial Configuration Files

Configuration records for a node’s resources are included in the node configuration file. When you start the SNAplus2 software, the configuration file /etc/opt/sna/sna_node.cfg is used as the initial definition of the node’s configuration. SNAplus2 uses the information in this file to define the resources available when the node is started and to start any resources that you have specified as being initially active.

Configuration records for domain resources are included in the domain configuration file, instead of in individual node configuration files. For information about the distinction between domain resources and node resources, refer to the HP-UX SNAplus2 Administration Guide.

When you start the SNAplus2 software on the master server, the domain configuration file /etc/opt/sna/ sna_domn.cfg is used as the initial definition of SNAplus2 domain resources.

If a file cannot be opened or if it contains information that is not valid, the SNAplus2 node will not start. For more information about starting SNAplus2, refer to HP-UX SNAplus2 Administration Guide.

B.2 Configuration File Format

A SNAplus2 configuration file is an ASCII text file with information stored in readable text format. You can set up or check your configuration using a standard ASCII text editor.

Although you can modify configuration files using a text editor, you can do this only when the SNAplus2 software is not running. You are not recommended to modify the files in this way except when setting up the initial configuration (before starting the SNAplus2 software). To modify the configuration while the SNAplus2 software is running, use the command-line administration program or the Motif administration program. If you need to modify a node’s configuration file using a text editor, the SNAplus2 software must not be running on the node or on the server for that node.If you need to modify the domain configuration file using a text editor, you must first stop the SNAplus2 software on all servers, modify the file on the master server, and then restart the SNAplus2 software on the master server before restarting it on any other servers.

Note

Both SNAplus2 configuration files are regenerated by the owning server when a configu- ration command is issued or when configuration is changed using the Motif interface. If you have changed the file using a text editor while the SNAplus2 software is running, these conditions will overwrite your changes to the file, and the sequence of fields in the file may be changed.

628

Page 628
Image 628
HP UX Internet and Networking Software manual Initial Configuration Files, Configuration File Format