hi David Johnson,
In the scenario you described, I think xCAT installation will affect the stuff under `/install/postscripts`
1) files with the same name with the files under `/install/postscripts` shipped by xCAT will be overwritten
2) the credentials under "/install/postscripts/hostkeys", "/install/postscripts/_xcat" and "/install/postscripts/_ssh/" and "/install/postscripts/ca/" will be overwritten
You can restore the original "/install/postscritps" directory with the "/xcatpost" directory on the compute nodes(non-hierarchy cluster) or service nodes(hierarchy cluster) which are not provisioned after xCAT reinstallation with `go-xcat` accidentally.
good luck
------------------------------------------------------------------------------
YANG Song (杨嵩)
IBM China System Technology Laboratory
Tel: 86-10-82452903
Email: yang...@cn.ibm.com
Address: Building 28, ZhongGuanCun Software Park,
No.8, Dong Bei Wang West Road, Haidian District Beijing 100193, PRC
北京市海淀区东北旺西路8号中关村软件园28号楼
邮编: 100193
IBM China System Technology Laboratory
Tel: 86-10-82452903
Email: yang...@cn.ibm.com
Address: Building 28, ZhongGuanCun Software Park,
No.8, Dong Bei Wang West Road, Haidian District Beijing 100193, PRC
北京市海淀区东北旺西路8号中关村软件园28号楼
邮编: 100193
----- Original message -----
From: "Victor Hu" <v...@us.ibm.com>
To: xcat-user@lists.sourceforge.net
Cc:
Subject: Re: [xcat-user] go-xcat accidentally run with /install mounted from production xcat master
Date: Fri, Jun 29, 2018 11:11 PM
Hi Dave,Thanks for reporting this, can you open a issue here? https://github.com/xcat2/xcat-core/issuesIf it's inconvenient, please let me know and I'll open one on your behalf.Thanks,Victor----- Original message -----
From: David Johnson <david_john...@brown.edu>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Cc:
Subject: [xcat-user] go-xcat accidentally run with /install mounted from production xcat master
Date: Thu, Jun 28, 2018 3:05 PM
I’m trying to set up a separate cluster with a new xcat master node, and downloaded and ran the go-xcat script.
I realized afterwards that it had updated a whole bunch of files in /install, which I had forgotten was nfs-mounted
from our main cluster’s master node.
Right off the bat, I’m thinking there might be a problem with ssh keys, and ca.pem.
Any other likely trouble spots? I put all our netboot stuff in /install/custom, and we
have added postinstall scripts rather than customizing ones from the distribution.
I can probably go out to any of the nodes still running and grab individual files back.
Thanks,
— ddj
Dave Johnson
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------ 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