Select to view content in your preferred language

Monitor Server config-store relocation?

62
0
Tuesday
JeffMertzXcel
Occasional Contributor

Related to post Solved: Does the ArcGIS Monitor SQLite DB for logs get com... - Esri Community

Is it safe to relocate the ArcGIS Monitor Server config store (and related sqlite databases) ?

Specifically, had a space issue due to the logs database under C:\Users\xyz\AppData\Local\ESRI\ArcGISMonitor\config-store-server\logs.

Our logs database was over 45 GB (plus another 16GB for the WAL) and filled up the C: drive (C: drive space is very limited and everything goes on F:). I could not even bring up the Administration/Logs page due to its size. Eventually, I went into the sqlite database and deleted several million rows of data. After starting Monitor Server, I was able to get into the Logs page and change the settings back to Warning Level and 45 days retention. Soon after, the space was reclaimed (due to auto vacuuming?) and the C: drive was happy.

So then, tinkering around, I stopped Monitor, edited the .env file under config-store-server directory and changed the CONFIG_STORE_PATH to the F: drive. I then copied all the config-store-server files to the new directory on F:. Upon starting Monitor Server, looks like the logs (and data) are being written to the new location. Best guess is that Monitor Server is reading the .env on C: but then storing everything on F: which is fine for this experiment.

It would be nice to relocate the entire Monitor config store out of AppData / off of C: drive - guess that's an enhancement request I need to post.

 

Anyone else out there experience something similar?

0 Kudos
0 Replies