Skip to content. Skip to navigation

Myriadicity Dot

Views

#!/bin/sh
# Cluster Status Discovery

zeoclients="client1 client2"

clusterpath=${0%/*}/..

if [ ! -w ${clusterpath}/var/blobstorage ]; then
    echo "You lack the rights necessary to run this script;\nTry sudo $0"
    exit 1
fi

echo "ZEO Server:"
${clusterpath}/bin/zeo status
for client in $zeoclients
do
    echo "Zope Client:" $client
    ${clusterpath}/parts/${client}/bin/zopectl status
done




subject:
  ( 7 subscribers )


Sections
Personal tools
Powered by Plone, the Open Source Content Management System