Gatekeeping; Table 2-2 Gatekeeping Call Parameters - IBM Hub/Switch Installation Manual

High performance storage system release 4.5
Table of Contents

Advertisement

Chapter 2
HPSS Planning
2.8.7

Gatekeeping

Every Gatekeeper Server has the ability to supply the Gatekeeping Service. The Gatekeeping
Service provides a mechanism for HPSS to communicate information through a well-defined
interface to a policy software module to be completely written by the site. The site policy code is
placed in a well-defined site shared library for the gatekeeping policy (/opt/hpss/lib/
libgksite.[a|so]) which is linked to the Gatekeeper Server. The default gatekeeping policy shared
library does NO gatekeeping. Sites will need to enhance this library to implement local policy rules
if they wish to monitor and/or load balance requests.
The gatekeeping site policy code will need to determine which types of requests it wants to monitor
(authorized caller, create, open, and stage). Upon initialization, each BFS will look for a Gatekeeper
Server configured into the same storage subsystem. If one is found, then the BFS will query the
Gatekeeper Server asking for the monitor types by calling a particular Gatekeeping Service API
(gk_GetMonitorTypes) which will in turn call the appropriate site implemented Site Interface
(gk_site_GetMonitorTypes) which will determine which types of requests it wishes to monitor.
This query by the BFS will occur each time the BFS (re)connects to the Gatekeeper Server. The BFS
will need to (re)connect to the Gatekeeper whenever the BFS or Gatekeeper Server is restarted. Thus
if a site wants to change the types of requests it is monitoring, then it will need to restart the
Gatekeeper Server and BFS.
For each type of request being monitored, the BFS will call the appropriate Gatekeeping Service API
(gk_Create, gk_Open, gk_Stage) passing along information pertaining to the request. This
information includes:
Name
AuthorizedCaller
BitFileID
ClientConnectId
DCECellId
GroupId
HostAddr
OpenInfo
StageInfo
UserId
Each Gatekeeping Service API will then call the appropriate Site Interface passing along the
information pertaining to the request. If the request had AuthorizedCaller set to TRUE, then the
90

Table 2-2 Gatekeeping Call Parameters

Description
Whether or not the request is from
an authorized caller. These
requests cannot be delayed or
denied by the site policy.
The unique BFS identifier for the
file.
The end client's connection uuid.
The HPSS DCE cell identifier for
the user.
The user's group identifier
Socket information for originating
host.
Open file status flag (Oflag).
Information specific to stage (flags,
length, offset, and storage level).
The user's identifier.
September 2002
create
open
stage
Y
Y
Y
N/A
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
N/A
Y
N/A
N/A
N/A
Y
Y
Y
Y
HPSS Installation Guide
Release 4.5, Revision 2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hpss

Table of Contents