2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00
chenglch dd7e1d51df Add consoleenabled column to help store the console status
On diskless SN, the nodes file of goconserver is missing when
reinstalling. This patch add a column in nodehm table to help
recover the console information on service node.

```
[root@c910f03c09k04 ~]# makegocons -q

NODE                             SERVER                           STATE
c910f03c09k05                    c910f03c09k04.pok.stglabs.ibm.com error
node-7912ac1-06vag36             c910f03c09k04.pok.stglabs.ibm.com error

NODE                             SERVER                           STATE
c910f03c09k04                    c910f03c09k03.pok.stglabs.ibm.com connected
[root@c910f03c09k04 ~]# rm /var/lib/goconserver/*
rm: remove regular file ‘/var/lib/goconserver/nodes.json’? y
rm: remove regular file ‘/var/lib/goconserver/nodes.json.bak’? y
[root@c910f03c09k04 ~]# service xcatd restart
Restarting xcatd (via systemctl):                          [  OK  ]
[root@c910f03c09k04 ~]# makegocons -q

NODE                             SERVER                           STATE
c910f03c09k05                    c910f03c09k04.pok.stglabs.ibm.com error
node-7912ac1-06vag36             c910f03c09k04.pok.stglabs.ibm.com error

NODE                             SERVER                           STATE
c910f03c09k04                    c910f03c09k03.pok.stglabs.ibm.com connected
```
2018-02-09 10:34:20 +08:00
..
2016-07-20 11:40:27 -04:00
2018-01-24 03:16:41 -05:00
2017-09-07 15:50:11 -04:00
2018-01-24 06:50:32 -05:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2018-01-18 03:01:45 -05:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2017-10-23 14:15:57 +08:00
2016-07-20 11:40:27 -04:00
2017-10-10 22:08:50 -04:00
2017-08-28 08:41:58 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2018-01-24 03:16:41 -05:00
2016-07-20 11:40:27 -04:00
2016-07-25 08:56:18 -04:00
2017-01-18 15:45:57 -05:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2018-01-10 15:27:53 -05:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-25 08:56:18 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2017-10-24 16:21:11 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2016-07-20 11:40:27 -04:00
2017-10-19 14:18:47 -04:00
2017-04-21 14:07:34 -04:00