2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

2455 Commits

Author SHA1 Message Date
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
Steven P. Gessner
1f1ef56e41 z/VM IVP should tolerate slow xcatd startup.
The IVP expects xcatd to be fully operational by the
time is begins a run.  It is possible for xcatd to
be delayed.  The delay should not ause a corruption
of the zvmnotify property in the site table.
In addition, tests for tabdump failures should be
corrected and the log file should be set up sooner
so that debug information is available for similar
problems.

Change-Id: I2b0e3e875cc28f740a35b348faa0cc74f5acb7bf
2017-10-26 14:33:00 -04:00
Victor Hu
1dd8943ea0 Merge pull request #4121 from zet809/rspconfig_ipsrc_ip_for_openbmc
Add ipsrc for rspconfig, fix rspconfig vlan reading
2017-10-20 14:07:54 -04:00
ertaozh
12ef155577 Modify message for rspconfig ipsrc option 2017-10-19 03:51:21 -04:00
zet809
a6661f84b7 Merge pull request #2927 from zVMopenstack/ZVM_XCAT_DEV
Merge the changes made for zVM into the xCAT development branch
2017-10-18 17:06:31 +08:00
ertaozh
c92834bfe1 Add ipsrc for rspconfig, fix rspconfig vlan reading 2017-10-18 04:44:16 -04:00
Jarrod Johnson
f93ca55b24 Fix erroneous 'noping' in various circumstances (#4102)
nmap's raw IP facility is prone to mistakes in various
environments.  Disable the raw IP handling by
telling nmap to run as if it didn't have privilege
Note this was already done back in:

commit fb02c18853dd2004ed936c77afabd310d7f115dd
Author: jjohnson2 <jjohnson2@lenovo.com>
Date:   Fri Mar 20 10:58:26 2015 -0400

But it was broken since then..
2017-10-16 22:01:44 -05:00
Jarrod Johnson
54404030b6 Recognize alternative path to fping (#4100)
SLES12 places fping into /usr/sbin
2017-10-16 22:00:09 -05:00
bybai
6b7a478d06 enhance pgsqlseup manpage about access addresses 2017-10-11 05:02:14 -04:00
Chuck Brazie
c012b45ec1 Merge branch 'master' into ZVM_XCAT_DEV 2017-10-03 09:44:06 -04:00
Victor Hu
474b78dc52 Merge pull request #4001 from cxhong/3977
Add -c option for switchdiscover command to pass in community string
2017-09-29 13:15:44 -04:00
Jarrod Johnson
2d024b5aeb Have xcoll take a try at sorting output groups (#4018)
It isn't natural sort, but in many cases it should work.

Natural sort in perl is a pain or a dependency.
2017-09-27 20:36:30 -05:00
Jarrod Johnson
489ee67c6a Oneclipasu (#4020)
* Filter out extraneous output of OneCli

* Remove extraneous content from pasu

* Update pasu filtering

* Fix recognizing success to filter

* Update for new Lenovo OneCLI rpm

The new packaging offers up iflash64 and asu in a consistent
location.

* Workaround different IPv6 syntax for asu/onecli

* Filter out header of new version of OneCLI

* Filter out the Invoking SET command output of onecli
2017-09-27 20:32:17 -05:00
Casandra Qiu
dbefcc9f95 Modified switchdiscover man page 2017-09-25 15:55:57 -04:00
Mark Gurevich
2267e2c246 Merge pull request #3882 from chenglch/rflash
Add rflash recovery support for Supermicro based firmware
2017-09-11 10:08:50 -04:00
chenglch
64ab7dbd27 Add rflash recovery support for Supermicro based firmware
This commit add recover option for rflash command to upload
bmc image with tftp when the BMC is in Brick Protection state.

Example:
```
rflash <node> --recover <image>
```
implement #3873
2017-09-11 02:44:22 -04:00
yangsong
22b51e3efa fix issue Weird problem with rinstall #3877 (#3883) 2017-09-08 14:14:20 +08:00
zet809
6e9971968b Merge pull request #3793 from whowutwut/openbmc_rspcfg_hostname
Add Support for rspconfig to set/get hostname of the BMC
2017-09-01 12:51:01 +08:00
Chuck Brazie
acbdfdcad1 Update xCAT-client.spec 2017-08-31 08:21:29 -04:00
Victor Hu
2a36f20fdd Adding changes to the man pages regarding hostname changing in rspconfig 2017-08-29 16:29:18 -04:00
Victor Hu
3935971a22 Merge pull request #3750 from gurevichmark/openbmc_upload_and_update
OpenBMC PNOR upload and activate firmware image file
2017-08-29 15:42:48 -04:00