Hi, I have a couple of a problems with the GUI and the stats data in there … First, on the gui node, I am getting “The following GUI refresh task(s) failed: PM_MONITOR”, looking at the log for this: PM_MONITOR * 2018-10-09 14:35:31 15ms failed RefreshTaskScheduler$1.run com.ibm.fscc.common.exceptions.FsccException: No entity found for NODE: null/localhost.localdomain Suggestions? Second, a bunch of my hosts have multiple NICs on different networks, they are joined to the cluster with the name hostname1-data, however the “primary” hostname of the host is “hostname”. I see summary stats information in the GUI which references the shortname of the host, but when I click the host in the GUI, it claims no data – I assume because the GPFS hostname is the -data nama and pmsensors is using the primary hostname. Simon
Adding GUI personnel to respond. Lyle From: Simon Thompson <S.J.Thompson@bham.ac.uk> To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Date: 10/09/2018 09:41 AM Subject: [gpfsug-discuss] Pmsensors and gui Sent by: gpfsug-discuss-bounces@spectrumscale.org Hi, I have a couple of a problems with the GUI and the stats data in there … First, on the gui node, I am getting “The following GUI refresh task(s) failed: PM_MONITOR”, looking at the log for this: PM_MONITOR * 2018-10-09 14:35:31 15ms failed RefreshTaskScheduler $1.run com.ibm.fscc.common.exceptions.FsccException: No entity found for NODE: null/localhost.localdomain Suggestions? Second, a bunch of my hosts have multiple NICs on different networks, they are joined to the cluster with the name hostname1-data, however the “primary” hostname of the host is “hostname”. I see summary stats information in the GUI which references the shortname of the host, but when I click the host in the GUI, it claims no data – I assume because the GPFS hostname is the -data nama and pmsensors is using the primary hostname. Simon_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
I can help with the first one as I had the issue a few weeks ago. The answer from support is below, verbatim. --------------------------------------------------------------------------------------------------------------------------------------------- When trying to resolve the IP-Address in the JAVA code the first entry entry in the list is returned. Just localhost was expected for this. If the order is other way around and the list starts with localhost.localdomain, the GUI unfortunately cannot resolve the real node name and will fail with the message seen in the log files. Thus I assume that this is the case for your customer. it seems that our code it not as tolerant as it should be for the localhost definitions in the /etc/hosts file on the GUI node. We need to change this in our code to handle accordingly. Please let the customer adjust this entry and place localhost at the top of the list. After this the task should run successful and the state should be OK again for the pm_collector. --------------------------------------------------------------------------------------------------------------------------------------------- checking the GUI nodes /etc/hosts it shows actually 127.0.0.1 localhost.localdomain localhost4 localhost4.localdomain4 localhost From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of Simon Thompson Sent: 09 October 2018 14:38 To: gpfsug-discuss@spectrumscale.org Subject: [gpfsug-discuss] Pmsensors and gui Hi, I have a couple of a problems with the GUI and the stats data in there … First, on the gui node, I am getting “The following GUI refresh task(s) failed: PM_MONITOR”, looking at the log for this: PM_MONITOR * 2018-10-09 14:35:31 15ms failed RefreshTaskScheduler$1.run com.ibm.fscc.common.exceptions.FsccException: No entity found for NODE: null/localhost.localdomain Suggestions? Second, a bunch of my hosts have multiple NICs on different networks, they are joined to the cluster with the name hostname1-data, however the “primary” hostname of the host is “hostname”. I see summary stats information in the GUI which references the shortname of the host, but when I click the host in the GUI, it claims no data – I assume because the GPFS hostname is the -data nama and pmsensors is using the primary hostname. Simon
Hello Simon, the performance collector collects data from each node with the "hostname" as in /bin/hostname as key. The GUI reaches out to all nodes and tries to map the GPFS node name to the local hostname on that node. If the hostname is set identical to be "hostname" on all nodes, the mapping will not succeed, So you will have to use unique hostnames on all cluster nodes. Mit freundlichen Grüßen / Kind regards Dr. Markus Rohwedder Spectrum Scale GUI Development Phone: +49 7034 6430190 IBM Deutschland Research & Development E-Mail: rohwedder@de.ibm.com Am Weiher 24 65451 Kelsterbach Germany From: "Sobey, Richard A" <r.sobey@imperial.ac.uk> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 09.10.2018 16:00 Subject: Re: [gpfsug-discuss] Pmsensors and gui Sent by: gpfsug-discuss-bounces@spectrumscale.org I can help with the first one as I had the issue a few weeks ago. The answer from support is below, verbatim. --------------------------------------------------------------------------------------------------------------------------------------------- When trying to resolve the IP-Address in the JAVA code the first entry entry in the list is returned. Just localhost was expected for this. If the order is other way around and the list starts with localhost.localdomain, the GUI unfortunately cannot resolve the real node name and will fail with the message seen in the log files. Thus I assume that this is the case for your customer. it seems that our code it not as tolerant as it should be for the localhost definitions in the /etc/hosts file on the GUI node. We need to change this in our code to handle accordingly. Please let the customer adjust this entry and place localhost at the top of the list. After this the task should run successful and the state should be OK again for the pm_collector. --------------------------------------------------------------------------------------------------------------------------------------------- checking the GUI nodes /etc/hosts it shows actually 127.0.0.1 localhost.localdomain localhost4 localhost4.localdomain4 localhost From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of Simon Thompson Sent: 09 October 2018 14:38 To: gpfsug-discuss@spectrumscale.org Subject: [gpfsug-discuss] Pmsensors and gui Hi, I have a couple of a problems with the GUI and the stats data in there … First, on the gui node, I am getting “The following GUI refresh task(s) failed: PM_MONITOR”, looking at the log for this: PM_MONITOR * 2018-10-09 14:35:31 15ms failed RefreshTaskScheduler $1.run com.ibm.fscc.common.exceptions.FsccException: No entity found for NODE: null/localhost.localdomain Suggestions? Second, a bunch of my hosts have multiple NICs on different networks, they are joined to the cluster with the name hostname1-data, however the “primary” hostname of the host is “hostname”. I see summary stats information in the GUI which references the shortname of the host, but when I click the host in the GUI, it claims no data – I assume because the GPFS hostname is the -data nama and pmsensors is using the primary hostname. Simon_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
We do … Its just the node is joined to the cluster as “hostname1-data.cluster”, but it also has a primary (1GbE link) as “hostname.cluster”… Simon From: <gpfsug-discuss-bounces@spectrumscale.org> on behalf of "rohwedder@de.ibm.com" <rohwedder@de.ibm.com> Reply-To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Date: Tuesday, 9 October 2018 at 15:56 To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Pmsensors and gui Hello Simon, the performance collector collects data from each node with the "hostname" as in /bin/hostname as key. The GUI reaches out to all nodes and tries to map the GPFS node name to the local hostname on that node. If the hostname is set identical to be "hostname" on all nodes, the mapping will not succeed, So you will have to use unique hostnames on all cluster nodes. Mit freundlichen Grüßen / Kind regards Dr. Markus Rohwedder Spectrum Scale GUI Development ________________________________ Phone: +49 7034 6430190 IBM Deutschland Research & Development [cid:2__=8FBB09B2DFC235B78f9e8a93df938690918c8FB@] E-Mail: rohwedder@de.ibm.com Am Weiher 24 65451 Kelsterbach Germany ________________________________ [Inactive hide details for "Sobey, Richard A" ---09.10.2018 16:00:32---I can help with the first one as I had the issue a few we]"Sobey, Richard A" ---09.10.2018 16:00:32---I can help with the first one as I had the issue a few weeks ago. The answer from support is below, From: "Sobey, Richard A" <r.sobey@imperial.ac.uk> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 09.10.2018 16:00 Subject: Re: [gpfsug-discuss] Pmsensors and gui Sent by: gpfsug-discuss-bounces@spectrumscale.org ________________________________ I can help with the first one as I had the issue a few weeks ago. The answer from support is below, verbatim. --------------------------------------------------------------------------------------------------------------------------------------------- When trying to resolve the IP-Address in the JAVA code the first entry entry in the list is returned. Just localhost was expected for this. If the order is other way around and the list starts with localhost.localdomain, the GUI unfortunately cannot resolve the real node name and will fail with the message seen in the log files. Thus I assume that this is the case for your customer. it seems that our code it not as tolerant as it should be for the localhost definitions in the /etc/hosts file on the GUI node. We need to change this in our code to handle accordingly. Please let the customer adjust this entry and place localhost at the top of the list. After this the task should run successful and the state should be OK again for the pm_collector. --------------------------------------------------------------------------------------------------------------------------------------------- checking the GUI nodes /etc/hosts it shows actually 127.0.0.1 localhost.localdomain localhost4 localhost4.localdomain4 localhost From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of Simon Thompson Sent: 09 October 2018 14:38 To: gpfsug-discuss@spectrumscale.org Subject: [gpfsug-discuss] Pmsensors and gui Hi, I have a couple of a problems with the GUI and the stats data in there … First, on the gui node, I am getting “The following GUI refresh task(s) failed: PM_MONITOR”, looking at the log for this: PM_MONITOR * 2018-10-09 14:35:31 15ms failed RefreshTaskScheduler$1.run com.ibm.fscc.common.exceptions.FsccException: No entity found for NODE: null/localhost.localdomain Suggestions? Second, a bunch of my hosts have multiple NICs on different networks, they are joined to the cluster with the name hostname1-data, however the “primary” hostname of the host is “hostname”. I see summary stats information in the GUI which references the shortname of the host, but when I click the host in the GUI, it claims no data – I assume because the GPFS hostname is the -data nama and pmsensors is using the primary hostname. Simon_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Hello Simon, not sure if the answer solved your question from the response, Even if nodes can be externally resolved by unique hostnames, applications that run on the host use the /bin/hostname binary or the hostname() call to identify the node they are running on. This is the case with the performance collection sensor. So you need to set the hostname of the hosts using /bin/hostname in in a way that provides unique responses of the "/bin/hostname" call within a cluster. Mit freundlichen Grüßen / Kind regards Dr. Markus Rohwedder Spectrum Scale GUI Development Phone: +49 7034 6430190 IBM Deutschland Research & Development E-Mail: rohwedder@de.ibm.com Am Weiher 24 65451 Kelsterbach Germany From: Simon Thompson <S.J.Thompson@bham.ac.uk> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 09.10.2018 17:00 Subject: Re: [gpfsug-discuss] Pmsensors and gui Sent by: gpfsug-discuss-bounces@spectrumscale.org We do … Its just the node is joined to the cluster as “hostname1-data.cluster”, but it also has a primary (1GbE link) as “hostname.cluster”… Simon From: <gpfsug-discuss-bounces@spectrumscale.org> on behalf of "rohwedder@de.ibm.com" <rohwedder@de.ibm.com> Reply-To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Date: Tuesday, 9 October 2018 at 15:56 To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Pmsensors and gui Hello Simon, the performance collector collects data from each node with the "hostname" as in /bin/hostname as key. The GUI reaches out to all nodes and tries to map the GPFS node name to the local hostname on that node. If the hostname is set identical to be "hostname" on all nodes, the mapping will not succeed, So you will have to use unique hostnames on all cluster nodes. Mit freundlichen Grüßen / Kind regards Dr. Markus Rohwedder Spectrum Scale GUI Development |------------------------------------------------+------------------------------------------------+-------------------------------> | | | | |------------------------------------------------+------------------------------------------------+------------------------------->
------------------------------------------------| | | ------------------------------------------------| |------------------------------------------------+------------------------------------------------+-------------------------------> |cid:1__=8FBB09B2DFC235B78f9e8a93df938690918c8FB@| | | |------------------------------------------------+------------------------------------------------+-------------------------------> ------------------------------------------------| | | ------------------------------------------------| |------------------------------------------------+------------------------------------------------+-------------------------------> |Phone: |+49 7034 6430190 |IBM Deutschland Research & | | | |Development | |------------------------------------------------+------------------------------------------------+-------------------------------> ------------------------------------------------| |cid:2__=8FBB09B2DFC235B78f9e8a93df938690918c8FB@| ------------------------------------------------| |------------------------------------------------+------------------------------------------------+-------------------------------> |E-Mail: |rohwedder@de.ibm.com |Am Weiher 24 | |------------------------------------------------+------------------------------------------------+-------------------------------> ------------------------------------------------| | | ------------------------------------------------| |------------------------------------------------+------------------------------------------------+-------------------------------> |cid:1__=8FBB09B2DFC235B78f9e8a93df938690918c8FB@|cid:1__=8FBB09B2DFC235B78f9e8a93df938690918c8FB@|65451 Kelsterbach | |------------------------------------------------+------------------------------------------------+-------------------------------> ------------------------------------------------| | | ------------------------------------------------| |------------------------------------------------+------------------------------------------------+-------------------------------> |cid:1__=8FBB09B2DFC235B78f9e8a93df938690918c8FB@|cid:1__=8FBB09B2DFC235B78f9e8a93df938690918c8FB@|Germany | |------------------------------------------------+------------------------------------------------+-------------------------------> ------------------------------------------------| | | ------------------------------------------------| |------------------------------------------------+------------------------------------------------+-------------------------------> | | | | |------------------------------------------------+------------------------------------------------+-------------------------------> ------------------------------------------------| | | ------------------------------------------------| |------------------------------------------------+------------------------------------------------+-------------------------------> |cid:1__=8FBB09B2DFC235B78f9e8a93df938690918c8FB@| | | |------------------------------------------------+------------------------------------------------+-------------------------------> ------------------------------------------------| | | ------------------------------------------------|
Inactive hide details for "Sobey, Richard A" ---09.10.2018 16:00:32---I can help with the first one as I had the issue a few we"Sobey, Richard A" ---09.10.2018 16:00:32---I can help with the first one as I had the issue a few weeks ago. The answer from support is below, From: "Sobey, Richard A" <r.sobey@imperial.ac.uk> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 09.10.2018 16:00 Subject: Re: [gpfsug-discuss] Pmsensors and gui Sent by: gpfsug-discuss-bounces@spectrumscale.org I can help with the first one as I had the issue a few weeks ago. The answer from support is below, verbatim. --------------------------------------------------------------------------------------------------------------------------------------------- When trying to resolve the IP-Address in the JAVA code the first entry entry in the list is returned. Just localhost was expected for this. If the order is other way around and the list starts with localhost.localdomain, the GUI unfortunately cannot resolve the real node name and will fail with the message seen in the log files. Thus I assume that this is the case for your customer. it seems that our code it not as tolerant as it should be for the localhost definitions in the /etc/hosts file on the GUI node. We need to change this in our code to handle accordingly. Please let the customer adjust this entry and place localhost at the top of the list. After this the task should run successful and the state should be OK again for the pm_collector. --------------------------------------------------------------------------------------------------------------------------------------------- checking the GUI nodes /etc/hosts it shows actually 127.0.0.1 localhost.localdomain localhost4 localhost4.localdomain4 localhost From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of Simon Thompson Sent: 09 October 2018 14:38 To: gpfsug-discuss@spectrumscale.org Subject: [gpfsug-discuss] Pmsensors and gui Hi, I have a couple of a problems with the GUI and the stats data in there … First, on the gui node, I am getting “The following GUI refresh task(s) failed: PM_MONITOR”, looking at the log for this: PM_MONITOR * 2018-10-09 14:35:31 15ms failed RefreshTaskScheduler$1.run com.ibm.fscc.common.exceptions.FsccException: No entity found for NODE: null/localhost.localdomain Suggestions? Second, a bunch of my hosts have multiple NICs on different networks, they are joined to the cluster with the name hostname1-data, however the “primary” hostname of the host is “hostname”. I see summary stats information in the GUI which references the shortname of the host, but when I click the host in the GUI, it claims no data – I assume because the GPFS hostname is the -data nama and pmsensors is using the primary hostname. Simon_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
On Wed, 10 Oct 2018 10:24:58 +0200, "Markus Rohwedder" said:
Hello Simon,
not sure if the answer solved your question from the response,
Even if nodes can be externally resolved by unique hostnames, applications that run on the host use the /bin/hostname binary or the hostname() call to identify the node they are running on. This is the case with the performance collection sensor. So you need to set the hostname of the hosts using /bin/hostname in in a way that provides unique responses of the "/bin/hostname" call within a cluster.
And we discovered that 'unique' applies to "only considering the leftmost part of the hostname". We set up a stretch cluster that had 3 NSD servers at each of two locations, and found that using FQDN names of the form: nsd1.something.loc1.internal nsd2.something.loc1.internal nsd1.something.loc2.internal nsd2.something.loc2.internal got things all sorts of upset in a very passive-agressive way. The cluster would come up, and serve data just fine. But things like 'nsdperf' would toss errors about not being able to resolve a NSD server name, or fail to connect, or complain that it was connecting to itself, or other similar "not talking to the node it thought" type confusion... We ended up renaming to: nsd1-loc1.something.internal nsd1-loc2.something.internal ... and all the userspace tools started working much better.
Yes we do indeed have: 127.0.0.1 localhost.localdomain localhost I saw a post on the list, but never the answer 😊 (I don’t think!) Simon From: <gpfsug-discuss-bounces@spectrumscale.org> on behalf of "andreas.koeninger@de.ibm.com" <andreas.koeninger@de.ibm.com> Reply-To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Date: Tuesday, 9 October 2018 at 15:04 To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Cc: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Pmsensors and gui Hi Simon, For your fist issue regarding the PM_MONITOR task, you may have hit a known issue. Please check if the following applies to your environment. I will get back to you for the second issue. -------------------- Solution: For this to fix, the customer should change the /etc/hosts entry for the 127.0.0.1 as follows: from current: 127.0.0.1 localhost.localdomain localhost to this: 127.0.0.1 localhost localhost.localdomain -------------------- Mit freundlichen Grüßen / Kind regards Andreas Koeninger Scrum Master and Software Developer / Spectrum Scale GUI and REST API IBM Systems &Technology Group, Integrated Systems Development / M069 ------------------------------------------------------------------------------------------------------------------------------------------- IBM Deutschland Am Weiher 24 65451 Kelsterbach Phone: +49-7034-643-0867 Mobile: +49-7034-643-0867 E-Mail: andreas.koeninger@de.ibm.com ------------------------------------------------------------------------------------------------------------------------------------------- IBM Deutschland Research & Development GmbH / Vorsitzende des Aufsichtsrats: Martina Koederitz Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294 ----- Original message ----- From: Simon Thompson <S.J.Thompson@bham.ac.uk> Sent by: gpfsug-discuss-bounces@spectrumscale.org To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Cc: Subject: [gpfsug-discuss] Pmsensors and gui Date: Tue, Oct 9, 2018 3:42 PM Hi, I have a couple of a problems with the GUI and the stats data in there … First, on the gui node, I am getting “The following GUI refresh task(s) failed: PM_MONITOR”, looking at the log for this: PM_MONITOR * 2018-10-09 14:35:31 15ms failed RefreshTaskScheduler$1.run com.ibm.fscc.common.exceptions.FsccException: No entity found for NODE: null/localhost.localdomain Suggestions? Second, a bunch of my hosts have multiple NICs on different networks, they are joined to the cluster with the name hostname1-data, however the “primary” hostname of the host is “hostname”. I see summary stats information in the GUI which references the shortname of the host, but when I click the host in the GUI, it claims no data – I assume because the GPFS hostname is the -data nama and pmsensors is using the primary hostname. Simon _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
participants (6)
-
Andreas Koeninger -
Lyle Gayne -
Markus Rohwedder -
Simon Thompson -
Sobey, Richard A -
valdis.kletnieks@vt.edu
