Forum Discussion
Jan 20, 2017
Can there be multiple hosts?
Hi!
Doing some work with monitoring scripts and wanted to ask something I've wondered about for some time.
When requesting
/mgmt/tm/sys/memory
I can see that there are a field for hostId in the response. Could there ever be more than one host, or is this just a matter of formatting in case there ever will be or to keep the syntax the same comparing to tmm?
I could imagine this being used in ie. Viprion systems but I do not have access to any with multiple blades.
In case you do, please go ahead and test with
curl -sku user:password https://localhost/mgmt/tm/sys/memory
.
Example output to illustrate my meaning:
{
"kind": "tm:sys:memory:memorystats",
"selfLink": "https://localhost/mgmt/tm/sys/memory?ver\u003d11.6.1",
"entries": {
"https://localhost/mgmt/tm/sys/memory/memory-host": {
"nestedStats": {
"entries": {
"https://localhost/mgmt/tm/sys/memory/memory-host/0": {
"nestedStats": {
"entries": {
"hostId": {
"description": "0"
},
3 Replies
- JG
Cumulonimbus
Well, I have hostId 1 only, and no entry for hostId 0.
Haha, even more confused now. :)
Thanks for the input!
/Patrik
- Kevin_K_51432Historic F5 Account
Greetings Patrik, Good guess! This does appear to be Viprion related:
show sys cluster --------------------------------------- Sys::Cluster: default --------------------------------------- Address 1.1.1.1/24 Availability available State enabled Reason Cluster Enabled Primary Slot ID 1 Primary Selection Time 0 ---------------------------------------------------------------------- | Sys::Cluster Members | ID Address Availability State Licensed HA Clusterd ---------------------------------------------------------------------- | 1 1.1.1.1 available enabled true active running | 2 1.1.1.2 available enabled true active running | 3 1.1.1.3 available enabled true active running | 4 :: unknown enabled false unknown shutdown show sys host-info | grep Host Sys::Host: 1 Sys::Host: 2 Sys::Host: 3
Kevin
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects