Hi Abhishek,
Can you please help answer this query.
Regards, The Spectrum Scale (GPFS) team
------------------------------------------------------------------------------------------------------------------
If you feel that your question can benefit other users of Spectrum
Scale (GPFS), then please post it to the public IBM developerWroks Forum
at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000479.
If your query concerns a potential software error in Spectrum Scale (GPFS)
and you have an IBM software maintenance contract please contact 1-800-237-5511
in the United States or your local IBM Service Center in other countries.
The forum is informally monitored as time permits and should not be used
for priority messages to the Spectrum Scale (GPFS) team.
From:
John Hearns <john.hearns@asml.com>
To:
gpfsug main discussion
list <gpfsug-discuss@spectrumscale.org>
Date:
12/13/2017 07:19 AM
Subject:
[gpfsug-discuss]
Am I a gateway or not?
Sent by:
gpfsug-discuss-bounces@spectrumscale.org
Firstly, I hope everyone at the Manchester
meeting is enjoying it and that the snow did not hamper too many travel
plans.
I like Manchester – I shall tell the
tale of blowing the 100Amp fuse in the University server room some other
time.
(Yes – a fuse. Not a circuit breaker).
I am writing some monitoring scripts
for AFM – actually to interface with Bright.
I would like the script to detect if
the node which is running it is a Gateway node or has the AFM component.
If not, the script silently exits.
This is not a Callback script – I can
write these and indeed have one for the AFM fileset demount event.
In order to determine which components
are on a given node I could:
a. Run
“mmhealth node show” and grep for AFM
b. Run
mmlscluster and grep for $HOSTNAME
Both methods seem slightly inelegant.
IS there a handy-dandy command I can run to see the components on this
node?
John Hearns-- The information contained in this communication and
any attachments is confidential and may be privileged, and is for the sole
use of the intended recipient(s). Any unauthorized review, use, disclosure
or distribution is prohibited. Unless explicitly stated otherwise in the
body of this communication or the attachment thereto (if any), the information
is provided on an AS-IS basis without any express or implied warranties
or liabilities. To the extent you are relying on this information, you
are doing so at your own risk. If you are not the intended recipient, please
notify the sender immediately by replying to this message and destroy all
copies of this message and any attachments. Neither the sender nor the
company/group of companies he or she represents shall be liable for the
proper and complete transmission of the information contained in this communication,
or for any delay in its receipt. _______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=IbxtjdkPAM2Sbon4Lbbi4w&m=iZJyYX6s6-fBYfRNYStIrfVhph3NLzwXJNqTZEfKOyA&s=HoPYEIPpBLIFV-JCq69MS026ZLBRxqqvqNZYGH8UmlY&e=