06.11.2014 Views

HP Archive Backup System for OpenVMS Guide to Operations

HP Archive Backup System for OpenVMS Guide to Operations

HP Archive Backup System for OpenVMS Guide to Operations

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Architecture<br />

11.1 The Server Process<br />

11.1.1.2 Becoming a DB Server<br />

Note: The DECnet node name is terminated at the "::" if present.<br />

Valid TCP/IP node names: nabsco-12.cxo.dec.com<br />

nabsco-12[.cxo.dec.com]:<br />

nabsco-12[.cxo.dec.com]:2501<br />

nabsco-12[.cxo.dec.com]:2501-2510<br />

Because the database server list is processed from left <strong>to</strong> right one can control the order by which<br />

server nodes are tried and which network <strong>to</strong> use. Choosing a network at this point is unrelated <strong>to</strong><br />

how the node’s transport is defined in the MDMS database.The requesting node and the contacted<br />

node must have the network <strong>for</strong> this server entry enabled otherwise the contact fails and<br />

the server continues on with the next entry in the list. The failed attempt is logged in the MDMS<br />

server logfile (“MDMS$LOGFILE_LOCATION:MDMS$LOGFILE_.LOG” or<br />

“MDMS$LOGFILE_LOCATION:MDMS$LOGFILE_DBSERVER.LOG”).<br />

The MDMS server tries <strong>to</strong> match an entry in the database server list with one of its own network<br />

name definitions. The network name definitions are obtained by retrieving the following values<br />

or translating logicals:<br />

• SCSNODE sysgen parameter<br />

• SYS$NODE <strong>for</strong> DECnet, stripping off the trailing “::”<br />

• SYS$NODE_FULLNAME <strong>for</strong> DECnet-Plus, stripping off the trailing “::”<br />

• {UCX|TCPIP}$INET_HOST and {UCX|TCPIP}$INET_DOMAIN <strong>for</strong> TCP/IP, concatenating<br />

the two strings using a dot “.” in between<br />

• MDMS$SERVER, if none of the above are available<br />

If the server finds a match it tries <strong>to</strong> open the database files. If it successfully opens all the database<br />

files it declares itself the database server. Because the files are opened <strong>for</strong> exclusive write<br />

and shared read, no other MDMS server can open the database files after that.<br />

A server remains <strong>to</strong> be a database server until it exits. At this point the database files are closed<br />

and the domain is without a database server until the next server has successfully opened the<br />

database files.<br />

If the server finds the files already open it continues on with the search <strong>for</strong> a DB server.<br />

11.1.1.3 Finding another DB Server<br />

When contacting another server, the server passes all its network names on <strong>to</strong> the other node. If<br />

the other node happens <strong>to</strong> be a DB server it verifies that the requesting node is defined in the<br />

MDMS database. Only when all the node’s network names are defined in the node’s object the<br />

DB server grants access <strong>to</strong> the requesting node. Otherwise the DB server returns a<br />

MDMS_NODENOTENA (“node not in database or not fully enabled”).<br />

Once the node is granted access <strong>to</strong> the DB server the node updates its setting from the database.<br />

At this point the TRANSPORT setting of the node is in use. For example it is possible that a<br />

server contacted the DB server via DECnet but when it updates its TRANSPORT setting it is<br />

only allowed <strong>to</strong> use TCPIP. So from that point on this server only uses TCPIP <strong>to</strong> “talk” <strong>to</strong> the DB<br />

server.<br />

Typically all nodes in a domain have the same definition of MDMS$DATABASE_SERVER in<br />

their MDMS$SYSTARTUP.COM. But the definitions do not have <strong>to</strong> match. For example each<br />

node could list itself first in the list <strong>to</strong> give a more round-robin behavior.<br />

11-2 Architecture

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!