- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 07:36 AM
Hi, having trouble installing ThousandEyes Ent. agent on a cisco catalyst 9300. TE support says there isn't enough memory allocated to the app-hosting platform, should be 2GB and displays only 256MB.
Has anyone had experience of this and know how to fix it please?
#sho app-hosting resource
CPU:
Quota: 800(Units)
Available: 800(Units)
Memory:
Quota: 256(MB)
Available: 256(MB)
Storage space:
Total: 10000(MB)
Available: 10000(MB)
Solved! Go to Solution.
- Labels:
-
App Hosting
-
enterprise agents
-
ThousandEyes
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 11:55 AM
The app-hosting environment was not able to allocate 4GBytes of memory from the switch flash storage. This is a requirement for app-hosting.
In our case this was because there were numerous versions of IOS XE stored in the flash memory, so the system only had 3.8GBytes available. In such cases the app-hosting environment uses a default template reducing the amount of system resources available to it.
Once we completed an ‘install remove inactive’ on the switch to remove older IOSXE version, the switch had over 4GBytes of flash memory available to allocate to app-hosting environment.
Completing ‘no iox’ to shutdown app-hosting and restarting it with’iox’ command enabled the ThousandEyes template to allocate the full resources required.
Hope this is useful.
Regards
Dale Shaw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 07:41 AM
This is configurable, see the following documentation:
Excerpt:
Example: Overriding App Resource Configuration
This example shows how to override an app resource configuration.
Device# configure terminal Device(config)# app-hosting appid iox_app Device(config-app-hosting)# app-resource profile custom Device(config-app-resource-profile-custom)# cpu 7400 Device(config-app-resource-profile-custom)# memory 2048 Device(config-app-resource-profile-custom)# vcpu 2 Device(config-app-resource-profile-custom)# end
Get in touch: https://torbjorn.dev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 08:46 AM - edited 03-20-2024 08:52 AM
Thanks for your advice Torbjorn. Is this for when the app is installed? My issue is that ThousandEyes doesn't install, it starts but bombs out after 10-20 seconds.
I have installed this on other switches and it worked without having to amend any app profiles.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 09:12 AM
I would uninstall then reinstall with the resource configuration in place.
Haven't had to apply resource configuration before unless I have been running multiple apps. Is there anything that makes that specific switch different from the others?
Get in touch: https://torbjorn.dev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 09:28 AM - edited 03-20-2024 10:08 AM
It looks to be an issue post IOS-XE upgrade.
The switch where it doesn't install was recently upgraded to 17.9.4a from 16.12.4 and the app-hosting resource seems to be locked at 256MB.
#sho app-hosting resource
CPU:
Quota: 25(Percentage)
Available: 25(Percentage)
VCPU:
Count: 2
Memory:
Quota: 256(MB)
Available: 256(MB)
Storage space:
Total: 10827(MB)
Available: 7279(MB)
But a switch still on 17.6.3 shows 2GB available
#sho app-hosting resource
CPU:
Quota: 25(Percentage)
Available: 25(Percentage)
VCPU:
Count: 2
Memory:
Quota: 2048(MB)
Available: 2048(MB)
Storage space:
Total: 3904(MB)
Available: 3490(MB)
Thanks for your advice Torbjorn, I think I'll have to log it with TAC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2024 11:28 AM
Hi @Dale Shaw - welcome to our support community!
I ran your situation by our support experts and they agree with @Torbjørn's excellent run down and advice - if this was working prior to, and broke after upgrade, contacting TAC is the best course of action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2024 03:01 AM
Hi Tyler, thanks for the comments.
This is an issue on a switch that has never had the TE agent installed on it before.
The reference to upgrades was just explaining that I can install TE agent on a different switch with 17.6.3 without issues but I cannot install it on any switch with 17.9.4a. However if the TE agent was installed prior to upgrading from 17.6.3 to 17.9.4a it still works.
I have a ticket raised with a support partner, hopefully it will make it's way to TAC and I can get a fix for it.
I'll update with any news I get.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 09:12 AM
Hi Dale,
Out of curiosity was TAC support able to figure out why the switch had a memory quota of 256mb?
I'm running into a similar issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 11:55 AM
The app-hosting environment was not able to allocate 4GBytes of memory from the switch flash storage. This is a requirement for app-hosting.
In our case this was because there were numerous versions of IOS XE stored in the flash memory, so the system only had 3.8GBytes available. In such cases the app-hosting environment uses a default template reducing the amount of system resources available to it.
Once we completed an ‘install remove inactive’ on the switch to remove older IOSXE version, the switch had over 4GBytes of flash memory available to allocate to app-hosting environment.
Completing ‘no iox’ to shutdown app-hosting and restarting it with’iox’ command enabled the ThousandEyes template to allocate the full resources required.
Hope this is useful.
Regards
Dale Shaw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 12:09 PM
Thanks for sharing the resolution of this @Dale Shaw - are you alright if I mark your response here as a solution so that future folks will see that your issue was resolved and how?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 12:54 PM
Regards
Dale Shaw
