Metadata-Version: 1.1
Name: zoosync
Version: 1.0.0
Summary: Zookeeper service discovery
Home-page: https://github.com/valtri/zoosync
Author: František Dvořák
Author-email: valtri@civ.zcu.cz
License: MIT
Description: Zoosync
        =======
        
        Zoosync is a simple service discovery tool using Zookeeper as database backend.
        
        Usage
        =====
        
        See `zoosync --help` for options.
        
        The output is in the form of shell variable assignement, so tool could be used this way::
        
         ZOO='zoo1.example.com,zoo2.example.com,zoo3.example.com'
         REQ_SERVICES='impala,hadoop-hdfs,test,test2,test3'
        
         eval `./zoosync.py --hosts ${ZOO} --services ${REQ_SERVICES} --dry cleanup`
        
         echo "active: ${SERVICES}"
         echo "missing: ${MISSING}"
        
        Deployment
        ==========
        
        ::
        
          # install
        
          pip install zoosync
        
          # configure
        
          cat > /etc/zoosyncrc <<EOF
          hosts=zoo1,zoo2,zoo3
          user=user
          password=changeit
          services=service1,service2
          EOF
        
          # automatic startup
        
          # 1) SystemV
        
          cp scripts/zoosync.sh /etc/init.d/
          #debian: update-rc.d zoosync defaults
          #redhat: chkconfig zoosync on
        
          # 2) SystemD
        
          cp scripts/zoosync.service /etc/systemd/system/
          systemctl enable zoosync
        
Keywords: service-discovery zookeeper cloud
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Information Technology
Classifier: Topic :: System :: Distributed Computing
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
