1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
|
This example describes how to use the multiprotocols feature.
Start each partition in a separate session. You will get the following
information. This shows which protocol and which specific data is used
by a given partition to communicate with another partition. When a
partition receives the self locations of another partition, to
communicate with this partition, the first partition will select one
of the protocols available locally.
On partition part1:
Partition Info Table
--------------------
* Partition 1
Partition_Name part1
Net_Locations xyz://localhost:12342
tcp://localhost:12343
tcp://localhost:12340
xyz://localhost:12341
Net_Loc_In_Use xyz://localhost:12342
* Partition 2
Partition_Name part2
Net_Locations xyz://localhost:12344
Net_Loc_In_Use xyz://localhost:12344
* Partition 3
Partition_Name part3
Net_Locations xyz://localhost:12345
tcp://localhost:12346
Net_Loc_In_Use xyz://localhost:12345
* Partition 4
Partition_Name part4
Net_Locations tcp://localhost:12347
Net_Loc_In_Use tcp://localhost:12347
On partition part2:
Partition Info Table
--------------------
* Partition 1
Partition_Name part1
Net_Locations xyz://localhost:12341
Net_Loc_In_Use xyz://localhost:12341
* Partition 2
Partition_Name part2
Net_Locations xyz://localhost:12344
Net_Loc_In_Use xyz://localhost:12344
* Partition 3
Partition_Name part3
Net_Locations xyz://localhost:12345
tcp://localhost:12346
Net_Loc_In_Use xyz://localhost:12345
On partition part3:
Partition Info Table
--------------------
* Partition 1
Partition_Name part1
Net_Locations tcp://localhost:12340
Net_Loc_In_Use tcp://localhost:12340
* Partition 2
Partition_Name part2
Net_Locations xyz://localhost:12344
Net_Loc_In_Use xyz://localhost:12344
* Partition 3
Partition_Name part3
Net_Locations xyz://localhost:12345
tcp://localhost:12346
Net_Loc_In_Use xyz://localhost:12345
* Partition 4
Partition_Name part4
Net_Locations tcp://localhost:12347
Net_Loc_In_Use tcp://localhost:12347
On partition part4:
Partition Info Table
--------------------
* Partition 1
Partition_Name part1
Net_Locations tcp://localhost:12340
Net_Loc_In_Use tcp://localhost:12340
* Partition 2
Partition_Name part2
Net_Locations xyz://localhost:12344
Net_Loc_In_Use <not available>
* Partition 3
Partition_Name part3
Net_Locations xyz://localhost:12345
tcp://localhost:12346
Net_Loc_In_Use tcp://localhost:12346
* Partition 4
Partition_Name part4
Net_Locations tcp://localhost:12347
Net_Loc_In_Use tcp://localhost:12347
|