Recurring Edge Services maintenance tasks

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.

The following tools are used to communicate with, or maintain various components of, the Apigee system.

Tool 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)