You may have to write a script to do that, but it could be something like for exechost in $(qconf -sel); do qconf -se $exechost | sed s/old_domain_name/new_domain_name/ > tmp qconf -de $exechost qconf -Ae tmp done
but you might need to tweak that to get it to work, e.g. get rid of load_values from the tmp file. On Fri, Oct 25, 2019 at 5:24 PM Mun Johl <mun.j...@wdc.com> wrote: > Hi Daniel and Skylar, > > Thank you for your replies. > > > -----Original Message----- > > I think it might depend on the setting of ignore_fqdn in the bootstrap > file > > (can't remember if this just tunes load reporting or also things like > which > > qmaster the execd's talk to). I wouldn't count on it working, though, and > > agree with Daniel that you probably want to plan on an outage. > > [Mun] An outage is acceptable; but I'm not sure what is the best/easiest > approach to take in order to change the domain names within SGE for all of > the servers as well as update the hostgroups and queues. I mean, I know I > can delete the hosts and add them back in; and the same for the queue > specifications, etc. However, I'm not sure if that is an adequate solution > or one that will cause problems for me. I'm also not sure if that is the > best approach to take for this task. > > Thanks, > > -- > Mun > > > > > > On Fri, Oct 25, 2019 at 04:12:11PM -0700, Daniel Povey wrote: > > > IIRC, GridEngine is very picky about machines having a consistent > > > hostname, e.g. that what hostname they think they have matches with > > > how they were addressed. I think this is because of SunRPC. I think > > > it may be hard to do what you want without an interruption of some > kind. > > But I may be wrong. > > > > > > On Fri, Oct 25, 2019 at 3:37 PM Mun Johl <mun.j...@wdc.com> wrote: > > > > > > > Hi, > > > > > > > > > > > > > > > > I need to update the domain names of our SGE servers. What is the > > > > easiest way to do that? Can I simply update the domain name somehow > > > > and have that propagate to hostgroupgs, queue specifications, etc.? > > > > > > > > > > > > > > > > Or do I have to delete the current hosts and add the new ones? > > > > Which I think also implies setting up the hostgroups and queues > > > > again as well for our implementation. > > > > > > > > > > > > > > > > Best regards, > > > > > > > > > > > > > > > > -- > > > > > > > > Mun > > > > _______________________________________________ > > > > users mailing list > > > > users@gridengine.org > > > > https://gridengine.org/mailman/listinfo/users > > > > > > > > > _______________________________________________ > > > users mailing list > > > users@gridengine.org > > > https://gridengine.org/mailman/listinfo/users > > > > > > -- > > -- Skylar Thompson (skyl...@u.washington.edu) > > -- Genome Sciences Department, System Administrator > > -- Foege Building S046, (206)-685-7354 > > -- University of Washington School of Medicine > > _______________________________________________ > > users mailing list > > users@gridengine.org > > https://gridengine.org/mailman/listinfo/users > > _______________________________________________ > users mailing list > users@gridengine.org > https://gridengine.org/mailman/listinfo/users >
_______________________________________________ users mailing list users@gridengine.org https://gridengine.org/mailman/listinfo/users