Commands Reference

This reference lists all the commands for Web ADC (lslb).

  • For LSLB, assume it's installed under /usr/local/lslb/

Control Commands

/usr/local/lslb/bin/lslbctrl help -- will list the below options

Usage: ./lslbctrl {start|stop|restart|reload|condrestrt|try-restart|status|help}

start       - start web server
stop        - stop web server
restart     - gracefully restart web server with zero down time
reload      - same as restart
condrestart - gracefully restart web server if server is running
try-restart - same as condrestart
status      - show service status
help        - this screen

./lslbctrl start will force communication with LiteSpeed licensing server immediately.

service lslb {start|restart|stop|reload|condrestart|try-restart|status|help}

start       - start web server
stop        - stop web server
restart     - gracefully restart web server with zero down time
reload      - same as restart
condrestart - gracefully restart web server if server is running
try-restart - same as condrestart
status      - show service status
help        - this screen
chkconfig lslb {on|off}

License Commands

  • Register a new license key (-r)

    /usr/local/lslb/bin/lslbd -r
    

  • Test current license locally (-t)

    /usr/local/lslb/bin/lslbd -t
    

  • Verify current license against license server (-V). This Command will force communication with LiteSpeed licensing server immediately.

    usr/local/lslb/bin/lslbd -V
    

  • Migrate current license (-m)

    /usr/local/lslb/bin/lslbd -m
    

Misc Commands

  • If you forgot your admin web console login, you can reset your password from command line

    /usr/local/lslb/admin/misc/admpass.sh
    

  • Check version

    /usr/local/lslb/bin/lslbd -v
    

  • Switch version

    /usr/local/lslb/admin/misc/mgr_ver.sh <version
    

  • Force re-install/update

    /usr/local/lslb/admin/misc/lsup.sh -f -v <version>
    

  • Install/Uninstall startup script

    /usr/local/lslb/admin/misc/rc-inst.sh
    /usr/local/lslb/admin/misc/rc-uninst.sh
    


Last update: July 7, 2020