When the tuxedo service call relationship exists between multiple domains, you must connect them through the domain to achieve normal calls.
Follow these steps to complete the connection Configuration:
1. Export
First, you need to export the current domain connection information. Import the information to a file through an MPS queue. Of course, do not forget to back up the edited money:
Dmunloadcf> dm.0616;
CP dm.0616 dm.0616.bak;
2 DM format description
The DM file contains the following parts:
* Dm_local
"ABC-25" gwgrp = "tdmgrp1"
Accesspointid = "ABC-25"
Blocktime = 10
Dmtlogdev = "/opt/APP/tuxapp/log/dlog"
Dmtlogname = "dmtlog"
Maxraccesspoint = 89
Maxtran = 100
Blob_shm_size = 1000000
The dm_local block is the local region configuration information;
* Dm_remote
"Def55" accesspointid = "def55"
Credential_policy = "local"
The dm_remote block contains the remote domain configuration information;
* Dm_tdomain
"ABC-25" nwaddr = "// 10. 6. ***. 25: 7830"
"Def55" nwaddr = "// 10. 6. ***. 36: 6666"
Laccesspoint = "ABC-25"
Dm_tdomain is the address and port of the server that is interconnected with the remote domain;
* Dm_export
"Service1" Coupling = loose
"Service2" Coupling = loose
The configuration in dm_export is the published domain export service, that is, the service that can be called by machines in the remote domain connected to the local region;
* The import service is configured in dm_import, that is, the service name in the remote domain needs to be accessed in the local region;
3. Edit
Edit this file and add the domain connection information to be configured in the corresponding block;
Note: If the local domain name contains the character-, the exported file will be imported without any modification and an error message will be displayed.
The exported file in * dm_import segment laccesspoint = ABC-25 prompts an error;
There are two solutions: 1 is to use another DM export format, which is troublesome and is not described here;
2 is to modify the export file, will be laccesspoint = ABC-25 domain name in quotation marks caused:
Laccesspoint = "ABC-25"
4. Import
After editing, You can import the data. Before importing the data, stop the tuxedo service, just like the UBB modified by load. Of course, you can also dynamically configure domain connections. You need to configure scripts for these methods. If you are interested, you can search for them online.
Tmshutdown-y
Dmloadcf-y dm.0616
If no error is prompted, the import is successful;
After the service is started, negotiate with the other party of the domain. after both parties have completed the configuration, the domain connection can be implemented.
5 Management
4.1 view the connected domain of the Local Machine
Dmadmin
> Pd-D Local Domain Name:
Eg: Pd-D ABC-25
You can view the domains successfully connected to the local machine;
4.2 force connection
After both parties have been configured, use the following command to force the connection:
Dmadmin
> Co-D local domain name-r remote Domain Name
Co-D ABC-25-r def55
Over!