Hi Peter,
 
1 : is the ‘_’ not allow to use in the compute name ?
'_' is not allowed to use in the compute name.

2: is there any way to make it possible to use the ‘_’ in compute name in xCAT ?

I suggest you not use '_' in compute name, '_' is invalid, if you change makedns code to let `makedns -n` works, I am not sure if other functions work well too. If you want to change code, you can enhance this line 440: "unless ($names =~ /^[a-z0-9\. \t\n-]+$/i) {"  in /opt/xcat/lib/perl/xCAT_plugin/ddns.pm
 
Best Regards
--------------------------------------------------
Yuan Bai (白媛)

CSTL HPC System Management Development
Tel:86-10-82451401
E-mail: by...@cn.ibm.com
Address: IBM ZGC Campus. Ring Building 28,
ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District,
Beijing P.R.China 100193

IBM环宇大厦
北京市海淀区东北旺西路8号,中关村软件园28号楼
邮编:100193
 
 
----- Original message -----
From: peter CZ1 Peng <peng...@lenovo.com>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Cc:
Subject: [xcat-user] xCAT node name invalid characters or hard code limitations ?
Date: Fri, Jun 22, 2018 1:31 PM
 

Hi ,Dear

I setup the xCAT and see below failed info when try to makedns –n ,can anybody help to take a look ,thanks

 

Ignoring line 172.32.44.178 cfdv3_192g_012-bmc cfdv3_192g_012-bmc.cluster  in /etc/hosts, names  cfdv3_192g_012-bmc cfdv3_192g_012-bmc.cluster  contain invalid characters (valid characters include a through z, numbers and the '-', but not '_'

makedns -n ,

 

 

[root@mgt ~]# makedns -n

Ignoring line 172.29.101.6 n05_xcc n05_xcc.cluster  in /etc/hosts, names  n05_xcc n05_xcc.cluster  contain invalid characters (valid characters include a throug                   h z, numbers and the '-', but not '_'

Handling n01-xcc in /etc/hosts.

 

So question is

 

1 : is the ‘_’ not allow to use in the compute name ?

2: is there any way to make it possible to use the ‘_’ in compute name in xCAT ?

 

 

 

 

Peter CZ peng
Department :Complex Solution Rack TE
Address:ISH3 Shenzhen

Lenovo China

Phone+86 86361590
Email+86 18129979128
VOIP609 1590
Emailpeng...@lenovo.com

 

 

Lenovo.com /www.lenovo.com 
Twitter | Facebook | Instagram | Blogs | Forums

Lenovo_2015

 

 

 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user
 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to