Recurring Edge Services Maintenance Tasks

Edge for Private Cloud v. 4.16.09

In order to ensure optimal day-to-day operation of the Apigee system, certain tasks should be performed when the system is originally installed and/or on a periodic basis.

Maintenance Tool Set

The following tools are used to communicate with, or maintain various components of, the Apigee system. The variable $APROOT refers to the directory in which the Apigee system is installed.


Used For

System Location


Apache Cassandra maintenance



Apache Cassandra command line


Apache ZooKeeper command line utility



Arbitrary TCP/IP and UDP commands; invocation of ZooKeeper "four-letter commands"

/usr/bin/nc or another location dependent on your operating system

In situations where the "nc" or "telnet" commands might be considered a security risk, the following Python script can be used:

import time
import socket
import sys

if len(sys.argv) <> 4:
    print "Usage: %s address port 4-letter-cmd" % sys.argv[0]
    c = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    c.connect((sys.argv[1], int(sys.argv[2])))
    print c.recv(512)