Setup ArcGIS Portal and Web Adaptors using Ansible
gsd-agportal1
using Ansible.Categories:
2 minute read , 26 minute provision provision
Projects: c2platform/rws/ansible-gis
,
c2platform.wincore
,
c2platform.gis
This how-to describes how to create the ArcGIS Portal
instance gsd-agportal1
using the arcgis_portal
role Ansible role that is part of the
c2platform.gis
Ansible
collection. Provisioning of this node also creates two ArcGIS Web Adaptor
instances, one for ArcGIS Portal and one for ArcGIS Server running on gsd-agserver1
. See Setup ArcGIS Server using Ansible.
Prerequisites
gsd-agserver1
running Ansible task Configure ArcGIS Web Adaptor for Portal for ArcGIS will fail.Setup
To set up your environment, follow these steps using Vagrant:
- Run the following command to execute two plays:
plays/gis/portal.yml
andplays/gis/web_adaptor.yml
on the gsd-portal1 virtual machine.
vagrant up gsd-portal1
- Alternatively, if you prefer to run these plays separately, you can use the following commands:
export PLAY=plays/gis/portal.yml
vagrant up gsd-portal1 --provision
export PLAY=plays/gis/web_adaptor.yml
vagrant up gsd-portal1 --provision
Choose the option that best suits your needs to configure the gsd-portal1 virtual machine.
Verify
Select Show in the GUI in VirtualBox Manager for gsd-portal1
and then
Login and then start FireFox.
ArcGIS Portal
Navigate to https://gsd-agportal1:7443/arcgis/ and then select Sign In and login using credentials below. Navigate to https://gsd-agportal1:7443/arcgis/portaladmin and then select Sign In and login using credentials below.
Username | Password |
---|---|
portaladmin | portaladmin123 |
ArcGIS Web Adapter
- Navigate to https://gsd-agportal1/portal/webadaptor
. You should see the ArcGIS Web Adapter
configuration wizard. Note: the web adaptor configuration URL has to be
accessed from the machine hosting the web adaptor.
Show me
- Navigate to IIS Manager can check the configuration for example the HTTPS
binding on port 443 with certificate
gsd-agportal1
.Show me
ArcGIS Server ( via Web Adaptor )
Using credentials below navigate to ArcGIS Server Administrator Directory and navigate to ArcGIS Server Manager and login.
Property | Value |
---|---|
Username | siteadmin |
Password | siteadmin123 |
ArcGIS Portal ( via Web Adaptor )
https://gsd-agportal1.internal.c2platform.org/portal/home/Review
To gain a better understanding of how the ArcGIS Portal is created using Ansible, you can review the following:
In Ansible playbook project c2platform/ansible
:
ArcGIS Portal Play
Vagrantfile.yml
: This file configures thegsd-agportal1
node with thegis/portal
playbook. This file is read in theVagrantfile
.hosts-dev.ini
: The inventory file assigns thegsd-agportal1
node to thegs_portal
Ansible group.
ArcGIS Web Adaptor Play
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.