Previous PageNext Page

Chapter 4 - Server Service, Security, and STDA

Introduction

VINES Security Service

User security
Password security
Client authentication
Internetwork security
User profile access

/disk1/banyan/vs

Troubleshooting the VINES Security Service

Server Service

Starts services after the server reboots
Restarts services that die unexpectedly
Creates, destroys, starts, and stops services
Maintains network time

/disk1/banyan/ss

Figure 4-1. /disk1/banyan/ss

Database for software option codess configured on the server.

pgms3.db

Booting Server Service

startss

1. Initializes in-memory versions of pgms3.db and svc3.db.

2. Reads error codes and help files in the /disk1/BFS/VINESFiles directory.

3. Starts StreetTalk and the VINES Security service.

If either if these services does not start, Server service aborts with an appropriate message.

4. Initializes the Time service. This is internal to Server service, and is used to synchronize the time between servers on the network.

5. Starts remaining services based on their state records in svc3.db.

6. Reads /disk1/local/svc.db and incorporates it into svc3.db. The /disk1/local/svc.db file contains parameters for third-party services running on the system. The structure and purpose of this file is explained in the Banyan Applications Toolkit documentation.

7. Reads /disk1/local/pgms.db and incorporates it into pgms3.db. The /disk1/local/pgms.db file contains parameters for third-party services running on the system. The structure and purpose of this file is explained in the Banyan Applications Toolkit documentation.

Managing Services with Server Service

Adding a Service

1. MSERVICE adds the new service StreetTalk name and any configuration data to the StreetTalk database.

2. MSERVICE calls Server service with a request to create a new service.

3. Server service scans an internal version of pgms3.db to ensure that the type of service created exists and is enabled.

4. Server service forks a UNIX shell to execute the create script that resides in the home directory of the service.

5. The create script initializes the service and its instance data. Most services allow you to run more than one instance of the service per server. For example, you can have many Banyan File services on a single server.

The create script also maintains the SvcTable file, which maps between the service home directory and its data directory. It is used to pass a service's data directory to its executable at startup. It is also used by backup/restore to find a service's data.

6. Server service updates svc3.db to include information on the new service.

Deleting a Service

1. MSERVICE calls Server service with a request to delete the StreetTalk name and StreetTalk data for that service.

2. Server service forks a UNIX shell to execute the destroy script that resides in the home directory of the service.

3. The destroy script deletes the service instance data. It also deletes the entry for the service from the SvcTable file.

4. Server service removes the service from svc3.db.

5. MSERVICE removes the StreetTalk name from the StreetTalk database.

Starting a Service

1. MSERVICE calls Server service with a request to start the service.

2. Server service forks a UNIX shell to execute the startup script that resides in the home directory of the service.

3. The startup script run the service executable with the appropriate switches.

4. Server service changes the status of the service in svc3.db to "running".

StreetTalk Directory Assistance

STDA Directories

Figure 4-2. STDA Directory Structure

/disk1/banyan/stda

/diskn/STDA

a.b.sernum.C [seqnum] | R

0 indicates users.
1 indicates lists.
2 indicates printers.
3 indicates File services.
4 indicates other services.
5 indicates nicknames.

Figure 4-3. File Name Structure in /diskn/STDA/CNG

a.b.sernum.rhsh

xda

STDA Database Analyzer Rev. 6.00(a)

Can't get StreetTalk session. (1)

usage: xda -# [filename/service name]

Possible Commands are:

[1] Examine a file                          [x] Dump item adds

[2] Modify a file                           [y] Dump item mods

[3] Create and initialize a file            [z] Dump item deletes

[4] Modify a file header

[5] Dump local control file

[6] Dump local Group file

[7] Check local group chains

[8] Dump a local group file (names only)

[9] Dump a file name (names only)

[a] Dump INFO blocks (servicename)

[b] Add INFO blocks (servicename)

[c] Del/Mod INFO block (servicename)

[C] Change database name/serial#

[t] Convert a timestamp to formatted time

[q]======> Quit

[1] Examine a file

Figure 4-4. Output from the xda -1 Command

Note: An inclusion name is an STDA item which does not adhere to the StreetTalk naming convention. These items can be names formatted according to another directory service convention, such as an internet mailing address. For more information on inclusion names, refer to Managing Users and StreetTalk.

0 = Users.

1 = lists.

2 = Printer services.

3 = File services.

4 = database files other than File and Print services.

5 = nicknames.

[2] Modify a File

[3] Create and initialize a file

[4] Modify a file header

[5] Dump local control file

Figure 4-5. Output from xda -5

The target services from which the local STDA service will download information.
What data this STDA service collects.

[6] Dump local Group file

Figure 4-6. Output from Dump Local Group File

[7] Check local group chains

[8] Dump a local group file (names only)

1. Log in to UNIX on the server and change directory to /diskn/STDA/CNG.

2. Enter this command line:

/disk1/banyan/stda/xda -8 > out

This command directs the output of the command to the file /diskn/STDA/CNG/out.

[9] Dump a file name (names only)

[a] Dump INFO blocks (servicename)

To Capture Info Blocks in a Disk File

1. Be sure your user name appears on the adminlist for your server:

2. Log in to UNIX on the server and change directory to /diskn/STDA.

3. Run xda, using this command line:

/disk1/banyan/stda/xda -a > out

This prompt appears:

STDA database analyzer Rev 5.50(e)

Can't get StreetTalk session. (1)

service name :?

4. Enter the name of the service whose info blocks you wish to analyze. This prompt appears:

VINES User name?

5. Enter your StreetTalk user name. This prompt appears:

VINES User password?

6. Enter your StreetTalk password.

Figure 4-7. Output Fragment from xda -a

[b] Add INFO blocks (servicename)

[c] Del/Mod INFO block (servicename)

[C] Change database name/serial#

[t] Convert a timestamp to formatted time

[q]======>Quit

[x] Dump item adds

To list Item Adds to an output file

1. Log in to UNIX and change directory to /disk1/STDA/CNG.

2. Enter the following command at the UNIX prompt:

/disk1/banyan/stda/xda -x > out

This prompt appears:

STDA database analyzer Rev 5.50(e)

Can't get StreetTalk session. (1)

Enter new file name to use: ()?

3. Enter the name of the .wrk file or the change file that you want to analyze. Possible responses follow:

0.wrk - Lists user names added to the database during the last STDA rebuild.

1.wrk - Lists StreetTalk list names added to the database during the last STDA rebuild.

2.wrk - Lists StreetTalk Print service names added to the database during the last STDA rebuild.

3.wrk - Lists StreetTalk File service names added to the database during the last STDA rebuild.

4.wrk - Lists StreetTalk service names, other than File and Print services, that were added to the database during the last STDA rebuild.

5.wrk - Lists StreetTalk StreetTalk nicknames added to the database during the last STDA rebuild.

Any change file - lists all of the items in the change file that were added to the database during the last STDA rebuild.

[y] Dump item mods

[z] Dump item deletes

Previous PageTop Of PageNext Page