ArcGIS Enterprise: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
mNo edit summary
Line 187: Line 187:
Before using ArcGIS 10.6 Enterprise Builder, please navigate to http://duster:6080/arcgis/enterprise to complete the configuration.
Before using ArcGIS 10.6 Enterprise Builder, please navigate to http://duster:6080/arcgis/enterprise to complete the configuration.
</pre>
</pre>
=== Curiously painful step 7 ===
7. In the Web Adaptor URLs panel, enter the URLs for the Web Adaptors (https://webadaptorhost.domain.com/webadaptorname) that will be configured with the portal and server components of your deployment. '''These Web Adaptors must already be installed and located on the same machine where you ran the ArcGIS Enterprise Builder.'''
Okay fine. You told me I don't need Web Adaptor in the deployment but now you block configuration.


== Post-install work ==
== Post-install work ==

Revision as of 05:05, 30 April 2018

See also Docker and ArcGIS in Docker, a project I abandoned.

2018-Apr-29 Today I am installing the "ArcGIS Enterprise Builder for Linux" version 10.6 into a virtual machine running Ubuntu 16.04, on Bellman.

This is absolutely the simplest set up I have cooked up so far. Maybe the AWS version is easier? But I want it running on my own hardware.

Preparing the VM

After installing Ubuntu,

apt update
apt upgrade
apt install emacs-nox build-essential

I had to issue the mount command myself to get the VirtualBox additions cdrom to play.

mount /dev/cdrom /media/cdrom
cd /media/cdrom
./VBoxLinuxAdditions.run

Now I take a snapshot once the machine is configured and before installing ArcGIS... vboxmanage snapshot server take before_arcgis

I set the vm to share ~bwilson/Downloads and /green/GIS/Data_Repository

Running the installer

The tarball is already unpacked in Downloads, so I ssh into bellman and

sudo -s
cd /media/sf_Downloads
cd EnterpriseBuilder

The instructions are in HTML format, so I NFS mounted the folder on my Mac and opened the toplevel html file in Firefox.

  • Gather prvc (provisioning files) good luck navigating the ESRI web site!
  • Run ./Setup
  • Get this message
WARNINGS:
------------------------------------------------------------------------
*** DIAG002: Unsupported Linux distribution.  Check the ArcGIS Data
Store System Requirements for supported Linux distributions.

This is like being slapped in the face with a wet Mackerel, since I chose the distribution from ESRI's website. Yep, here it is in the HTML docs too:

 Ubuntu Server LTS 16.04.3

I have this: PRETTY_NAME="Ubuntu 16.04.4 LTS" Hmmm... that looks okay and in fact their

./Setup -s `pwd`/server.prvc -p '`pwd`/portal.prvc -v
Deploying ArcGIS 10.6 Enterprise Builder requires a minimum of 7.5 GB of RAM. Please contact your system administrator.

Ah.. fixing... bumped it to 10GB. Bellman has 32GB so that should be fine. Now it's giving me more instructions. However clumsy these changes might seem to an experienced Linux user, make them to keep ESRI happy:

adduser arcgis
cat >> /etc/security/limits.conf <<EOF
arcgis soft nofile 65536
arcgis hard nofile 65536
arcgis soft nproc 25059
arcgis hard nproc 25059
EOF

/sbin/sysctl -w vm.max_map_count=262144
/sbin/sysctl -w vm.swappiness=1

I edited /etc/hosts to put this line in

192.168.123.72 duster.wildsong.biz duster

and I coerced the 127.1.0.1 line to have the domain in it, too.

Log out, log back in as arcgis and check

ulimit -Sn -Hn

Run setup again.

All is in readiness.

arcgis@duster:/media/sf_Downloads/EnterpriseBuilder$ ./Setup -p `pwd`/PortalforArcGIS_594279.prvc -s `pwd`/_ArcGISServer_594278.prvc -v
========================================================================
                  ArcGIS Server 10.6.0 Diagnostic Tool
                                    
                            Hostname: duster
========================================================================

 DIAG000: Check for installation as root                       [PASSED]
 DIAG001: Check for 64-bit architecture                        [PASSED]
 DIAG002: Check OS version                                     [PASSED]
 DIAG003: Check hostname for invalid characters                [PASSED]
 DIAG024: Check /etc/hosts for hostname entry                  [PASSED]
 DIAG004: Check installed packages                             [PASSED]
 DIAG005: Check system limits                                  [PASSED]
 DIAG008: Check HTTP port                                      [PASSED]
 DIAG009: Check HTTPS port                                     [PASSED]
 DIAG010: Check Xvfb ports                                     [PASSED]

------------------------------------------------------------------------
There were 0 failure(s) and 1 warning(s) found:


WARNINGS:
------------------------------------------------------------------------
*** DIAG024: The hostname entry in the /etc/hosts file must be in the
following format:

	<IP> <FQDN> <Machine_name>

For example:

	111.222.333.444 hostname.esri.com hostname

Federating an ArcGIS Server site with Portal for ArcGIS will fail if
this entry is formatted differently.  Update the hostname entry before
creating your ArcGIS Server site.


========================================================================
                Portal for ArcGIS 10.6.0 Diagnostic Tool
                                    
                            Hostname: duster
========================================================================

 DIAG000: Check for installation as root                       [PASSED]
 DIAG001: Check for 64-bit architecture                        [PASSED]
 DIAG002: Check OS version                                     [PASSED]
 DIAG003: Check hostname for invalid characters                [PASSED]
 DIAG005: Check system limits                                  [PASSED]
 DIAG004: Check installed packages                             [PASSED]
 DIAG016: Check Portal for ArcGIS ports                        [PASSED]
 DIAG024: Check localhost resolution                           [PASSED]
 DIAG029: Check file system type                               [PASSED]

------------------------------------------------------------------------
There were 0 failure(s) and 0 warning(s) found:



========================================================================
                ArcGIS Data Store 10.6.0 Diagnostic Tool
                                    
                            Hostname: duster
========================================================================

 DIAG000: Check for installation as root                          [PASSED]
 DIAG001: Check for 64-bit architecture                           [PASSED]
 DIAG002: Check OS version                                        [PASSED]
 DIAG003: Check hostname for invalid characters                   [PASSED]
 DIAG004: Check installed packages                                [PASSED]
 DIAG005: Check relational and tile cache data store requirements [PASSED]
 DIAG016: Check ArcGIS Data Store ports                           [PASSED]
 DIAG020: Check hostname IP address mismatches                    [PASSED]
 DIAG029: Check spatiotemporal big data store requirements        [PASSED]

------------------------------------------------------------------------
There were 0 failure(s) and 0 warning(s) found:



Enter 'q' to quit or press enter to continue: 

Oh BITE me!

Starting installation of ArcGIS 10.6 Enterprise Builder...
[ArcGIS 10.6 Enterprise Builder Setup Warning]
This setup has detected that the DISPLAY variable has not been set, but the silent UI mode was not selected.
Note: For information on the silent setup UI mode, please run this script with the --help option.

Run setup again!

./Setup -p `pwd`/PortalforArcGIS_594279.prvc -s `pwd`/_ArcGISServer_594278.prvc -v -l yes -m silent

Eventually, after a subtantial wait,

[ArcGIS 10.6 Enterprise Builder Installation Details]
UI Mode......................silent
Agreed to Esri License.......yes
Server Authorization File..../media/sf_Downloads/EnterpriseBuilder/_ArcGISServer_594278.prvc
Portal Authorization File..../media/sf_Downloads/EnterpriseBuilder/PortalforArcGIS_594279.prvc
Installation Directory......./home/arcgis
Install Set..................Typical

Starting installation of ArcGIS 10.6 Enterprise Builder...
...ArcGIS 10.6 Enterprise Builder installation is complete.

Before using ArcGIS 10.6 Enterprise Builder, please navigate to http://duster:6080/arcgis/enterprise to complete the configuration.

Curiously painful step 7

7. In the Web Adaptor URLs panel, enter the URLs for the Web Adaptors (https://webadaptorhost.domain.com/webadaptorname) that will be configured with the portal and server components of your deployment. These Web Adaptors must already be installed and located on the same machine where you ran the ArcGIS Enterprise Builder.

Okay fine. You told me I don't need Web Adaptor in the deployment but now you block configuration.

Post-install work

Take another snapshot once it's running.

Set up the services to start automatically at boot. Or do it by hand...

ssh arcgis@duster
datastore/startdatastore.sh
server/startserver.sh
portal/startportal.sh