LeanXcale Quick Guide
Installing LeanXcale is very easy. You just have to copy the tgz file with the LeanXcale binaries, untar it, install a few prerequisites and you’re set to go.
Please give a look to the Installation Guide.
In this section you’ll learn how to use the basic operations to manage LeanXcale. Give a look to the Operations Manual to get a deeper look.
# Stops everything user@host:~/lxs$ admin/stopcluster.sh MS ZK # Stops all the components except Zookeeper user@host:~/lxs$ admin/stopcluster.sh
Check the Cluster components and its ports:
# First stop all the workload user@host:~/lxs$ admin/stopcluster.sh MS ZK # If any component didn't stop, force to kill it user@host:~/lxs$ admin/stopcluster.sh force user@host:~/lxs$ admin/backupcluster.sh
Take into account that backup doesn’t store transaction log files so if the system didn’t stop gracefully some information could be lost.
Recover: To recover from a previous backup, there is a scripts but assumes you have first stopped the cluster. The recover, will start the cluster once files were recovered
##First stop all the workload $BASEDIR/admin> ./stopcluster.sh force $BASEDIR/admin> ./recovercluster.sh $BASEDIR/admin> ./checkcluster.sh
LeanXcale provides a simple command line client called lxClient, but we recommend you use your favorite JDBC/SQL client. We provide instructions on how to install and configure the SQuirreL SQL client with LeanXcale.
Using SQL DDL commands, you can use the client of your choice to create a database and build your schema.