Autodesk 15606-011408-9008 User Guide - Page 55

Using a Remote Ma nt, Standardizing on UDP or TCP

Page 55 highlights

Using a Remote MapAgent The MapAgent uses Distributed Component Object Model (DCOM) built on the Remote Procedure Calls (RPC) transport. Because DCOM calls can be made across a network, the MapAgent does not need to reside on the same computer as Autodesk MapGuide Server. This is useful for enhancing security, because it allows you to publish maps from your public server while keeping your data, Autodesk MapGuide Server, and the communication between them secure on your private internal LAN. For example, you could have your Web server, MapAgent, HTML files, and supporting files for the HTML files (such as bitmaps that appear in the Web page, not within the map) all on a public server outside of the firewall or other Internet security mechanism you are using. Inside the firewall, you would have Autodesk MapGuide Server and your resources (databases, SDFs, and raster images that appear within the map). With this setup, not only is all of your data behind the firewall, but all communication between Autodesk MapGuide Server and your data takes place behind the firewall. This approach enables anyone to use your maps, but minimizes the possibility of hackers accessing your data files or taking advantage of the communication between Autodesk MapGuide Server, and your databases. You can specify exactly which ports you want DCOM to use for communication between Autodesk MapGuide Server and the MapAgent. The data passed between them is only useful for display in Autodesk MapGuide Viewer. For more information, see "Data File Placement" on page 61. To use a remote MapAgent, you need to make sure the MapAgent can communicate with your Autodesk MapGuide Server through the firewall. For more information, see "Setting Up the MapAgent" on page 71. Standardizing on UDP or TCP Different versions of Windows use either UDP ports or TCP ports for DCOM communication by default. When you use the MapAgent on a different computer from the Autodesk MapGuide Server, be sure that the computers are using compatible operating systems. Otherwise, if the MapAgent computer attempts to communicate with the Autodesk MapGuide Server computer using a different protocol, there will be a 30-45 second delay. At the end of the delay, an attempt will be made to connect with the alternate protocol. This delay will occur unless the last working protocol type (UDP or TCP) is cached by the operating system on the MapAgent computer. Architecture and Performance | 55

  • 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
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204

Architecture and Performance
|
55
Using a Remote MapAgent
The MapAgent uses Distributed Component Object Model (DCOM) built on
the Remote Procedure Calls (RPC) transport. Because DCOM calls can be
made across a network, the MapAgent does not need to reside on the same
computer as Autodesk MapGuide Server. This is useful for enhancing secu-
rity, because it allows you to publish maps from your public server while
keeping your data, Autodesk MapGuide Server, and the communication
between them secure on your private internal LAN.
For example, you could have your Web server, MapAgent, HTML files, and
supporting files for the HTML files (such as bitmaps that appear in the Web
page, not within the map) all on a public server outside of the firewall or
other Internet security mechanism you are using. Inside the firewall, you
would have Autodesk MapGuide Server and your resources (databases, SDFs,
and raster images that appear within the map). With this setup, not only is
all of your data behind the firewall, but all communication between
Autodesk MapGuide Server and your data takes place behind the firewall.
This approach enables anyone to use your maps, but minimizes the possi-
bility of hackers accessing your data files or taking advantage of the commu-
nication between Autodesk MapGuide Server, and your databases. You can
specify exactly which ports you want DCOM to use for communication
between Autodesk MapGuide Server and the MapAgent. The data passed
between them is only useful for display in Autodesk MapGuide Viewer. For
more information, see
Data File Placement
on page 61.
To use a remote MapAgent, you need to make sure the MapAgent can
communicate with your Autodesk MapGuide Server through the firewall. For
more information, see
Setting Up the MapAgent
on page 71.
Standardizing on UDP or TCP
Different versions of Windows use either UDP ports or TCP ports for DCOM
communication by default. When you use the MapAgent on a different
computer from the Autodesk MapGuide Server, be sure that the computers
are using compatible operating systems. Otherwise, if the MapAgent
computer attempts to communicate with the Autodesk MapGuide Server
computer using a different protocol, there will be a 30
45 second delay. At
the end of the delay, an attempt will be made to connect with the alternate
protocol. This delay will occur unless the last working protocol type (UDP or
TCP) is cached by the operating system on the MapAgent computer.