bxuxa
b2e6f56cb0
handle the case when conserver is not available
2019-03-27 13:46:14 +08:00
ertaozh
229432618f
Add message to deprecated makeconservercf
2018-08-20 05:36:04 -04:00
GONG Jie
2b19f2aad1
Remove trailing spaces in file xCAT-server/lib/xcat/plugins/conserver.pm
2017-12-31 23:59:59 +00:00
chenglch
46c611f11a
Check if cons script is excutable before register into console server
...
This patch check the script file, if it is not excutable, just print
ignore message.
2018-03-28 15:09:06 +08:00
chenglch
cc588f4af1
Modify startup configuration for goconserver and conserver
...
After running makegocons, startup configuration would be changed
to make sure goconserver could start after rebooting. Changes
are made in makeconservercf too.
2018-03-23 16:36:42 +08:00
Mark Gurevich
f7704119c4
conserver message change
2018-03-19 14:20:49 -04: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
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
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
chenglch
5331626d9a
Upgrade conserver to 8.2.1 version ( #3252 )
...
This patch change the `sslauthority` to `sslcacertificatefile` to
support the latest version of conserver. It also add scripts to
update the `conserver.cf` and $HOME/.consolerc to make sure
migration works correctly.
implement: #3239
2017-06-16 16:51:05 +08:00
Mark Gurevich
1f113afdc8
makeconservercf -d to remove all xCAT nodes
2016-12-15 15:32:41 -05:00
Mark Gurevich
c0a787dc09
Support yes and no for node object attribute consoleondemand
2016-09-08 14:03:56 -04:00
Mark Gurevich
0a3fbd8d51
perltidy all perl files
2016-07-20 11:40:27 -04:00
penguhyang
4b8dcabe27
fix #1057 , there are error messages when upgrading xcat on ubuntu
2016-05-09 05:19:55 -04:00
Casandra Qiu
b8763f4a24
support timestamps per line for console output
2016-03-24 11:17:15 -04:00
WangXiaoPeng
21a2945667
remove two unmeaning spaces in the generated conserver.cf to avoid the automation test failure
2015-09-21 14:21:33 +08:00
wangxiaopeng
becaca29fe
Issue 157
...
add XCATSSLVER environment variable when it's set on sles11.x mn
in conserver.cf for calling cons script to communicate with xcatd through tls
2015-09-08 04:51:51 -04:00
ligc
2f666702c2
fix for bug 4203: update the makeconservercf manpage and usage information
2014-07-28 17:32:54 -05:00
daniceexi
b86a62a148
defect 4134: missing the use of xCAT::SvrUtils in conserver.pm so that when makeconservercf walks into error path to call SverUtils->sendmsg, an code error is displayed
2014-05-20 10:14:22 -04:00
65470149e9
add per node consoleondemand
2014-01-29 21:47:09 +00:00
bp-sawyers
03fc1d2f34
Improve performance of makeconservercf - bug 3691
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-13 19:59:15 +00:00
ligc
cb834a2ab4
add a new flag -t to makeconservercf to specify additional trusted hosts with conserver
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14555 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 08:19:08 +00:00
zhaoertao
40e144b4cc
for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:07:40 +00:00
jjhua
db3ccd170f
For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12856 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 03:08:16 +00:00
ligc
4bb9056a68
fix for bug 3523412: makeconservercf noderange does not work
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12520 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 06:28:36 +00:00
yinle
05101903d2
"getnodetype performance improvement": change getnodetype related code.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-10 07:35:56 +00:00
ligc
56aecc8f03
fix for bug 3413432: conserver trust all ip addresses configured on local node
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10714 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-09 00:34:38 +00:00
yinle
722da65541
change the way of find node type
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9732 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-03 03:08:37 +00:00
wanghuaz
e9a21e4b5b
Fixed bug 3131136: we have seen it many times, there are no any pid files in the system and it makes our code cannot restart conserver daemon. Now we will restart conserver once user run makeconserver. It may introduce some warning msg if we try to stop conserver daemon which is not existing
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8475 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-20 09:29:39 +00:00
jbjohnso
91b0cf722a
Fix bad error on makeconservercf issue
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7540 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-20 19:45:27 +00:00
ligc
8e9bcd05dc
fix for bug 2972173: do not add ssl configuration if the ssl is not compiled into conserver code
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5515 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-18 02:47:23 +00:00
wanghuaz
bd94e52135
Write master IP to trusted host in conserver.con
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4979 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-19 13:29:13 +00:00
ligc
d3897c07b1
fix a perl syntax error in conserver.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-19 01:31:07 +00:00
mellor
beffdd517f
make xcatd tolerant of syntax errors in plugins, fixed syntax error in conserver.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4611 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 14:51:19 +00:00
ligc
d7dad95021
conserver hierachy support code drop
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4595 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 06:23:56 +00:00
jbjohnso
e954e4c684
-Have makeconservercf report error when config is bad instead of writing malformed conserver config files
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4238 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-26 18:16:26 +00:00
linggao
4745d80859
handles hierarchy using _preprossed flag for some commands
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3803 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-15 19:12:07 +00:00
lissav
462396dd89
remove check for no parms to makeconservercf, this should not be an error
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3099 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-06 15:05:18 +00:00
lissav
f8e2f28e3a
remove check for no parms to makeconservercf, this should not be an error
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3098 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-06 14:58:10 +00:00
ellen56
a47143fedf
Fix bug 2726344
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3073 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-03 07:10:55 +00:00
ellen56
e4390308bc
fix bug 2688297
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2938 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-19 07:57:02 +00:00
jbjohnso
c215a9141e
-Fix bug where last line of conserver.cf was not checked to be skipped if appropriate
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2919 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-17 01:00:58 +00:00
jbjohnso
2ee57e4cfe
-Fix problem where conserver put headers near the bottom and broke consoles
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-16 23:45:45 +00:00
lissav
7c735dfb61
stop and start conserver after config file changes, restart does not pick up changes
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-12 13:39:44 +00:00
jbjohnso
0dc6f9de74
-Fix bug where makeconservercf change sought out } too aggressively
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2878 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-12 11:21:29 +00:00
ellen56
773e9cdf6a
fix bug 2677319
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2864 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-10 08:43:51 +00:00
jbjohnso
36da395f3a
-Implement a '-d' argument to makeconservercf to allow removal of entries rather than refresh or addition
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2645 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-23 04:16:03 +00:00
linggao
4018516186
changed /etc/rc.d/init.d to /etc/init.d so code works on SLES as well.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2361 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-17 17:59:57 +00:00
zhanx
83da9f7584
fix makeconservercf bug:makeconservercf cannot work for a noderange
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2343 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-14 11:19:57 +00:00