You are currently viewing Zend Server 5.x documentation. Click here to view the latest Zend Server online documentation.
You are here: Zend Server Installation Guide > Post Installation > Linux Mac: Package Setup and Control Scripts

Linux Mac: Package Setup and Control Scripts

The following section describes how to do control Zend Server Cluster Manager components from the command line.

Controlling Zend Server Cluster Manager Components from the Command Line

The setup and control scripts control the optional components that come with Zend Server Cluster Manager for the DEB and RPM packages.

 

 

Instructions on how to complete a procedure

To control the Administration Interface's dedicated server, run:

# <install_path>/bin/lighttpdctl.sh stop|start|restart:

To set the Administration Interface's password, run:

# <install_path>/bin/gui_passwd.sh

To setup the Java Bridge, run:

#<install_path>/bin/setup_jb.sh

To control (start/stop) the Java Bridge daemon, run:

# <install_path>/bin/java_bridge.sh  stop|start|restart

 

Command Line Actions

The following lists the possible actions that can be done to the Zend Server Cluster Manager components from the command line:

Usage: <install_path>/bin/zendctl.sh <action>.

Note

In clustered environments these actions are done exclusively on the servers attached to Zend Server Cluster Manager from each server's command line. Zend Server Cluster Manager itself does not run these components.

Zend Server Cluster Manager

start - Start all Zend Server Cluster Manager daemons

stop - Stop all Zend Server Cluster Manager daemons

restart - Restart all Zend Server Cluster Manager daemons

version - Print Zend Server Cluster Manager version

status - Get Zend Server Cluster Manager status

Apache

start-apache - Start Apache only

stop-apache - Stop Apache only

restart-apache - Restart Apache only

LightHttpd

start-lighttpd - Start lighttpd only

stop-lighttpd - Stop lighttpd only

restart-lighttpd - Restart lighttpd only

Java Bridge

setup-jb - Setup Java bridge

Running zendctl.sh will show a list of uses and only after running setup_jb.sh will the following additional options be available:

start-jb - Start Java bridge only

stop-jb - Stop Java bridge only

restart-jb - Restart Java bridge only

Zend Monitor:

start-monitor - Start Monitor node only

stop-monitor - Stop Monitor node only

restart-monitor - Restart Monitor node only

 

Zend Job QueueA simple and manageable system for off-loading tasks from the synchronous user request, to an external, parallel PHP process.:

start-jobqueue - start jobqueue only

stop-jobqueue - stop jobqueue only

restart-jobqueue - restart jobqueue only

Zend Session Clustering Daemon (SCD):

start-scd - start scd only

stop-jobqueue - stop jobqueue only

restart-scd - restart scd only

Controlling Zend Server Cluster Manager from Startup

Zend Server Cluster Manager by default is installed to start at boot time. You can, if you want to, change that, using native OS tools (using chkconfig or update-rc.d). You can even control which specific daemons are started or not when Zend Server Cluster Manager starts - this is useful if, for example, if you are not using Job Queue and do not want this daemon to run for nothing.

 

The Zend Server Cluster Manager daemons are controlled via: /usr/local/zend/bin/zendctl.sh which is symlinked to /etc/init.d/zend-server

Zend Server Cluster Manager postinstall scripts call:

 

 

Related Links

Related Links:

Package Setup and Control Scripts

 

 

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.