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  | 
        /opt/apigee/apigee-cassandra/bin | 
      
| 
           
  | 
        
           Apache Cassandra command line  | 
        
          /opt/apigee/apigee-cassandra/bin
         | 
      
zkCli.sh | 
        
           Apache ZooKeeper command line utility  | 
        
          /opt/apigee/apigee-zookeeper/bin
         | 
      
nc | 
        
           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] else: c = socket.socket(socket.AF_INET, socket.SOCK_STREAM) c.connect((sys.argv[1], int(sys.argv[2]))) c.send(sys.argv[3]) time.sleep(0.1) print c.recv(512)