https://github.com/clustercockpit/cc-node-controller

Node agent for enforcing node configurations and forwarding events

https://github.com/clustercockpit/cc-node-controller

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.8%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Node agent for enforcing node configurations and forwarding events

Basic Info
  • Host: GitHub
  • Owner: ClusterCockpit
  • License: mit
  • Language: Go
  • Default Branch: main
  • Size: 5 MB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 1
  • Releases: 0
Created over 2 years ago · Last pushed 11 months ago
Metadata Files
Readme License

README.md

cc-node-controller

Node agent for enforcing node configurations and forwarding events

Installation

There is currently no prepared SystemD service file or anything, it is in development stage.

You can build cc-node-controller with make.

LIKWID sysfeatures

A fundamental part of cc-node-controller is its connection to LIKWID's sysfeatures component. The component allows changing CPU frequencies, setting powercaps and other manipulation of system features. The sysfeatures component is still in experimental stage in LIKWID, so LIKWID needs to be compiled with special build options to include the sysfeatures component.

``` $ git clone $ cd likwid $ vi config.mk

- change PREFIX if needed

- enable sysfeatures component by setting BUILD_SYSFEATURES=true

$ make $ sudo make install ```

Configuration

The main configuration file is config.json.

json { "hostname" : "<listen_ip>", "port" : <listen_port, commonly 4222>, "input_subject_prefix" : "<input prefix>", "input_subject": "<input subject>", "output_subject_prefix" : "<output prefix>", "output_subject": "<input subject>" }

You can either use the input_subject/output_subject options to set the acutal subject or use the input_subject_prefix/output_subject_prefix options which will be extended by the hostname of the local node: <output_subject_prefix>/<hostname>

Running

The cc-node-controller itself does not do anything on its own, it waits for control messages to perform any manipulation. The control messages are received through NATS, so a NATS server should be running somewhere.

Make sure the LIKWID library with sysfeatures component is in LD_LIBRARY_PATH. Make also sure, that it is the only LIKWID library that can be used.

$ ./cc-node-controller (-config <configfile>) (-debug) (-log <logfile>)

Default configuration file is ./config.json.

Owner

  • Name: ClusterCockpit
  • Login: ClusterCockpit
  • Kind: organization

GitHub Events

Total
  • Issues event: 7
  • Delete event: 1
  • Issue comment event: 1
  • Push event: 30
  • Create event: 2
Last Year
  • Issues event: 7
  • Delete event: 1
  • Issue comment event: 1
  • Push event: 30
  • Create event: 2

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ipatix (4)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads: unknown
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 0
    (may contain duplicates)
  • Total versions: 2
proxy.golang.org: github.com/clustercockpit/cc-node-controller
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.3%
Average: 5.4%
Dependent repos count: 5.6%
Last synced: 10 months ago
proxy.golang.org: github.com/ClusterCockpit/cc-node-controller
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 6.5%
Average: 6.7%
Dependent repos count: 7.0%
Last synced: 10 months ago

Dependencies

go.mod go
  • github.com/BurntSushi/toml v1.3.2
  • github.com/CloudyKit/fastprinter v0.0.0-20200109182630-33d98a066a53
  • github.com/CloudyKit/jet/v6 v6.2.0
  • github.com/ClusterCockpit/cc-metric-collector v0.6.7
  • github.com/Joker/jade v1.1.3
  • github.com/NVIDIA/go-nvml v0.12.0-1
  • github.com/Shopify/goreferrer v0.0.0-20220729165902-8cddb4f5de06
  • github.com/andybalholm/brotli v1.0.5
  • github.com/apapsch/go-jsonmerge/v2 v2.0.0
  • github.com/aymerick/douceur v0.2.0
  • github.com/bytedance/sonic v1.10.2
  • github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d
  • github.com/chenzhuoyu/iasm v0.9.0
  • github.com/deepmap/oapi-codegen v1.15.0
  • github.com/fatih/structs v1.1.0
  • github.com/flosch/pongo2/v4 v4.0.2
  • github.com/gabriel-vasile/mimetype v1.4.2
  • github.com/gin-contrib/sse v0.1.0
  • github.com/gin-gonic/gin v1.9.1
  • github.com/go-playground/locales v0.14.1
  • github.com/go-playground/universal-translator v0.18.1
  • github.com/go-playground/validator/v10 v10.15.5
  • github.com/goccy/go-json v0.10.2
  • github.com/golang/snappy v0.0.4
  • github.com/gomarkdown/markdown v0.0.0-20230922112808-5421fefb8386
  • github.com/google/uuid v1.3.1
  • github.com/gorilla/css v1.0.0
  • github.com/influxdata/influxdb-client-go/v2 v2.12.4
  • github.com/influxdata/line-protocol v0.0.0-20210922203350-b1ad95c89adf
  • github.com/iris-contrib/schema v0.0.6
  • github.com/josharian/intern v1.0.0
  • github.com/json-iterator/go v1.1.12
  • github.com/kataras/blocks v0.0.8
  • github.com/kataras/golog v0.1.9
  • github.com/kataras/iris/v12 v12.2.7
  • github.com/kataras/pio v0.0.12
  • github.com/kataras/sitemap v0.0.6
  • github.com/kataras/tunnel v0.0.4
  • github.com/klauspost/compress v1.17.0
  • github.com/klauspost/cpuid/v2 v2.2.5
  • github.com/labstack/echo/v4 v4.11.1
  • github.com/labstack/gommon v0.4.0
  • github.com/leodido/go-urn v1.2.4
  • github.com/mailgun/raymond/v2 v2.0.48
  • github.com/mailru/easyjson v0.7.7
  • github.com/mattn/go-colorable v0.1.13
  • github.com/mattn/go-isatty v0.0.19
  • github.com/microcosm-cc/bluemonday v1.0.25
  • github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
  • github.com/modern-go/reflect2 v1.0.2
  • github.com/nats-io/nats.go v1.31.0
  • github.com/nats-io/nkeys v0.4.5
  • github.com/nats-io/nuid v1.0.1
  • github.com/pelletier/go-toml/v2 v2.1.0
  • github.com/russross/blackfriday/v2 v2.1.0
  • github.com/schollz/closestmatch v2.1.0+incompatible
  • github.com/sirupsen/logrus v1.9.3
  • github.com/tdewolff/minify/v2 v2.12.9
  • github.com/tdewolff/parse/v2 v2.6.8
  • github.com/twitchyliquid64/golang-asm v0.15.1
  • github.com/ugorji/go/codec v1.2.11
  • github.com/valyala/bytebufferpool v1.0.0
  • github.com/valyala/fasttemplate v1.2.2
  • github.com/vmihailenco/msgpack/v5 v5.4.0
  • github.com/vmihailenco/tagparser/v2 v2.0.0
  • github.com/yosssi/ace v0.0.5
  • golang.org/x/arch v0.5.0
  • golang.org/x/crypto v0.14.0
  • golang.org/x/exp v0.0.0-20231006140011-7918f672742d
  • golang.org/x/net v0.17.0
  • golang.org/x/sys v0.13.0
  • golang.org/x/text v0.13.0
  • golang.org/x/time v0.3.0
  • google.golang.org/protobuf v1.31.0
  • gopkg.in/ini.v1 v1.67.0
  • gopkg.in/yaml.v3 v3.0.1
go.sum go
  • 176 dependencies