2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

2475 Commits

Author SHA1 Message Date
yangsong
7c85b0998d add support for syncfiles with scp (#5123)
* add support for syncfiles with scp

* refine logic of EXECTUTE support message non rsync filesync

* refine syncfiles

* add startsyncfile script for cumulus

* refine format, fix updatenode without options causes command to crash #5142
2018-04-27 11:28:08 +08:00
XuWei
e076602ffa modify bmcdiscover manpage for IP range 2018-04-19 22:02:03 -04:00
Mark Gurevich
f3a681d1f1 Man page change for rvitals 2018-04-10 14:38:36 -04:00
Bin Xu
c99b50d5dc Fix the issue (#5041) when no server name infor with --verbose, but -V does 2018-04-02 16:04:44 +08:00
zet809
53a98cfecc
Merge pull request #5018 from gurevichmark/openbmc_pnor_usage
Replace usage of PNOR with Host
2018-03-30 11:20:23 +08:00
Mark Gurevich
8cfe5b546e Replace usage of PNOR with Host 2018-03-28 13:09:48 -04:00
Mark Gurevich
20e7dcd7de Better message for --recover option 2018-03-22 14:47:05 -04:00
Mark Gurevich
0761c3b836 Usage and man page updates 2018-03-16 14:29:29 -04:00
yangsong
4ad99269fe fix issue: genimage tries direct DB access instead of via xCATd #4385 (#4924) 2018-03-12 17:40:39 +08:00
chenglch
e86d544242 Add makegocons -C|--cleanup to remove entries that do not exist
`rmdef` command do not help clean up the recousrces that related to
the node when removing the node. this is a technical debt. This patch
is only a work around to add -C|--cleanup option to help remove the
entries in goconserver.
2018-03-01 16:13:12 +08:00
tingtli
02200a8e68
Merge pull request #4859 from xuweibj/openbmc_manpage
looks good to me, i agree to merge. Thanks!
2018-03-01 10:42:23 +08:00
Mark Gurevich
a931bc32d5
Merge pull request #4816 from chenglch/goconsmanpage
Add makegocons -q in the man page
2018-02-28 09:12:30 -05:00
XuWei
bc3f98a144 add -V for all commands 2018-02-28 03:42:05 -05:00
XuWei
24cd358a62 modify usage and manpage for openbmc 2018-02-28 01:56:57 -05:00
chenglch
999298fdd6 Add makegocons -q in the man page
Update the manpage for makegocons.
2018-02-27 11:44:48 +08:00
ertaozh
cb78be8f4d fix issue 3913: support rpower cycle for ipmi managing severs 2018-02-08 01:40:59 -05:00
Victor Hu
e25be9b9cf Modify man page for dumps based on review comments 2018-02-01 09:49:56 -05:00
Victor Hu
31c47c3034 Add code to support timesyncmethod for OpenBMC using rspconfig 2018-01-31 15:43:53 -05:00
XuWei
9b04b8483c fix issue 4758, add '-V' in rflash Usage and manpage 2018-01-31 02:03:01 -05:00
Victor Hu
dc5e5fb3e2 Adding man page for rspconfig to add boot mode 2018-01-25 14:16:59 -05:00
Mark Gurevich
99cac5264a Second pass for autogenerating usage 2018-01-23 13:47:11 -05:00
Mark Gurevich
8788b13235 Man page changes for OpenBMC rspconfig 2018-01-23 12:09:36 -05:00
Mark Gurevich
956719b53e Add rspconfig dump download all function 2018-01-18 11:42:32 -05:00
Mark Gurevich
423a1c913d Add resolved=LED option to reventlog 2018-01-10 11:57:31 -05:00
zet809
ca75ab637a
Merge pull request #4603 from chenglch/gocons
Add xcat marker in gocnoserver configuration file
2018-01-05 15:38:37 +08:00
Victor Hu
c2c3ca4096 Accidently tabbed rflash man page option descriptions, causing RST to format as code blocks 2018-01-04 13:54:18 -05:00
Victor Hu
4703e396d6 Add man page and usage for LED support for OpenBMC rvitals 2018-01-03 10:48:32 -05:00
chenglch
f09939a15a Add xcat marker in gocnoserver configuration file
Previously, it is impossible to know if the goconerver is started
by xcat. This patch add a marker in /etc/goconserver/server.conf
to help check the status. In addition, use server-cred.pem instead
of server-key.pem as it is not exist on SN.

This patch also control the service status of goconserver and conserver
when restarting the xcatd service on service node.

```
[root@sn02 ~]# chdef sn02 setupconserver=1
1 object definitions have been created or modified.
[root@sn02 ~]# service xcatd restart
Restarting xcatd (via systemctl):                          [  OK  ]
[root@sn02 ~]# ps -ef | grep conserver
root      27679      1  0 02:26 ?        00:00:00 /usr/sbin/conserver -o -O1 -d
root      27680  27679  0 02:26 ?        00:00:00 /usr/sbin/conserver -o -O1 -d
root      27756  26188  0 02:26 pts/1    00:00:00 grep --color=auto conserver
[root@sn02 ~]# chdef sn02 setupconserver=2
1 object definitions have been created or modified.
[root@sn02 ~]# service xcatd restart
Restarting xcatd (via systemctl):                          [  OK  ]
[root@sn02 ~]#
[root@sn02 ~]#
[root@sn02 ~]#
[root@sn02 ~]# ps -ef | grep conserver
root      27885      1  0 02:26 ?        00:00:00 /usr/bin/goconserver
root      27986  26188  0 02:33 pts/1    00:00:00 grep --color=auto conserver
```
2017-12-28 16:46:47 +08:00
xuweibj
4fa5cc18e5
Merge pull request #4502 from bybai/rfluse
add rflash -d usage and manpage
2017-12-14 15:45:25 +08:00
bybai
edfb89ecb0 add rflash -d doc 2017-12-14 02:05:12 -05:00
chenglch
1909c1ed57 Use CONGO_CLIENT_TYPE to tell goconserver the source of client (#4501)
goconserver could send back message based on the client type
this commit set CONGO_CLIENT_TYPE to xcat to make the message
from goconserver more friendly.
2017-12-14 14:25:38 +08:00
Victor Hu
fb0c523d2c
Merge pull request #4491 from gurevichmark/openbmc_rspconfig_man
Usage and man page update for rspconfig dump
2017-12-13 15:32:13 -05:00
bybai
0d870b9225 add -d usage and manpage 2017-12-13 01:59:23 -05:00
Mark Gurevich
63eb3b5d1e Fixes after the review 2017-12-12 15:04:00 -05:00
Mark Gurevich
60e2f8ab26 Usage and man page update for rspconfig dump 2017-12-11 10:05:27 -05:00
zet809
bebf2eb871
Merge pull request #4439 from chenglch/goconsman
Add man page for makegocons
2017-12-08 14:13:59 +08:00
zet809
ddeb14f358
Merge pull request #4432 from chenglch/goconserver
Use short hostname in rcons for goconserver
2017-12-08 09:55:12 +08:00
zet809
244766724f
Merge pull request #4424 from whowutwut/update_bmcdiscover_help
Update the bmcdiscover man page , remove --check and --ipsource options.
2017-12-07 14:53:56 +08:00
chenglch
6135900321 Use short hostname in rcons for goconserver
As the certificate of xcat is signed with short hostname, this
commit force to use the short hostname in  the environment variable for
`congo console`.
2017-12-06 14:36:34 +08:00
chenglch
2361f1c5e9 Fix the typo in the man page of makegocons 2017-12-05 22:14:42 -05:00
Mark Gurevich
f7efb1391c
Merge pull request #4401 from zet809/fix_issue_4293
Fix issue 4293: remove conservercf entry for removed nodes
2017-12-05 13:50:57 -05:00
chenglch
25141161e5 Add man page for makegocons
This is the guide about how to make goconserver as
a replacement for conserver to help slove the issues reported
for conserver, like: #4043, #3543. For openbmc, the solution of
goconserver is much light-weighted than the conserver which could
help save the system resource. In addition, sshpass is not needed
for openbmc with goconserver.

Implement: #4337
2017-12-05 01:15:19 -05:00
Victor Hu
14ba2d1f3c Removed the --check and --ipsource option with PR 4258, update the man page 2017-12-01 12:58:46 -05:00
ertaozh
2fd0570fab Some sentence modify for makeconservercf -C|--cleanup 2017-12-01 11:05:17 -05:00
ertaozh
92d9740f14 1. add "makeconserver -d" to "rmdef -C", 2. add "makeconserver -C|--cleanup" to remove entries for removed nodes 2017-11-30 09:35:16 -05:00
chenglch
cadf5c60e1 Listen on 0.0.0.0 instead of the hostname
This patch modify the configuration of `makegocons` and `rcons`
for goconserver.

`cat /etc/goconserver/server.conf`
```
global:
  host: 0.0.0.0
  ssl_key_file: /etc/xcat/cert/server-key.pem
  ssl_cert_file: /etc/xcat/cert/server-cert.pem
  ssl_ca_cert_file: /etc/xcat/cert/ca.pem
  logfile: /var/log/goconserver/server.log
api:
  port: 12429
console:
  port: 12430
```
2017-11-29 17:18:39 +08:00
chenglch
ed181edb6c Integrate congo console from goconserver with rcons
Enhance the original implement of rcons to support goconserver.
`rcons` will help the user choose from one of the console backend
service based on the console server status of management node.

Implement #4216
2017-11-23 09:25:55 +08:00
zet809
2cdd1d2724
Merge pull request #4296 from chenglch/goconserver
Add makegocons command
2017-11-17 17:45:58 +08:00
chenglch
abab9d89c5 Add makegocons command
This patch enable goconserver service and manage the node sessions
with a new `makegocons` command.

Implement: #4215
2017-11-16 17:56:26 +08:00
Victor Hu
24e73430df Add better documentation to describe the process of flashing firmware
for OpenBMC managed servers and what symbols mean when listing out the firmware
2017-11-06 16:41:06 -05:00