For administrative reasons, we want to rename an OSS. It will retain the same IP addresses, and have the same OST. Does this present any problems that I should be aware of, or is it a no-brainer? Thanks, bob
On 2010-12-13, at 13:48, Bob Ball wrote:> For administrative reasons, we want to rename an OSS. It will retain > the same IP addresses, and have the same OST. Does this present any > problems that I should be aware of, or is it a no-brainer?It''s definitely not _easy_ to do this, but possible. I don''t think this was ever tested, but roughly: - change the filesystem label via e2label on each OST/MDT - binary edit the "last_rcvd" file on each OST/MDT - UUID at offset 0 - binary edit the "CONFIGS/mountdata" file - two UUIDs in there, IIRC - regenerate the mount configuration via "writeconf" (procedure in manual) I don''t _think_ the UUIDs or filesystem name are stored elsewhere, but like I said, this has never been tested so should probably do this on a test filesystem first and verify it can be mounted properly afterward. Cheers, Andreas -- Andreas Dilger Lustre Technical Lead Oracle Corporation Canada Inc.
Are you talking about renaming the DNS name of the host machine, or something else? -----Original Message----- From: lustre-discuss-bounces at lists.lustre.org [mailto:lustre-discuss-bounces at lists.lustre.org] On Behalf Of Bob Ball Sent: Monday, December 13, 2010 1:49 PM To: Lustre discussion Subject: [Lustre-discuss] Renaming an OSS For administrative reasons, we want to rename an OSS. It will retain the same IP addresses, and have the same OST. Does this present any problems that I should be aware of, or is it a no-brainer? Thanks, bob _______________________________________________ Lustre-discuss mailing list Lustre-discuss at lists.lustre.org http://lists.lustre.org/mailman/listinfo/lustre-discuss
Yes, just the DNS name. From Andreas'' response, it would seem this is not something I want to do. bob On 12/13/2010 4:11 PM, Lundgren, Andrew wrote:> Are you talking about renaming the DNS name of the host machine, or something else? > > -----Original Message----- > From: lustre-discuss-bounces at lists.lustre.org [mailto:lustre-discuss-bounces at lists.lustre.org] On Behalf Of Bob Ball > Sent: Monday, December 13, 2010 1:49 PM > To: Lustre discussion > Subject: [Lustre-discuss] Renaming an OSS > > For administrative reasons, we want to rename an OSS. It will retain > the same IP addresses, and have the same OST. Does this present any > problems that I should be aware of, or is it a no-brainer? > > Thanks, > bob > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss > >
I think that Andreas got confused and thought that you want rename OST. Renaming OSS is easy and don''t require any Lustre reconfiguration if your Lustre configuration is based on IP addresses and not hostnames. If you have heartbeat, you need to change names in configuration Best regards, Wojciech On 13 December 2010 21:34, Bob Ball <ball at umich.edu> wrote:> Yes, just the DNS name. From Andreas'' response, it would seem this is > not something I want to do. > > bob > > On 12/13/2010 4:11 PM, Lundgren, Andrew wrote: > > Are you talking about renaming the DNS name of the host machine, or > something else? > > > > -----Original Message----- > > From: lustre-discuss-bounces at lists.lustre.org [mailto: > lustre-discuss-bounces at lists.lustre.org] On Behalf Of Bob Ball > > Sent: Monday, December 13, 2010 1:49 PM > > To: Lustre discussion > > Subject: [Lustre-discuss] Renaming an OSS > > > > For administrative reasons, we want to rename an OSS. It will retain > > the same IP addresses, and have the same OST. Does this present any > > problems that I should be aware of, or is it a no-brainer? > > > > Thanks, > > bob > > > > _______________________________________________ > > Lustre-discuss mailing list > > Lustre-discuss at lists.lustre.org > > http://lists.lustre.org/mailman/listinfo/lustre-discuss > > > > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss >-- Wojciech Turek -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20101213/6cbe327d/attachment-0001.html
Not using heartbeat (Lustre 1.8.4 manual section 8.3?). As we''ve added OSS, we''ve never explicitly placed the machine names in any configuration. Furthermore, no IP changes will be made, just the DNS name, so perhaps we are safe after all? bob On 12/13/2010 4:48 PM, Wojciech Turek wrote: I think that Andreas got confused and thought that you want rename OST. Renaming OSS is easy and don''t require any Lustre reconfiguration if your Lustre configuration is based on IP addresses and not hostnames. If you have heartbeat, you need to change names in configuration Best regards, Wojciech On 13 December 2010 21:34, Bob Ball <ball-63aXycvo3TyHXe+LvDLADg@public.gmane.org> wrote: Yes, just the DNS name. From Andreas'' response, it would seem this is not something I want to do. bob On 12/13/2010 4:11 PM, Lundgren, Andrew wrote: > Are you talking about renaming the DNS name of the host machine, or something else? > > -----Original Message----- > From: lustre-discuss-bounces-aLEFhgZF4x6X6Mz3xDxJMA@public.gmane.org [mailto:lustre-discuss-bounces-aLEFhgZF4x6X6Mz3xDxJMA@public.gmane.org] On Behalf Of Bob Ball > Sent: Monday, December 13, 2010 1:49 PM > To: Lustre discussion > Subject: [Lustre-discuss] Renaming an OSS > > For administrative reasons, we want to rename an OSS. It will retain > the same IP addresses, and have the same OST. Does this present any > problems that I should be aware of, or is it a no-brainer? > > Thanks, > bob > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss-aLEFhgZF4x6X6Mz3xDxJMA@public.gmane.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss > > _______________________________________________ Lustre-discuss mailing list Lustre-discuss-aLEFhgZF4x6X6Mz3xDxJMA@public.gmane.org http://lists.lustre.org/mailman/listinfo/lustre-discuss -- Wojciech Turek _______________________________________________ Lustre-discuss mailing list Lustre-discuss-aLEFhgZF4x6X6Mz3xDxJMA@public.gmane.org http://lists.lustre.org/mailman/listinfo/lustre-discuss
I did changed just the hostname on two last week with no issues. My IPs also remained the same, just a DNS update. From: Bob Ball [mailto:ball at umich.edu] Sent: Monday, December 13, 2010 3:02 PM To: Wojciech Turek Cc: Lundgren, Andrew; Lustre discussion Subject: Re: [Lustre-discuss] Renaming an OSS Not using heartbeat (Lustre 1.8.4 manual section 8.3?). As we''ve added OSS, we''ve never explicitly placed the machine names in any configuration. Furthermore, no IP changes will be made, just the DNS name, so perhaps we are safe after all? bob On 12/13/2010 4:48 PM, Wojciech Turek wrote: I think that Andreas got confused and thought that you want rename OST. Renaming OSS is easy and don''t require any Lustre reconfiguration if your Lustre configuration is based on IP addresses and not hostnames. If you have heartbeat, you need to change names in configuration Best regards, Wojciech On 13 December 2010 21:34, Bob Ball <ball at umich.edu<mailto:ball at umich.edu>> wrote: Yes, just the DNS name. From Andreas'' response, it would seem this is not something I want to do. bob On 12/13/2010 4:11 PM, Lundgren, Andrew wrote:> Are you talking about renaming the DNS name of the host machine, or something else? > > -----Original Message----- > From: lustre-discuss-bounces at lists.lustre.org<mailto:lustre-discuss-bounces at lists.lustre.org> [mailto:lustre-discuss-bounces at lists.lustre.org<mailto:lustre-discuss-bounces at lists.lustre.org>] On Behalf Of Bob Ball > Sent: Monday, December 13, 2010 1:49 PM > To: Lustre discussion > Subject: [Lustre-discuss] Renaming an OSS > > For administrative reasons, we want to rename an OSS. It will retain > the same IP addresses, and have the same OST. Does this present any > problems that I should be aware of, or is it a no-brainer? > > Thanks, > bob > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org<mailto:Lustre-discuss at lists.lustre.org> > http://lists.lustre.org/mailman/listinfo/lustre-discuss > >_______________________________________________ Lustre-discuss mailing list Lustre-discuss at lists.lustre.org<mailto:Lustre-discuss at lists.lustre.org> http://lists.lustre.org/mailman/listinfo/lustre-discuss -- Wojciech Turek -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20101213/61275a91/attachment.html
Thanks. I LOVE existence proofs. bob On 12/13/2010 5:14 PM, Lundgren, Andrew wrote: I did changed just the hostname on two last week with no issues. My IPs also remained the same, just a DNS update. From: Bob Ball [mailto:ball-63aXycvo3TyHXe+LvDLADg@public.gmane.org] Sent: Monday, December 13, 2010 3:02 PM To: Wojciech Turek Cc: Lundgren, Andrew; Lustre discussion Subject: Re: [Lustre-discuss] Renaming an OSS Not using heartbeat (Lustre 1.8.4 manual section 8.3?). As we''ve added OSS, we''ve never explicitly placed the machine names in any configuration. Furthermore, no IP changes will be made, just the DNS name, so perhaps we are safe after all? bob On 12/13/2010 4:48 PM, Wojciech Turek wrote: I think that Andreas got confused and thought that you want rename OST. Renaming OSS is easy and don''t require any Lustre reconfiguration if your Lustre configuration is based on IP addresses and not hostnames. If you have heartbeat, you need to change names in configuration Best regards, Wojciech On 13 December 2010 21:34, Bob Ball <ball@umich.edu> wrote: Yes, just the DNS name. From Andreas'' response, it would seem this is not something I want to do. bob On 12/13/2010 4:11 PM, Lundgren, Andrew wrote: > Are you talking about renaming the DNS name of the host machine, or something else? > > -----Original Message----- > From: lustre-discuss-bounces-aLEFhgZF4x6X6Mz3xDxJMA@public.gmane.org [mailto:lustre-discuss-bounces-aLEFhgZF4x6X6Mz3xDxJMA@public.gmane.org] On Behalf Of Bob Ball > Sent: Monday, December 13, 2010 1:49 PM > To: Lustre discussion > Subject: [Lustre-discuss] Renaming an OSS > > For administrative reasons, we want to rename an OSS. It will retain > the same IP addresses, and have the same OST. Does this present any > problems that I should be aware of, or is it a no-brainer? > > Thanks, > bob > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss-aLEFhgZF4x6X6Mz3xDxJMA@public.gmane.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss > > _______________________________________________ Lustre-discuss mailing list Lustre-discuss-aLEFhgZF4x6X6Mz3xDxJMA@public.gmane.org http://lists.lustre.org/mailman/listinfo/lustre-discuss -- Wojciech Turek _______________________________________________ Lustre-discuss mailing list Lustre-discuss-aLEFhgZF4x6X6Mz3xDxJMA@public.gmane.org http://lists.lustre.org/mailman/listinfo/lustre-discuss