2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 19:52:03 +00:00

109 Commits

Author SHA1 Message Date
GONG Jie
ef10fcb47e Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/litetree.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
3957e46b22 Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/litefile.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
a1b41a478e Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/linuximage.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
c03e7ffd3f Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/kvm_nodedata.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
323b9f28ac Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/kvm_masterdata.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
fbcd48781f Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/kitrepo.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
edd7a333ac Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/kitcomponent.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
399911b4eb Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/kit.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
5f70a33eae Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/iscsi.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
4f42952758 Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/ipmi.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
7e0bc91ae2 Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/hypervisor.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
8212e26495 Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/hwinv.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
cca2b68b97 Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/hosts.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
2d2396d4af Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/firmware.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
b3c7eedc2e Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/eventlog.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
65d7a3d1d0 Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/domain.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
29839be16f Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/discoverydata.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
50a126d624 Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/deps.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
e11d442f38 Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/chain.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
2223a51fa1 Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/cfgmgt.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
1d4a54fd5d Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/boottarget.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
716e9b605b Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/bootparams.5.rst 2017-12-31 23:59:59 +00:00
GONG Jie
6ed1c9e8f7 Remove trailing spaces in file docs/source/guides/admin-guides/references/man5/auditlog.5.rst 2017-12-31 23:59:59 +00:00
yangsong
ebc04e4cbc support args in postinstallscripts (#5462)
* support args in postinstallscripts

* add the script to inject systemd service unit
2018-08-17 11:23:56 +08:00
robin2008
22c06a9039 secureroot doc 2018-06-22 17:34:46 +08:00
Mark Gurevich
a38ffa18f7 Auditlog table doc improvement 2018-05-04 11:33:27 -04:00
Mark Gurevich
4c8c68efb3 Changes after review 2018-04-18 16:07:59 -04:00
Mark Gurevich
36b0b69cf4 Documentation changes for REST API token 2018-04-17 15:55:09 -04: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
Victor Hu
f2c4ce1677 Update man page for RTD for 2.13.10 release 2018-01-25 14:19:21 -05:00
Yuan Bai
d72c193710 correct description about nicsadapter (#4723)
* correct description about nicsadapter

* enhance nicsadapter desc

* polished

* polished
2018-01-25 04:04:21 -06:00
Bin Xu
c0074cf8ab Add the 'postbooting' status to indicate xCAT start to handle postboot tasks (#4346) (#4369)
- for diskful, it will be set when leaving 'booting' stage
 - for diskless, it will be set when leaving 'netbooting' stage
 - for diskful reboot, it will set when (site.runpostscript=1)
 - modify the document accordingly
 - also modify GlobalDef.pm, but it won't have impact as the status will not be in nodeset operation.
2018-01-19 02:39:11 -06:00
chenglch
7633bb2714 Add gocons setup doc on service node
Add console state 2 in the servicenode table to help set up
goconserver daemon.
2018-01-19 14:11:05 +08:00
Victor Hu
fea20ba4b9 Update the .rst man page files generated for 2.13.9 release 2017-12-14 16:47:44 -05:00
Casandra Qiu
31d29641d8 change status back to starts 2017-12-08 14:49:47 -05:00
Casandra Qiu
62f56d1b25 build rst file from Schema.pm by db2man 2017-12-08 14:14:36 -05:00
Casandra Qiu
886d730f8a Modify documenation for servicenode attributes 2017-12-08 12:01:48 -05:00
immarvin
e261973c05 Support http repos for otherpkgs #4042 2017-11-13 00:47:50 -05:00
Victor Hu
291184e0f3 Looks like some man page updated were missed for 2.13.8 2017-11-03 14:54:18 -04:00
Matt Ezell
ec7ca5d330 Fix the documentation from #3891 2017-09-15 11:20:53 -04:00
chenglch
1938bd9a87 Add description for the issue that may lose log
This commit add descritpion for `dbtracelevel` entry in site table
to help the user find the detail solution if the log is lost due
to the issue from rsyslog side.

partial-issue: #3910
2017-09-14 06:07:43 -04:00
Matt Ezell
2304b0ef50 Add regex helpers
a2idx: Turns an ASCII character into an index (a=1, b=2, etc)
a2zidx: Turns an ASCII character into a 0-index (a=0, b=1, etc)
dim2idx: Turns dimensions (eg row, column, rack-unit) into an index
skip: Return an index where some items are 'skipped'
ipadd: Add a value to an IP address
2017-09-10 23:02:06 -04:00
Mark Gurevich
62c56561f2 mend 2017-08-15 13:39:05 -04:00
chenglch
580b399ade Add trace log in db subroutines (#3666)
This patch add trace log for the db access. Currently support
5 log levels:
- 0: disable the trace log for db.
- 1: trace the calls of database subroutines.
- 2: trace the event to build the cache for the table
- 3: trace the event with cache hit
- 4: trace the SQL statement

implement-feature: #3612

Output example from xcat/cluster.log:
···
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"table":"site","method":"xCAT::Table::setAttribs"},"type":"end","elapsed":"0.00176s"}
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"table":"site","method":"xCAT::Table::setAttribs"},"type":"start"}
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"addon":"SELECT * FROM site WHERE \"value\" = ? AND \"comments\" = ? AND \"disable\" = ? AND \"key\" = ?","table":"site","method":"xCAT::Table::setAttribs"},"type":"start_sql"}
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"table":"site","method":"xCAT::Table::setAttribs"},"type":"end_sql","elapsed":"0.00043s"}
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"addon":"INSERT INTO site (\"value\",\"comments\",\"key\",\"disable\") VALUES (?,?,?,?)","table":"site","method":"xCAT::Table::setAttribs"},"type":"start_sql"}
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"addon":"INSERT INTO site (\"value\",\"comments\",\"key\",\"disable\") VALUES (?,?,?,?)","table":"site","method":"xCAT::Table::setAttribs"},"type":"end_sql","elapsed":"0.00043s"}
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"table":"site","method":"xCAT::Table::setAttribs"},"type":"end","elapsed":"0.00171s"}
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"table":"site","method":"xCAT::Table::getAttribs"},"type":"start"}
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"addon":"SELECT * FROM site WHERE \"key\" = ? and (\"disable\" is NULL or \"disable\" in ('0','no','NO','No','nO'))","table":"site","method":"xCAT::Table::getAttribs"},"type":"start_sql"}
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"table":"site","method":"xCAT::Table::getAttribs"},"type":"end_sql","elapsed":"0.00061s"}
Aug  9 01:59:15 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"table":"site","method":"xCAT::Table::getAttribs"},"type":"end","elapsed":"0.00125s"}
Aug  9 01:59:19 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"table":"site","method":"xCAT::Table::getAllAttribs"},"type":"start"}
Aug  9 01:59:19 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"addon":"SELECT * FROM site WHERE \"disable\" is NULL or \"disable\" in ('0','no','NO','No','nO')","table":"site","method":"xCAT::Table::getAllAttribs"},"type":"start_sql"}
Aug  9 01:59:19 c910f05c01bc02k74 xcat[694]: [DB Trace]: {"msg":{"addon":"SELECT * FROM site WHERE \"disable\" is NULL or \"disable\" in ('0','no','NO','No','nO')","table":"site","method":"xCAT::Table::getAllAttribs"},"type":"end_sql","elapsed":"0.00080s"}
···
2017-08-14 21:35:33 -05:00
zet809
8fbf24d781 Merge pull request #3456 from robin2008/nodeset-disjoint
Fix #3088, Using 'disjointdhcps' site attribute to make nodeset request will only be handled on service node for nodes it manages
2017-08-02 15:10:27 +08:00
yangsong
915248a419 fix addkcmdline for deployed kernel only #3532, refine the document (#3536) 2017-07-28 11:23:31 +08:00
Bin Xu
53d3b1bced 1, use 'disjointdhcps' for nodeset disjoint mode
2, handle 'disjoint' in preprocess method, to make sure that no request will be sent to SN which does not manage the nodes.
3, refine 'stat' to make sure it could query unmanaged nodes on-demand.
2017-07-24 13:36:49 +08:00
Bin Xu
47b92c193f Fix #3088, introduce 'disjointnetboot' site attribute to make nodeset
request will only be handled for managed nodes on SN.
2017-07-14 14:42:43 +08:00
Victor Hu
bf382dcd10 Sync up the spelling to use: OpenPOWER and OpenBMC 2017-06-02 15:02:02 -04:00
Mark Gurevich
f2df608156 Sync up .rst files 2017-05-19 14:30:14 -04:00