cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
339
Views
5
Helpful
6
Replies

App-hosting memory Catalyst 9300

Dale Shaw
Level 1
Level 1

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)

6 Replies 6

Torbjørn
Spotlight
Spotlight

This is configurable, see the following documentation:

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/176/b_176_programmability_cg/m_176_prog_app_hosting.html

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
Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

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.

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? 

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

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.

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.  

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.