Setup Geoweb

Install VertiGIS Studio Web and Studio Reporting

Projects: c2platform/rws/ansible-gis, c2platform.wincore, c2platform.gis


Overview

Here’s an overview of the process in this how-to to setup Geoweb which currently consists of VertiGIS Studio Web and Reporting.

  1. Vagrant creates a VirtualBox VM gsd-geoweband performs Sysprep  on it.

  2. Vagrant runs the Ansible provisioner and then Ansible will prepare the VM for manual installation of the MSI:

    1. Open ports on the firewall for Web and Reporting.
    2. Create a certificate for the SSL / TLS.
    3. Install IIS.
    4. Create a service acount sa_geoweb.
    5. Configure ISS: create websites, bindings, application pools etc.
    6. Download MSI and license file to the node gsd-geoweb.
  3. Provision will fail because a certificate hash needs to be provided. The engineer provides the correct hash and runs the Vagrant provisioner again.

  4. Using RDP connection to gsd-geoweb the engineer manually runs the installers. 1

  5. The engineers runs the provisioner again to update the IIS configuration created by the VertiGIS installers to use for example the service account sa_geoweb.

NodeOSProviderPurpose
gsd-geowebWindows 2022 ServerVirtualBoxWeb and Reporting

Prerequisites

Setup

Use the following command

vagrant up gsd-geoweb

Create App in ArcGIS Portal

  1. Navigate to https://gsd-agportal1.internal.c2platform.org/portal/home  and login as portaladmin 2
    UsernamePassword
    portaladminportaladmin123
  2. Choose ContentNew ItemApplication
    PropertyValueComment
    Application TypeOther Application
    TitleGeoweb Modules registratie
    FolderKeep default portaldmin
    TagsGeoweb Vertigis Studio Modules
    SummaryApp for VertiGIS Studio modules registration
  3. Via SettingsApplicationUpdate add the Redirect URI shown below and click Update.
    1. https://geoweb.c2platform.org/
    2. https://geoweb.c2platform.org/ModuleViewer
    3. https://geoweb.c2platform.org/ModuleReporting/designer
  4. Copy the App ID to your clipboard. For example 3a01FOjRkQJD2dCv.

Install Studio Web

  1. RDP connection to gsd-geoweb
  2. Rightmouse on shortcut Software on the Desktop anr Run as Administrator
  3. Run VertiGIS-Studio-Web-5.28.1.msi
    ModuleDestination Folder
    VertiGIS Studio WebD:\Apps\VertiGIS\Web
  4. Start post-installation configuration
    PropertyValue
    IIS WebsiteDefault Web Site
    Virtual Directory/ModuleViewer/
    Portal TypePortal for ArcGIS
    Portal URLhttps://age.c2platform.org/portal/home
    App ID( value from previous step )
    Redirect URLhttps geoweb.c2platform.org

Install Studio Reporting

  1. Run as Administrator VertiGIS-Studio-Reporting-5.22.0.msi
    ModuleDestination Folder
    VertiGIS Studio ReportingD:\Apps\VertiGIS\Reporting
  2. Post installation configuration
    PropertyValue
    Data DirectoryD:\ProgramData\Geocortex\Reporting
    IIS WebsiteModuleReporting
    Virtual Directory/ModuleReporting/
    Portal TypePortal for ArcGIS
    Portal URLhttps://age.c2platform.org/portal/home
    App ID( value from previous step )
    Redirect URLhttps geoweb.c2platform.org /ModuleReporting/designer/

Verify

  1. RDP to gsd-geoweb as user vagrant, start IIS Manager and review sites basic settings:

    Site nameApplication PoolPhysical pathConnect as 3
    ModuleViewerDefaultAppPoolD:\inetpub\StudioWebPass-through authentication
    ModuleReportingDefaultAppPoolD:\inetpub\ModuleReportingPass-through authentication

    Review the site bindings:

    Site nameTypeIP addressPortHost nameSSL certificate
    ModuleViewerhttpAll Unassigned8080(empty)
    ModuleViewerhttpsAll Unassigned4443(empty)gsd-geoweb.internal.c2platform.org
    ModuleReportinghttpAll Unassigned8081(empty)
    ModuleReportinghttpsAll Unassigned4444(empty)gsd-geoweb.internal.c2platform.org
  2. Review the applications:

    ApplicationApplication PoolPhysical PathConnect as
    ModuleViewerDefaultAppPoolD:\inetpub\ModuleReportingsa_geoweb
    ModuleReportingVertiGISStudioReportingD:\inetpub\ModuleReportingsa_geoweb
  3. Review the application pools:

    Application PoolIdentity
    DefaultAppPoolsa_geoweb
    VertiGISStudioReportingsa_geoweb
  4. Navigate to https://geoweb.c2platform.org/ModuleViewer/  and https://geoweb.c2platform.org/ModuleReporting/  and login as portaladmin.

Review

In the inventory project c2platform/rws/ansible-gis:

  • The Geoweb play plays/gis/geoweb.
  • The Geoweb configuration in group_vars/geoweb.

The cplatform.gis.vertigis_studio Ansible role currently does not do a lot, it is only used to download MSI installers and the license file to the gsd-geoweb node. Most of the work is done by the c2platform.wincore.win role.

Additional Information

Footnotes


  1. Automating the MSI might be possible using a script similar install-vsw.ps1  but in that case it does seem to be supported to use a different virtual directory. In relation to the script, it seems that parameters VirtualPath is not ignored. ↩︎

  2. Reverse proxy URL https://age.c2platform.org/portal/home/ does not work currently. But the link does work and is required when installing Web or Reporting. ↩︎

  3. The win_iis_website module does not allow us to configure a different “connect as” user. If this needs to be changed, this is a manual step. ↩︎