Skip to content

goconserver 0.3.0

Compare
Choose a tag to compare
@chenglch chenglch released this 01 Jun 06:48
· 30 commits to master since this release
8921bed

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