[gridengine users] What is the easiest/best way to update our servers' domain name?

2019-10-25 Thread Mun Johl
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 imp

Re: [gridengine users] What is the easiest/best way to update our servers' domain name?

2019-10-25 Thread Daniel Povey
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.

Re: [gridengine users] What is the easiest/best way to update our servers' domain name?

2019-10-25 Thread Skylar Thompson
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. On Fri, O

Re: [gridengine users] What is the easiest/best way to update our servers' domain name?

2019-10-25 Thread Reuti
Hi, Am 26.10.2019 um 00:37 schrieb Mun Johl: > 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

Re: [gridengine users] What is the easiest/best way to update our servers' domain name?

2019-10-25 Thread Mun Johl
Hi Reuti, Thank you for your reply. Please see my inline comments below. > -Original Message- > Hi, > > Am 26.10.2019 um 00:37 schrieb Mun Johl: > > > 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 someho

Re: [gridengine users] What is the easiest/best way to update our servers' domain name?

2019-10-25 Thread Mun Johl
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

Re: [gridengine users] What is the easiest/best way to update our servers' domain name?

2019-10-25 Thread Daniel Povey
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_

Re: [gridengine users] What is the easiest/best way to update our servers' domain name?

2019-10-25 Thread Mun Johl
Hi Daniel, Thank you for your reply. From: Daniel Povey 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