Skip to content

OpenIO launch and monitoring tool for OpenIO SDS services

License

Notifications You must be signed in to change notification settings

open-io/gridinit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gridinit

Gridinit is a tool used to manage non-daemon processes.

Supported Linux Distributions

  • Ubuntu
    • Trusty
    • Xenial
    • Bionic
    • Focal

Wanna check? Then use the build_all.sh script that relies on our Dockerfile to reproduce minimal build environments.

Dependencies

Build

Building gridinit is configured by cmake, done by make and requires that libdill is installed ans its installation paths are configured with pkg-config.

cmake -D GRIDINIT_SOCK_PATH=/tmp/gridinit.sock .
make

But libdill is rarely available in mainstream Linux distributions, so here are the build instructions to build it from the git submodule:

git submodule update --init --recursive
cd vendor/libdill
./autogen.sh
./configure --prefix=/usr --enable-shared --disable-static --enable-tls --enable-threads
make
sudo make install

Compile-time Configuration

Macro Default Description
GRIDINIT_SOCK_PATH /var/run/gridinit.sock Path used for the socket on both server and client side, when no path is specified in the configuration.

Try it

./gridinit -d ./gridinit.conf
./gridinit_cmd status
./gridinit_cmd status2
./gridinit_cmd status3
./gridinit_cmd status @NS0
./gridinit_cmd status @NS1
./gridinit_cmd status @local
./gridinit_cmd status @local @NS1 @NS0
./gridinit_cmd stop
./gridinit_cmd start

About

OpenIO launch and monitoring tool for OpenIO SDS services

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 89.2%
  • CMake 4.5%
  • Python 3.1%
  • Dockerfile 1.7%
  • Shell 1.5%