Autonomo 4 - How to run on a different environment than production for testing? (internal)
Simplified - when need to do pre-release testing or joint development with a partner or customer on staging environment.
Steps to install Autonomo to a non-production environment
- Environments
- Production - nothing has to be used, default has everything, so NOTHING has to be added, created, changed by the user.
- staging, qa, dev - each are their own environment, with their own data and their own resources (CPU, Memory, Storage).
- Uninstall what is running on your asset
- You can only do this via the command line (ie quiet install) on 4.x - see KB on installation options below, the uninstall is in the same doc
- Prep for doing the install
- If using UI installer
- See Autonomo 4 - Installation via UI
- type \\staging\ in front of your username
- THIS SHOULD never be given to a customer.
- If using quiet install Autonomo 4 - Installation via command line (quiet install)
- ENV="staging"
- Please read the KB link above, you need to fill in the "<>" items as they are required
- ENV="staging"
- Re-start the Autonomo service
- Hit windows key
- Type "service"
- Open service manager
- Click on the Autonomo service (one of the listings)
- Right-click (or use the icon at the top) and restart the service (you can also stop, then start...does the same thing)
- This will make the service restart, launches the 2 applications.
Notes
- Your machine must be Windows, can be 10 or 11; it must have a wifi adaptor and it must be enabled. You must be connected to the internet via wifi or ethernet (if ethernet, you must have a wifi adaptor and it must be enabled)
- Autonomo logs are in Event View under the "Applications service and logs" folder - it is called Troverlo Autonomo
- See this doc for an overview of the Autonomo theory of operations - Autonomo 4 - Operational insights (Internal).
- You must use credentials for a CUSTOMER user, you can't use a Troverlo user's credentials.
- If you want to test on the Staging environment, replace the "qa" with "staging" above in the two files or in the quiet install command line instructions.
- If you want to test on the Development environment, replace the "qa" with "dev" above in the two files or in the quiet install command line instructions.
Validation
- The Asset name will be your hostname + serial number
- Go to Troverlo portal,
- Look on the All Assets page, search for your Asset name, it should be in the active state.
- Look on the observations page, search for your Asset name, you should see an observation every 5 minutes (this is the default)
Example Config.json Mark Arrington uses for testing drops and release candidates
-
- Observation Window
- "dataTranmissionRate": { "VERY_SLOW_data_speed": 60 },
- Change value of "VERY_SLOW_data_speed":
- Default is 5 min (300)
- The unit is seconds
- This defines the time Autonomo looks for a unique MAC (TagID) and SSID (Tag Data) combination, and it grabs the highest RSSI (signal strength) in that time window.
- Turning on debug logging in event viewer logs
- We have 12 logging sources, 6 of them are for debug
- We turn these off by default to reduce burden on the Asset
- We can turn these on for testing or to do diagnostics on a customer
- Add this to the file
- "logging": { "autonomo": { "debug": true }, "autonomoWifiAgent": { "debug": true } },
- Example
-
{
"logging": {
"autonomo": {
"debug": true
},
"autonomoWifiAgent": {
"debug": true }
},
"dataTranmissionRate": {
"VERY_SLOW_data_speed": 60
}
-
- Observation Window