POST
|
Hello - this has puzzled me for a long time. We have three ArcGIS Server nodes sharing the load for our map services. In ArcGIS Server Manager > Site > Machines I have stopped one of the nodes: The health check (:6080/arcgis/rest/info/healthcheck) for the stopped machine returns a 404 error: However, If I look at the ArcGIS Server logs through the Admin interface (:6080/arcgis/admin/logs/query) I can still see log mesages from the stopped node. Why doesn't the web adaptor recognize that this node is unhealthy and direct all of the requests to the other 2 nodes? Looking at the last 1000 log messages, roughly 1/3 of the messages are generated by the stopped node. Thanks, Bernie.
... View more
Tuesday
|
0
|
0
|
62
|
POST
|
Since you are only concerned with the items that are consuming credits you can use an ArcGIS Notebook to get a list of all the items in your organization. This sample Notebook should get you started. Remember it is the database storage that is the most expensive so look for large Feature layers or Feature services hosted in AGOL. Building this dashboard will help you monitor for new items added to your AGOL organization. I used this blog to replicate the dashboard for my AGOL organization. Here is a sample image from our dashboard showing recent increases in feature service storage: Good luck, Bernie.
... View more
3 weeks ago
|
2
|
0
|
170
|
POST
|
Put all the points in one layer. Some points are occupied by an existing tree and some points are unoccupied. There is no need to separate these points into two layers. Just use an attribute to indicate if the point has a tree. Bernie.
... View more
3 weeks ago
|
0
|
0
|
90
|
POST
|
Saurabh, You should be able to get the web server logs from the machine hosting your web adaptor. The web server logs will give you the client IP, date, time, the incoming REST service request, the URL of the referrer, the referring agent, http status code, bytes transferred and the duration of the request in seconds. I find it useful to look at the duration of the request to identify the slow requests that are using a lot of server time. This may indicate a problem such as a poorly formed query on a map service, or a map service that needs to be tuned for faster performance. Unfortunately I cannot tell you how to find the web server logs. I rely on an excellent server administrator to extract and filter logs for my analysis. Just looking at requests that run longer than 60 seconds I usually only have 100 or fewer records per day to examine. I just scan them in a text editor and look for unusual requests that may need further investigation. Cheers, Bernie.
... View more
02-20-2024
06:48 AM
|
1
|
0
|
145
|
BLOG
|
So GeoParquet and Cloud Optimized Geotiff could replace simple map services and simple image services leaving ArcGIS Server to do more geoprocessing, geocoding, etc.
... View more
02-14-2024
04:22 AM
|
0
|
0
|
176
|
BLOG
|
So GeoParquet and Cloud Optimized Geotiff could replace simple map services and simple image services leaving ArcGIS Server to do more geoprocessing, geocoding, etc.
... View more
02-14-2024
04:21 AM
|
0
|
0
|
178
|
BLOG
|
So it's an interim measure until Geoparquet matures and ArcGIS Pro adds support for Geoparquet?
... View more
02-13-2024
11:10 AM
|
0
|
0
|
222
|
BLOG
|
Are you extracting data for your entire AOI and making a copy of it in a hosted feature service? What benefit does that give you? You said the Overture data was hosted on Amazon S3 and freely available to the Public. You also said the Geoparquet format is optimized for attribute queries. Why would you want to make a copy of the Overture data and store it in a hosted feature service where you have to pay for storage?
... View more
02-13-2024
10:57 AM
|
0
|
0
|
192
|
IDEA
|
If the ExB widgets aren't ready you can always use the Web AppBuilder. The Basemap Gallery, Layers, and Add Data widgets all work great as long as you don't need any of the capabilities of the JS 4.x API. Eric, you said: "I've been publishing enterprise services since the days of ArcIMS, and have never been forced to include a basemap. Basemaps have always been configured separately from the services that we want to overlay." A service without a basemap is just one of your map services straight from your REST services directory, e.g. https://geonb.snb.ca/arcgis/rest/services/GeoNB_SNB_Parcels/MapServer Cheers, Bernie.
... View more
02-13-2024
09:25 AM
|
0
|
0
|
168
|
IDEA
|
Eric, You can accomplish what you want by using the Layers widget and the Basemap widget in your ExB apps. You do not need to publish a web map for each layer you want to add to your ExB app. Just add all of the layers that you want to display in ExB to your web map. You can set as many or as few of the layers to be "Off" by default when your web map is opened. Then your users can turn layers on or off as they are needed. At version 11.2 ExB has an "Add Data" widget that can be used by your users to add additional layers that are not in the web map. Bernie.
... View more
02-13-2024
04:45 AM
|
0
|
0
|
181
|
POST
|
ArcGIS Server is essentially ArcGIS Enterprise without ArcGIS Portal. ArcGIS Portal is all of the tools to create and manage the content (web maps, web scenes, map viewers, etc) that uses and displays the web services you publish with ArcGIS Enterprise. Bernie.
... View more
02-12-2024
10:09 AM
|
1
|
0
|
157
|
POST
|
Thanks @Brian_Wilson ! Hopefully some more people will add suggestions like yours. Bernie.
... View more
02-06-2024
09:41 AM
|
0
|
0
|
232
|
POST
|
Brian, We have a similar ASP.NET page that we display in a simple ExB app that refreshes every 7 minutes and gives us a visual of map services that are failing. It's just a list of map services in a table. When a service fails it appears in red text in the list. Using a python script like you would probably be more useful. Can you share a copy of your script? Bernie.
... View more
02-05-2024
03:01 PM
|
0
|
0
|
274
|
POST
|
Hello, We are not in a position to purchase ArcGIS Monitor - we are considering other monitoring software options. In the meantime I am looking for suggestions on using python scripts to monitor ArcGIS Server. I am working on a python script that will routinely query the ArcGIS Server logs for the most recent 1000 log messages. What patterns can I detect in the logs that will indicate a problem? Our enviroment is open to the public and it runs on virtual machines (Windows Server 2016) in our own data centre. We do not use an enterprise geodatabase. All of our data is read-only and served from File Geodatabases - no editing is permitted. Our site typically receives 1,000,000 requests per day. We have 3 ArcGIS Servers sharing the load in a single site. Occassionally, one of the three servers will stop responding to requests and flood the logs with messages. The web adaptors don't detect the problem so the effect is that 1 out of 3 requests will fail. We often do not notice the problem until a user reports an error. Currently, my script will look at the balance of the messages coming from the 3 servers. They should each contribute ~333 messages out of 1000. However, this varies by a few 100 messages. I know from examining the logs during past occurrences that one server will contribute nearly all 1000 messages when it is malfunctioning. I am planning to use 800 out of 1000 mesages generated by a single machine as a threshold to indicate there is a problem. Another condition I am monitoring is the duration in seconds between the 1st log message and the 1000'th log message. Current monitoring shows the duration can range from 5000 to 70,000 seconds. During the two most recent occurrences the duration was reduced to 40 and 90 seconds. I am considering a threshold of 1000 seconds duration to indicate there might be a problem. If either of these conditions are met email alerts will be sent. In my experience a simple stop / start of the misbehaving server will quickly return performance back to normal levels. In your experience, what are some other conditions that can be detected in the ArcGIS Server logs? Thanks, Bernie. P.S. Here are some smaple stats (in CSV) from the python script I am building: DATE, TIME, DURATION, NODEA_MESSSAGES, NODEB_MESSSAGES, NODEC_MESSSAGES, MAX_DRAW_TIME, AVG_DRAW_TIME, MIN_DRAW_TIME, MAP_DRAWS 2024-02-01, 15:45, 9887, 326, 379, 295, 0.98988, 0.14948588888888886, 0.01422, 90 2024-02-01, 15:50, 8132, 295, 398, 307, 0.97084, 0.14198474137931036, 0.00576, 116 2024-02-01, 15:50, 10425, 463, 333, 204, 0.82525, 0.23391200000000012, 0.02613, 95 2024-02-01, 16:36, 16022, 351, 322, 327, 2.56564, 0.21938160919540237, 0.01393, 87 2024-02-01, 16:40, 9383, 378, 352, 270, 0.97073, 0.13698309734513278, 0.01551, 113 2024-02-01, 22:17, 17915, 269, 383, 348, 0.37303, 0.10854188235294118, 0.01472, 85 2024-02-01, 22:30, 26976, 221, 417, 362, 0.39142, 0.11690624999999995, 0.02177, 112 2024-02-01, 22:33, 14758, 254, 372, 374, 0.52373, 0.10919143939393938, 0.01306, 132 2024-02-01, 22:45, 26553, 251, 376, 373, 0.77659, 0.09833545454545461, 0.01493, 121 2024-02-01, 23:00, 51258, 216, 367, 417, 0.88067, 0.11203641509433963, 0.01489, 106 2024-02-01, 23:15, 72957, 236, 376, 388, 1.8946, 0.1751447115384615, 0.01602, 104 2024-02-01, 23:30, 62913, 258, 360, 382, 0.41343, 0.07835200000000005, 0.01341, 120
... View more
02-05-2024
12:55 PM
|
0
|
7
|
346
|
IDEA
|
I was in the same boat as you and only created one or two scripts per year. But ChatGPT makes it really easy to quickly find all the answers to your Python questions. No need to Google or search through documentation. The script I am working on is for monitoring our ArcGIS Server log files. (ArcGIS Monitor is too expensive). I found a sample script from Esri that can read messages from the logs. Then I started asking questions in ChatGPT to help me make the modifications. Give it a try. If you have ArcGIS Notebooks in your ArcGIS Enterprise deployment you can write your Python code there and there is a built in scheduler to run your Notebook to check for changes in the domain values.
... View more
02-01-2024
11:28 AM
|
0
|
0
|
258
|
Title | Kudos | Posted |
---|---|---|
2 | 3 weeks ago | |
1 | 02-20-2024 06:48 AM | |
1 | 08-31-2022 11:37 AM | |
1 | 02-12-2024 10:09 AM | |
1 | 01-11-2024 12:16 PM |
Online Status |
Offline
|
Date Last Visited |
yesterday
|