Releases: xcat2/goconserver
goconserver 0.3.2
RPM for Redhat 7.0 or higher
goconserver-0.3.2-snap201811080416.ppc64le.rpm.tar.gz
goconserver-0.3.2-snap201811080416.x86_64.rpm.tar.gz
DEB for Ubuntu 16.04 or higher
goconserver_0.3.2-snap201811080419_ppc64el.deb.tar.gz
goconserver_0.3.2-snap201811080417_amd64.deb.tar.gz
Changes
goconserver 0.3.1
RPM for Redhat 7.0 or higher
goconserver-0.3.1-snap201808202115.ppc64le.rpm.tar.gz
goconserver-0.3.1-snap201808210215.x86_64.rpm.tar.gz
DEB for Ubuntu 16.04 or higher
goconserver_0.3.1-snap201808202221_ppc64el.deb.tar.gz
goconserver_0.3.1-snap201808210206_amd64.deb.tar.gz
Changes
goconserver 0.3.0
Binary
goconserver_linux_amd64.tar.gz
goconserver_linux_ppc64le.tar.gz
RPM for Redhat 7.0 or higher
goconserver-0.3.0-snap201806040336.x86_64.rpm.tar.gz
goconserver-0.3.0-snap201806040250.ppc64le.rpm.tar.gz
Changes
Add web interface in goconserver #37
Add etcd plugin to support goconserver cluster #38
Add break sequence framework to support sysrq #39
Enable the web interface
api:
port: 12429 # the port for rest api
dist_dir : /usr/share/goconserver/dist
Access http(s)://<host>:12429/ to get the web page of goconserver
Enable etcd storage
Setup etcd service then edit /etc/goconserver/server.conf
like below:
global:
storage_type: etcd
etcd:
dail_timeout: 5
request_timeout: 2
# multiple endpoints could be apply, separate by the space
endpoints: boston02:2379
# if timeout, the server host will be unregistered from cluster
server_heartbeat: 5
# the prefix to all keys passed to storage.Interface methods
prefix: goconserver
# port for grpc server to support goconserver cluster, only available if storage_type is set to etcd.
rpcport: 12431
rpc_insucure: true
rpc_client_key_file: /root/.xcat/client-cred.pem
rpc_client_cert_file: /root/.xcat/client-cred.pem
rpc_client_ca_cert_file: /root/.xcat/ca.pem
Break sequence
Press ctrl + e + c + l + [1-9] to send the break sequences to the remote.
Could specify the break sequences in /etc/goconserver/server.conf
like below:
break_sequence:
# ipmi break sequence, press Ctrl + e + c + l + 1 to activate
- sequence: ~B
delay: 600
- sequence: +\d+\d+
delay: 250
goconserver 0.2.2
Binary
goconserver_linux_amd64.tar.gz
goconserver_linux_ppc64le.tar.gz
RPM for Redhat 7.0 or higher
goconserver-0.2.2-snap201803292146.x86_64.rpm.tar.gz
goconserver-0.2.2-snap201803292225.ppc64le.rpm.tar.gz
DEB for Ubuntu 16.04 or higher
goconserver_0.2.2-snap201803292203_amd64.deb.tar.gz
goconserver_0.2.2-snap201803292224_ppc64el.deb.tar.gz
Changes
Fix the issue about console connection status #31
Fix nil issue when listing client users for a console session #33
goconserver 0.2.1
Binary
goconserver_linux_amd64.tar.gz
goconserver_linux_ppc64le.tar.gz
RPM for Redhat 7.0 or higher
goconserver-0.2.1-snap201803020115.x86_64.rpm.tar.gz
goconserver-0.2.1-snap201803020124.ppc64le.rpm.tar.gz
DEB for Ubuntu 16.04 or higher
goconserver_0.2.1-snap201803020109_amd64.deb.tar.gz
goconserver_0.2.1-snap201803020142_ppc64el.deb.tar.gz
Changes
goconserver 0.2.0
Changes
- Implement feature Output Plugins
With this feature, goconserver could send the console output in json format to multiple targets such as logstash, rsyslog, etc. - List console status in the result of
congo list
. - Fix a race condition when deleting node in
ondemand=true
mode. - Handle EAGAIN error when writing stdout at client side.
goconserver 0.1.0
Installation
Example:
wget https://github.com/chenglch/goconserver/files/1558245/goconserver-0.1.0-snap201712140224.x86_64.rpm.tar.gz
tar xvfz goconserver-0.1.0-snap201712140224.x86_64.rpm.tar.gz
yum install goconserver-0.1.0-snap201712140224.x86_64.rpm
Work with xcat
Quick start
Stop conserver at first
# service conserver stop
Register node1 into the goconserver
# makegocons node1
node1: Created
# rcons node1
Unregister node1
# makegocons -d node1
Console log
The console file is under /var/log/goconserver/nodes/
by default.
Swith back to conserver
If you hope to switch back to conserver, just run
service goconserver stop
service conserver start
Work as a standalone service
goconserver can work as a standalone service. If goconserver is started with makegocons
, the default ca certificate should be used by goconserver client congo
to connect to the server side. Please set the environment variable based on your environment manually, like below:
CONGO_PORT=12430
CONGO_URL=https://c910f05c01bc02k74:12429
CONGO_SERVER_HOST=c910f05c01bc02k74
CONGO_SSL_CA_CERT=/root/.xcat/ca.pem
CONGO_SSL_CERT=/root/.xcat/client-cred.pem
CONGO_CONSOLE_TIMEOUT=3
CONGO_SSL_KEY=/root/.xcat/client-key.pem
The congo
command can help you check the status of the resources. For example:
List the session in the goconserver service
# congo list
c460c022 (host: c910f05c01bc02k74)
cmdnode (host: c910f05c01bc02k74)
cmdnode2 (host: c910f05c01bc02k74)
kvmguest1 (host: c910f05c01bc02k74)
Check the detail status
# congo show kvmguest1
{
"StorageNode": {
"name": "kvmguest1",
"driver": "cmd",
"params": {
"cmd": "/opt/xcat/share/xcat/cons/kvm kvmguest1"
},
"ondemand": true
},
"State": "avaiable"
}
Connect to the console
# congo console kvmguest1
More detail can refer to congo help