[gpfsug-discuss] Am I a gateway or not?

Abhishek Dave abhisdav at in.ibm.com
Wed Dec 13 16:58:39 GMT 2017


Hi John,

I would recommend running 'mmlscluster' command on any cluster node to
check if any AFM Gateway Node(s) is available.

This will list hostname(s) which are running as AFM Gateway.

/usr/lpp/mmfs/bin/mmlscluster | grep -w gateway | awk '{print $4}'

e.g.

~bash# /usr/lpp/mmfs/bin/mmlscluster | grep -w gateway | awk '{print $4}'
node1
node2

Thanks,
Abhishek, Dave




From:	IBM Spectrum Scale/Poughkeepsie/IBM
To:	gpfsug main discussion list <gpfsug-discuss at spectrumscale.org>
Cc:	Abhishek Dave/India/IBM at IBMIN, IBM Spectrum
            Scale/Poughkeepsie/IBM at IBMUS
Date:	12/13/2017 08:16 PM
Subject:	Re: [gpfsug-discuss] Am I a gateway or not?
Sent by:	Haizhu Liu


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 at asml.com>
To:	gpfsug main discussion list <gpfsug-discuss at spectrumscale.org>
Date:	12/13/2017 07:19 AM
Subject:	[gpfsug-discuss] Am I a gateway or not?
Sent by:	gpfsug-discuss-bounces at 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=










-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20171213/3b793bb7/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20171213/3b793bb7/attachment.gif>


More information about the gpfsug-discuss mailing list