hydrologic information system deployment and configuration
TRANSCRIPT
Hydrologic Information Hydrologic Information SystemSystem
Deployment and Deployment and configurationconfiguration
DA
SH
AGS Server
IIS
Windows 2003 Server4 GB Ram1 TB Disk
Quad Core CPU
SQLServer
VS 2
005
WaterOneFlow Web Services
ArcGIS 9.2
GIS Data Mxd Service
OD
M L
oad
er
OD
M t
ools
OD
M
Current Deployment Current Deployment ArchitectureArchitecture
Direct DB connection
What are the possible variables for the selected set of sites?
Which of these sites have values for the selected variable?
Multi-station selectionMulti-station selectionFunctionality which still requires direct database Functionality which still requires direct database
accessaccess
WaterOneFlow Web Services
Add methods:GetVarsAtSites(String[] siteids)GetSitesVar(String[] siteids, strVar)
DA
SH
AGS Server
IIS
Windows 2003 Server4 GB Ram1 TB Disk
Quad Core CPU
SQLServer
VS 2
005
ArcGIS 9.2
GIS Data Mxd Service
OD
M L
oad
er
OD
M t
ools
(Future) Web Services (Future) Web Services ArchitectureArchitecture
WaterOneFlow Web Services are extendedWaterOneFlow Web Services are extended
OD
M
For each network: NetworkID, NetworkCode, NetworkName, NetworkConnectionString NetworkServicesWSDL NetworkServicesURL NetworkServicesGetValuesURL CreatedDate LastUpdateDate ResponsibleParty Disabled DisableDate
SQL Server
ODMs and catalogs. All instancesexposed as ODM (i.e. have standard ODM tables or views: Sites, Variables, SeriesCatalog, etc.)
NWIS-IID
NWIS-DV
ASOS
STORET
TCEQ
BearRiver
. . .
Spatial store
Geodatabase or collection of shapefilesor both
NWIS-IID points
NWIS-DV points
ASOS points
STORET points
TCEQ points
BearRiver points
. . .
My new ODM
My new points
More databases
More synced layers
DASH Application
Background layers
(can be in the same or separate spatial store)
WOF services
Web services from a common template
NWIS-IID WS
NWIS-DV WS
ASOS WS
STORET WS
TCEQ WS
BearRiver WS
. . .My new WS
More WS fromODM-WS template
USGS
NCDC
EPA
TCEQ
Web Configuration fileStores information about registered networks
MXDStores information about layers
WSDLs
, web
serv
ice U
RLs Connection
strings
Layer info,
symbology, etc.
SQL Server
ODMs and catalogs. All instancesexposed as ODM (i.e. have standard ODM tables or views: Sites, Variables, SeriesCatalog, etc.)
NWIS-IID
NWIS-DV
ASOS
STORET
TCEQ
BearRiver
. . .
Spatial store
Geodatabase or collection of shapefilesor both
NWIS-IID points
NWIS-DV points
ASOS points
STORET points
TCEQ points
BearRiver points
. . .
My new ODM
My new points
More databases
More synced layers
DASH Application
Background layers
(can be in the same or separate spatial store)
WOF services
Web services from a common template
NWIS-IID WS
NWIS-DV WS
ASOS WS
STORET WS
TCEQ WS
BearRiver WS
. . .My new WS
More WS fromODM-WS template
USGS
NCDC
EPA
TCEQ
Web Configuration fileStores information about registered networks
MXDStores information about layers
WSDLs
, web
serv
ice U
RLs Connection
strings
Layer info,
symbology, etc.
2
6
5
3
ODMDataLoader
1
4
New network registration steps
Using the ODM DataLoader, load your data into a blank ODM instance (this will create all ODM tables, including Sites, Variables and SeriesCatalog that HIS application relies on)
Copy Web Services template to a new folder, edit the template web.config file to point to the new ODM, test to make sure the new service works as expected
Create a point layer (a feature class in GDB, or a shapefile) from the new ODM’s Sites table or from GetSites web service (using GetSitesTool – this will also test the service)
Add the point layer to the MXD document, specify symbology, scale-dependent rendering, etc.
Add information about the new ODM, the associated web service, and the associated point layer, to HIS configuration file (see the first slide for the exact content)
Restart the HIS service6
5
4
3
2
1
Loading Observation dataLoading Observation data
►Make a copy of the ODM template Make a copy of the ODM template databasedatabase
►Data to be loaded is in an Excel Data to be loaded is in an Excel readable format (xls, txt, csv).readable format (xls, txt, csv).
►Use ODM DataLoader to load dataUse ODM DataLoader to load data
1
Structure Structure of ODM of ODM
DataLoadDataLoaderer
1
Configure WaterOneFlow Web Configure WaterOneFlow Web ServiceService
►Create copy of Web Services from template: Create copy of Web Services from template: Make a copy and renameMake a copy and rename
►Edit the web.config file using VS or notepadEdit the web.config file using VS or notepad
<appSettings> <add key="network" value=“BearRiver"/> <add key="vocabulary" value=“BearRiver"/> <add key="serviceExampleHTMLPage" value=“BearRiverSampleData.htm"/></appSettings><connectionStrings> <add name="ODDB" connectionString="Data Source=.\SQLEXPRESS;Integrated Security=true;User instance=true;AttachDbFilename=|DataDirectory|BearRiver.mdf;Database=BearRiver" providerName="System.Data.SqlClient"/> </connectionStrings>
2
Extract Geometries from Extract Geometries from WebServiceWebService
► GetSites method returns sites with Lat / Long valuesGetSites method returns sites with Lat / Long values► Use GetSitesTool (under development) to Create Use GetSitesTool (under development) to Create
shape file. shape file. ► Add shapefile to service documentAdd shapefile to service document
3
Add Sites to Map Service Add Sites to Map Service DocumentDocument
► Add DataAdd Data► Specify rendering propertiesSpecify rendering properties
4
Configure HISConfigure HIS► Edit HISNetworks.xml found in the bin of the HIS Application.Edit HISNetworks.xml found in the bin of the HIS Application.► Copy/Paste existing “HISNetwork” block and edit to change:Copy/Paste existing “HISNetwork” block and edit to change:
<HISNetwork Script="GetSiteInfo" RecordSetXML="" TagName=“BearRiver" Name=“BearRiver" LayerName=“BearRiver" LayerIndex="1" WebServiceURL=“ http://water.usu.edu/BearRiver/cuahsi_1_0.asmx SiteCodeField="siteid"> <ApWebFields Desc="ParameterFields" Name="ParameterFields" TagName="ParameterFields" IsReadOnly="False" IsFixedSize="False" IsSynchronized="False" Count="2"> <ApWebField ConstValue="False" FieldOrder="0" AllowEdit="1" Desc=“siteid" FieldAlias="asosid" Name="siteid" TagName="siteid" Order="0" Type="0" Text="siteid"/> <ApWebField ConstValue="True" FieldOrder="1" AllowEdit="1" Desc="BearRiver" FieldAlias="BearRiver" Name="BearRiver" TagName="BearRiver" Order="0" Type="0" Text="BearRiver" Value="BearRiver"/> </ApWebFields> <ApWebFields Desc="DisplayFields" Name="DisplayFields" TagName="DisplayFields" IsReadOnly="False" IsFixedSize="False" IsSynchronized="False" Count="2"> <ApWebField ConstValue="False" FieldOrder="1" AllowEdit="1" Desc="sitename" FieldAlias="sitename" Name="sitename" TagName="sitename" Order="0" Type="0" Text="sitename"/> <ApWebField ConstValue="True" FieldOrder="0" AllowEdit="1" Desc="BearRiver" FieldAlias="BearRiver" Name="BearRiver" TagName="BearRiver" Order="0" Type="0" Text="BearRiver" Value="BearRiver"/> </ApWebFields></HISNetwork>
► NetworkID, NetworkCode,► NetworkName,► NetworkConnectionString ► NetworkServicesWSDL► NetworkServicesURL► NetworkServicesGetValuesURL► CreatedDate► LastUpdateDate► ResponsibleParty► Disabled► DisableDate
5
Refresh Map ServiceRefresh Map Service
► Use ArcCatalog to Stop and start the Map service Use ArcCatalog to Stop and start the Map service
6
Deployment scheduleDeployment schedule
►March 29: 8 servers received; 2 are March 29: 8 servers received; 2 are being configuredbeing configured
►April 9: reviewApril 9: review►April 16: final call for componentsApril 16: final call for components►Week of April 23: shipping to 7 test Week of April 23: shipping to 7 test
bedsbeds
ContentContent
C: 50Gb O: 270Gb P: 180Gb
System Disk
OS
Program Files - SQL Server - ArcGIS - ArcGIS Server
HIS - OD Data Loader - ODM Tools
Wwwroot - DASH - web service test tool
Data Disk
ODM Databases
Web services
GIS Data
Tutorials, how-tos
Work area
Backup and experiments
Virtual server
OS backup image
Another work area
Content2Content2
C: 50Gb O: 270Gb P: 180Gb
System Disk
OS
Program Files - SQL Server - ArcGIS - ArcGIS Server
HIS - OD Data Loader - ODM Tools
Data Disk
ODM Databases
GIS Data
Work area
HIS software and backup
Virtual server
OS backup image
WaterOneFlow Web Services
Web Apps WSTestPage DASH
Tutorials, how-tos
Additional work area
AdministrationAdministration
►Local administratorLocal administrator►Remote admin account (for SDSC)Remote admin account (for SDSC)►Need a GetNetworks serviceNeed a GetNetworks service
UpdatesUpdates
► Software:Software: DASH and ODM ToolsDASH and ODM Tools
► New versions on web site, with installation instructionsNew versions on web site, with installation instructions ODM Data LoaderODM Data Loader
► ClickOnce deploymentClickOnce deployment Regular software updates and patches for COTSRegular software updates and patches for COTS
► Need to first try at SDSC; post on administrators blogNeed to first try at SDSC; post on administrators blog
► Databases:Databases: Regularly updated at SDSC; available to workgroups via Regularly updated at SDSC; available to workgroups via
web services and direct connection to disrupter.sdsc.eduweb services and direct connection to disrupter.sdsc.edu► Web servicesWeb services
New templates posted on web site, with instructionsNew templates posted on web site, with instructions