Previous PageNext Page

Chapter 4 - VINES Base Services

Overview

VINES Client/Service Computing

Base services, such as the StreetTalk global naming service and the VINES Security Service, are part of the software required to run VINES. This chapter describes the various types of base services provided by Banyan.
Optional services, such as Intelligent Messaging and any VINES compatible service you might build, extend network capabilities. VINES optional services are described in Chapter 5.

Figure 4-1. VINES System and Network Software

1. Information collected and interpreted by the client software is passed back to the application on the server in a data packet. The packet contains both data entered by the user and information specific to the service being used.

2. The server-based application interprets and manages the information in the packet.

3. The server sends the packet back to the client.

4. The client re-interprets the information and presents it to the user.

Figure 4-2. Client/Server Data Exchange

Macintosh Client/Server Interaction

Example ATA Process Flow

1. When you open the application, client software on the Macintosh uses ASP to issue a request to open a communications socket.

2. ASP sends an open socket request to the ATA service.

3. ATA calls VnsOpenSocket.

4. ATA receives a response to VnsOpenSocket.

5. ATA transfers the response back to ASP.

6. ASP sends the response back to the client on the Macintosh.

Figure 4-3. Macintosh Client-Server Transactions

Managing VINES Services

Developing VINES Services

VINES sockets (using VINES and other supported non-VINES protocols)
Transport Layer Interface (TLI)
Remote Procedures (RPC)

VINES Service Descriptions

Table 4-1. Base Service Description Format

Backup and Recovery Service

Automatic scheduled backup
Automatic incremental backup
Single-service backup for selected service types

The entire system
Individual services of selected types
Individual files and directories within file services

Note: The Backup and Recovery Service is for the data areas of all services integrated with VINES. This does not include the UNIX executables of these services.

File Services

32-bit
i-nodes
Macintosh file sharing
OS/2 Extended Attributes

Names of directories and files
Directory and file attributes and access rights lists
Date and time file services were created, last accessed, and last modified

If the component is created at a Macintosh, VFS follows AppleShare naming rules. To generate names in the other spaces, VFS follows XOPEN rules.
If the component is created from any other file system, VFS follows XOPEN naming rules established by Microsoft Corporation to coordinate DOS FAT and OS/2 High Performance File System (HPFS) names.

Get Privileges (System 6.x)
Sharing (System 7.x)

Owner, the name of the person who created the file service
Group, including everyone in the Owner's StreetTalk group
World, by default defined as *@*@*

Access rights are based on the file system view from which the rights were last saved.
DOS and Macintosh open or sharing modes.
DOS and Macintosh byte-range locking. VFS treats the files as locked for all views.
DOS and Macintosh file attributes. OS/2 extended attributes are supported through the use of the VINES VCOPY command.
File and directory name changes.

Figure 4-4. File Service Processes

User names
Lists
Patterns paired with a level of access

Netbios Emulation Service

Name management within its domain of associated users
Name lookup to establish sessions between workstations
Datagram service for broadcasts and workstation-to-workstation sessions
Name lookup to bind workstation-to-workstation sessions and maintain a record of all local workstation name tables within its domain

Print Service

Access control
Forms control
Spooling control
Settings that pair one or more printer identifiers (LPTn and PRN) with the service

Printers attached to parallel or serial ports on a VINES server
PAP-compatible printers connected to a VINES server by a LocalTalk® board or to a VINES network by a transition bridge
Printers attached to the parallel or serial ports of a workstation running the VINES PCPRINT program
Other print services

Stop a queue without stopping the print service.
Set the maximum number of jobs.
Set the maximum size of print jobs.
Redirect print jobs in one queue to other queues on the network.

Control job form type
Manage their own print jobs
Set the delay before job spooling

Remote Program Load (RPL)

The RPL service can only be configured from a DOS workstation.
Only one RPL service can run on a server at a given time.
The boot image is a maximum of 360 KB for VINES, DOS, and any device drivers. This may limit the number of device drivers that can be configured in CONFIG.SYS.
Servers running RPL service for diskless PCs require large communications buffers.

Workstation's unique adapter address
Default workstation address

The server downloads the image in this manner:

1. The RAM disk is temporarily mapped to the workstation's drive A.

2. The workstation automatically does a second "soft" reboot to load DOS and VINES files from its RAM disk.

3. As the workstation boots DOS and VINES, the RPL service maps the workstation's drive A to a file service that the administrator configured for the RPL service.

4. The workstation obtains a copy of the LOGIN command from the file service and executes it so that the user can log in.

5. The server temporarily writes the image file to its own fixed disk.

6. After a set interval, if no additional boot request is received, the server deletes the image that it created for the workstation.

Configuring RPL services on the local and remote LANs to boot only workstations connected to their respective LANs.
Adding the addresses of the workstations on the local LAN to the exceptions list of the remote service if the remote service is configured with a default address. An exceptions list contains the addresses of workstations that do not receive a DOS image from this service.
Turning off the bridge if all local and remote RPL services were configured to broadcast images to any requesting workstations.

IBM PS/2 model 55LS family of diskless workstations
IBM 4/16 ISA-based Token-Ring card
IBM 4/16 MCA-based Token-Ring card
IBM MCA-based Ethernet card

1. Run MSERVICE to create a file service on the server that will boot the diskless workstations.

2. Create a DOS boot diskette that contains the COMMAND.COM file and the two DOS system files.

3. Run MSERVICE to create and start the RPL service.

4. After the service is started, use the RPL configuration menus to configure each workstation for VINES. You can configure groups of workstations that share the same boot device or configure individual workstations that have their own unique boot device.

5. After you can log in to VINES from a diskless workstation, perform the following tasks:

a. Run the IBM Reference Diskette manually from the logged-in diskless workstation.

b. Manually copy any required device drivers, such as HIMEM.SYS, to the file service that serves as drive A.

c. Add the drivers to the workstation's CONFIG.SYS file.

Semaphore Service

Server Service

Provides orderly shutdown of the server in the case of a power failure
Automatically restarts services that terminate abnormally
Initializes the service environment
Handles starting, stopping, creating, and deleting services under administrator control
Initializes scheduled events such as backups or temporary links
Coordinates worldwide network time among servers
Initializes workstations with the network time and date at login

Table 4-2. Service Life Cycle

pgms3.db (for Banyan-provided services) and pgms.db (for third-party services) identify the types of third-party services that can exist on the server. No matter how many services of this type exist or are added to a server, exactly one entry should be in this file. Add entries by hand or by using a script. You must add a service to StreetTalk and start it before it can be used.

The type entry includes a string identifier, the name of the service's home directory, and other pertinent data. The file is read by the Server Service each time the server initializes (whenever all services were shut down and are restarting).
svc3.db (for Banyan-provided services) and svc.db (for third-party services) is a database of services registered with the VINES Server Service. In these files one entry appears for each third-party service on this server. Read this file to obtain the password assigned to each instance of your service. Describe your services type in pgms.db and add your service to StreetTalk to include your service in this file.

Caution: Do not edit the svc3.db file. It is created and maintained by the Server Service.

1. A user selects the service's StreetTalk name in MSERVICE or OPERATE.

2. Server Service checks svc.db or svc3.db file for the specified StreetTalk name and extracts the service type.

3. Server Service checks pgms.db or pgms3.bd to find the home directory for the service by matching the service type from the svc.db with the types in pgms.db.

4. Server Service executes one of the following files, depending on the action selected in MSERVICE or OPERATE:

- Create

- Startup

- Destroy

StreetTalk Service

Group-level information includes the names of all groups on the network and whether a particular group is maintained on this server. For each group not maintained on this server, there is a record of the server responsible for that group and the internet address of that server.
Item-level information details attributes and other characteristics of every user and resource in each group maintained on this server.

Figure 4-5. StreetTalk Distribution

1. Every StreetTalk Service attaches to the well-known local communications port, 0x000f.

2. The service broadcasts the search message using the IPCPORT address.

3. Each StreetTalk entity shares the names of the groups that it maintains by broadcasting this information at regular intervals or when one of the following events occurs:

- A group name is created within the service database.

- A group name is deleted from the service database.

- A new server node enters the network.

- The entity receives information from a previously unknown StreetTalk entity.

The item's class:

- User
- Nickname
- Service
- List
- Group

The category of the item within its class. For example, the service class has categories such as file service, print service, and so on.
Associated records that contain information about the item. These records are numbered from 0 to 999.
Attributes that contain information about the item. An item may have 264 attributes.

Note: Associated records are being replaced by attributes. Banyan will continue to support associated records as a subset of attributes for a limited period of time.

Each object may have 2 64 attributes.
Attribute value length is limited only by the size of the storage media.
Each set of 2 32 attributes can be associated with a specific vendor or site.
The view of attributes remains constant, regardless from which environment they are viewed. For instance, no special translation is required on the developer's part for DOS and Macintosh to view the attributes.

MAVD creates or modifies an Attribute View Definition (AVD) file to define language and site-specific attribute labels.
MATTR creates, replaces, examines, and deletes attributes in StreetTalk.
XSTD looks up attributes and performs attribute-based searches in STDA. In VINES 5.5, this is the same interface as F2 in the Intelligent Messaging client interface.

A set of tools that you use to define the attributes and labels specific to your environment
A set of APIs that software developers use to discover the local attribute definitions and to present them in a consistent manner using the application's user interface

Figure 4-6. Attribute Identifier Labeling

Figure 4-7. AVD Collection Definitions

StreetTalk Directory Assistance (STDA)

Alphanumerically
By the group to which the user, list, or service belongs
By attributes you configure in StreetTalk

Table 4-3. STDA Class Definitions

Example STDA Sorting

Figure 4-8. STDA Services on a Network in Download Order

VINES Network Management and System Management (VNSM)

Individual servers
Services and protocol families that run on VINES servers
LANs
WAN data links
Network topologies

Table 4-4. Types of Information Collected by VNSM

Alert Management Service (AMS)
Network and System Management Service (SNM)
Network Management Service (NMS)

Relocating services
Redistributing the disk load on a server
Adding hardware
Reconfiguring server resources such as communications buffers

Submits requests for descriptive information and detailed statistics to network management services on VINES servers in the network
Submits requests for notification of alerts to the Alert Management Service (AMS)

VINES Security Service

A server serial number
A time and date stamp
A unique number generated by the Security Service
Related information about the login event

VINES defaults
Group settings
Individual user settings

 

Previous PageTop Of PageNext Page