Dual server NSDs - change of hostname
Following up from my previous email (I should reply to that email I know) What we really want to achieve is changing the FQDN of an existing server. The server will be reinstalled with an updated OS (RHEL 6---> RHEL 7) During the move we wish to change the domain name of the server. So we will be taking the server offline and bringing the same physical server back up with a new domain name. Has anyone done a procedure like this? Thankyou -- 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.
On Wed, 04 Apr 2018 10:02:09 -0000, John Hearns said:
Has anyone done a procedure like this?
We recently got to rename all 10 nodes in a GPFS cluster to make the unqualified name unique (turned out that having 2 nodes called 'arnsd1.isb.mgt' and 'arnsd1.vtc.mgt' causes all sorts of confusion). So they got renamed to arnsd1-isb.yadda.yadda and arnsd1-vtc.yadda.yadda. Unmount, did the mmchnsd server list thing, start going through the servers, rename and reboot each one. We did hit a whoopsie because I forgot to fix the list of quorum/manager nodes as we did each node - so don't forget to run mmchnode for each system if/when appropriate...
Hm, you can change the host name of a Scale node. I've done that a while ago on one or two clusters.
From what I remember I'd follow these steps:
1. Upgrade the OS configuring/using the old IP addr/hostname (2. Reinstall Scale) (3. Replay the cluster data on the node) 4. Create an interface with the new IP address on the node (not necessarily connected) 5. Ensure the node is not required for quorum and has currently no mgr role. You might want to stop Scale on the node. 5. mmchnode -N <legacy_name> --daemon-interface <new_name> ; mmchnode -N <legacy_name> --admin-interface <new_name>. Now the node has kind of disappeared, if the new IF is not yet functional, until you bring that IF up (6.) (6. Activate connection to other cluster nodes via new IF) 2. and 3. are required if scale was removed / the system was re-set up from scratch 6. is required if the new IP connection config.ed in 4 is not operational at first (e.g. not yet linked, or routing not yet active, ...) Et voila, the server should be happy again, if stopped before, start up Scale and check. No warranties, But that's how I'd try. As usual: if messing with IP config, be sure to have a back door to the system in case you ground the OS network config . Mit freundlichen Grüßen / Kind regards Dr. Uwe Falke IT Specialist High Performance Computing Services / Integrated Technology Services / Data Center Services ------------------------------------------------------------------------------------------------------------------------------------------- IBM Deutschland Rathausstr. 7 09111 Chemnitz Phone: +49 371 6978 2165 Mobile: +49 175 575 2877 E-Mail: uwefalke@de.ibm.com ------------------------------------------------------------------------------------------------------------------------------------------- IBM Deutschland Business & Technology Services GmbH / Geschäftsführung: Thomas Wolter, Sven Schooß Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 17122 From: John Hearns <john.hearns@asml.com> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 04/04/2018 21:33 Subject: [gpfsug-discuss] Dual server NSDs - change of hostname Sent by: gpfsug-discuss-bounces@spectrumscale.org Following up from my previous email (I should reply to that email I know) What we really want to achieve is changing the FQDN of an existing server. The server will be reinstalled with an updated OS (RHEL 6-à RHEL 7) During the move we wish to change the domain name of the server. So we will be taking the server offline and bringing the same physical server back up with a new domain name. Has anyone done a procedure like this? Thankyou -- 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 http://gpfsug.org/mailman/listinfo/gpfsug-discuss
To my mind this is simpler: IF you can mmdelnode without too much suffering, do that. Then reconfigure the host name and whatever else you'd like to do. Then mmaddnode...
Yeah that was my thoughts too given Bob said you can update the server list for an NSD device in 5.0. I also thought that bringing up a second nic and changing the name etc could bring a whole world or danger from having split routing and rp_filter (been there, had the weirdness, RDMA traffic continues but admin traffic randomly fails, but hey, if you like the world crashing down around you….) Simon From: <gpfsug-discuss-bounces@spectrumscale.org> on behalf of "makaplan@us.ibm.com" <makaplan@us.ibm.com> Reply-To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Date: Thursday, 5 April 2018 at 14:37 To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Dual server NSDs - change of hostname To my mind this is simpler: IF you can mmdelnode without too much suffering, do that. Then reconfigure the host name and whatever else you'd like to do. Then mmaddnode...
Thankyou everyone for replies on this issue. Very helpful. We have a test setup with three nodes, although no multi-pathed disks. So I can try out removing and replacing disks servers. I agree with Simon that bringing up a second NIC is probably inviting Murphy in to play merry hell… The option we are envisioning is re-installing the server(s) but leaving them with the existing FQDNs if we can. From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Simon Thompson (IT Research Support) Sent: Thursday, April 05, 2018 4:28 PM To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Dual server NSDs - change of hostname Yeah that was my thoughts too given Bob said you can update the server list for an NSD device in 5.0. I also thought that bringing up a second nic and changing the name etc could bring a whole world or danger from having split routing and rp_filter (been there, had the weirdness, RDMA traffic continues but admin traffic randomly fails, but hey, if you like the world crashing down around you….) Simon From: <gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org>> on behalf of "makaplan@us.ibm.com<mailto:makaplan@us.ibm.com>" <makaplan@us.ibm.com<mailto:makaplan@us.ibm.com>> Reply-To: "gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>" <gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>> Date: Thursday, 5 April 2018 at 14:37 To: "gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>" <gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>> Subject: Re: [gpfsug-discuss] Dual server NSDs - change of hostname To my mind this is simpler: IF you can mmdelnode without too much suffering, do that. Then reconfigure the host name and whatever else you'd like to do. Then mmaddnode... -- 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.
Hi John, some last thoughts mmdelnode/mmaddnode is an easy way to move non-NSD servers, but doing so for NSD servers requires to run mmchnsd, and that again requires a downtime for the file system the NSDs are part of (in Scale 4 at least, what we are talking right here). That could only be circumvented by mmdeldisk/mmadddisk the NSDs of the NSD server to be moved (with all the restriping). If that's ok for you go ahead. Else I think you might give the mmchnode way a second thought. I'd stop GPFS on the server to be moved (although that should also be hot-swappable) which should prevent any havoc for Scale and offers you plenty of opportunity to check your final new network set-up, before starting Scale on that renewed node. YMMV, and you might try different methods on your test system of course. Mit freundlichen Grüßen / Kind regards Dr. Uwe Falke IT Specialist High Performance Computing Services / Integrated Technology Services / Data Center Services ------------------------------------------------------------------------------------------------------------------------------------------- IBM Deutschland Rathausstr. 7 09111 Chemnitz Phone: +49 371 6978 2165 Mobile: +49 175 575 2877 E-Mail: uwefalke@de.ibm.com ------------------------------------------------------------------------------------------------------------------------------------------- IBM Deutschland Business & Technology Services GmbH / Geschäftsführung: Thomas Wolter, Sven Schooß Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 17122
participants (5)
-
John Hearns -
Marc A Kaplan -
Simon Thompson (IT Research Support) -
Uwe Falke -
valdis.kletnieks@vt.edu
