Nathan,

Many thanks for your answer.

Best regards,

Michel

From: Nathan A Besaw <bes...@us.ibm.com>
Sent: mercredi 19 janvier 2022 20:57
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Subject: Re: [xcat-user] Changing the default hostname for the compute


Michel,

I think your plan of changing the hostname via a postscript is the most common 
approach for your use case.
I can't think of any xCAT features that would enable this behavior 
automatically.

[Inactive hide details for "Semedo, Michel" ---01/19/2022 11:12:16 AM---Hello 
all, Sorry to bother you again but this query is r]"Semedo, Michel" 
---01/19/2022 11:12:16 AM---Hello all, Sorry to bother you again but this query 
is really needed for a use case where I have to

From: "Semedo, Michel" <michel.sem...@hpe.com<mailto:michel.sem...@hpe.com>>
To: "xCAT Users Mailing list" 
<xcat-user@lists.sourceforge.net<mailto:xcat-user@lists.sourceforge.net>>
Date: 01/19/2022 11:12 AM
Subject: [EXTERNAL] Re: [xcat-user] Changing the default hostname for the 
compute

________________________________



Hello all,

Sorry to bother you again but this query is really needed for a use case where 
I have to implement it.
The reason where I can’t use the default hostname (seated on the Mgmt net) is 
that network is not routed/allowed for security purpose.

I’m just trying to know if there is another way to do that instead of doing it 
within a postscript session at the end of node provisioning.
Thanks for any hints/advices.

Best regards


Michel Semedo
Technical Consultant
Open Source Linux/HPC
HPE Pointnext Services

michel.sem...@hpe.com<mailto:michel.sem...@hpe.com>
+33 6 7299 3848  Office
+33 6 7299 3848  Mobile

Puteaux
hpe.com/pointnext

[cid:image002.png@01D80D82.BB8FC260]



From: Semedo, Michel <michel.sem...@hpe.com<mailto:michel.sem...@hpe.com>>
Sent: vendredi 14 janvier 2022 18:00
To: xcat-user@lists.sourceforge.net<mailto:xcat-user@lists.sourceforge.net>
Subject: [xcat-user] Changing the default hostname for the compute

Hello Everyone,

I’m looking for some hints about the most suitable way to change the default 
hostname on compute node.

I’m currently using the 2.16.3 version of xCAT on top of rhel 7.9
On my lab I have the following conf regarding the network topic:

  *   Management network (not routed) – used for compute registration and 
installation
  *   Public network (routed ) – network services (DNS, NTP , …) and public 
access

On compute nodes we have the following Nics , let say : eno1 => management net 
(installnic)  and eno2 => Public net
During the node registration the node name (binded to the @IP of eno1) will be 
the default hostname, in my case node1-adm.
But what I want to do is to replace the default hostname (normally on the 
management net) by using the @IP of the second NIC (eno2) on the public net
I would like to have something like that :  node1.mydomain.lab.fr as the 
hostname

I’m thinking to run a postscript file at the end of the node installation by 
calling the relevant command (hostnamectl or modifying the /etc/hostname file).

The question is:

  *   During the node registration, do we have a way to setup the hostname as 
mentioned above, I mean that I would like to have the hostname binded to the 
NIC on the public network?

Thanks in advance for any hints or direction I should take in order to achieve 
this setup.

Best regards

Michel Semedo
Technical Consultant
Open Source Linux/HPC
HPE Pointnext Services

michel.sem...@hpe.com<mailto:michel.sem...@hpe.com>
+33 6 7299 3848  Office
+33 6 7299 3848  Mobile

Puteaux
hpe.com/pointnext

[cid:image002.png@01D80D82.BB8FC260]
 _______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net<mailto:xCAT-user@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/xcat-user<https://lists.sourceforge.net/lists/listinfo/xcat-user>



_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to