OpenTP1 Version 7 Operation
Registering the domain representative schedule service in the domain data file makes it possible to perform domain qualification using dc_rpc_call(). In inter-domain communication, all the messages are sent to the destination schedule service via the domain representative schedule service.
A domain is composed of multiple OpenTP1 servers. Determine the OpenTP1 server that represents the domain. The schedule service of the OpenTP1 server becomes the domain representative schedule service. The user registers the domain representative schedule service with the host name in the domain data file. The domain data file refers to the hosts information file of DNS.
To perform domain-specified communication, issue an dc_rpc_call(), specifying the domain. On receiving a message, the domain representative schedule service passes it to the final destination schedule service in the domain.
Domain-specified communication requires the following settings:
In a domain data file, three domain representative schedule services can be registered. Use the namdomainsetup command to register the host name of a domain representative schedule service. Only the superuser can register domain representative schedule services.
Register the port number of the domain representative schedule services in /etc/services. The port number of each domain must be the same and must be specified in the following format:
OpenTP1scd port-number/tcp alias-name |
Register the port number of the domain representative schedule service in the /etc/services files of all the hosts where OpenTP1 is activated. However, if operated by NIS, register the port number in /etc/services of only the NIS server.
If issuing a domain-specified dc_rpc_call() when no port number is registered in /etc/services, error is returned with DCRPCER_NO_PORT.
When starting more than one schedule service (OpenTP1) in the same host for multiOpenTP1 operation or system switchover, the schedule services have different port numbers. If assigning more than one schedule service in the same host to the domain representative schedule service, it is impossible to perform domain communication between the specified schedule services by issuing a domain-specified dc_rpc_call(). To start more than one schedule service in the same host, assign only one of them to the domain representative schedule service. The following shows the required environment settings.
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.