Deploying Lightbits CLI on a Non-Lightbits Server
Lightbits supports running lbcli remotely against a cluster from a non-Lightbits server. The limitation is that it has to be a x86_64 Linux server. Make sure that the remote server has IP connectivity to the management or data IP, and run the following steps on the server:
Set up the repository based on the OS flavor.
- For Debian/Ubuntu connectivity, run the following command:
curl -1sLf 'https://dl.lightbitslabs.com/public/lbcli/setup.deb.sh' | sudo -E bash - For Yum/Red Hat based distributions, run the following command:
curl -1sLf 'https://dl.lightbitslabs.com/public/lbcli/setup.rpm.sh' | sudo -E bash
- For Debian/Ubuntu connectivity, run the following command:
Install the
management-lbclipackage.
x
# Debian/Ubuntuapt-get install management-lbcli# Yum/Red Hatyum install management-lbcli- Edit the
/etc/lbcli/lbcli.yamlfile, specifying the management or data IP for the endpoint. Then add the JWT.
output-formathuman-readabledial-timeout5scommand-timeout60sinsecure-transportfalseinsecure-skip-tls-verifytruedebugfalseapi-version2logger-max-size-mib100logger-max-backups5logger-max-age-days10endpointhttps//<ENDPOINT-IP>443jwteyJhbGciOi<remaining jwt content>BaFEuMsT9gQNQAYou can only provide one endpoint.
Was this page helpful?