{ "info": { "author": "Tim Savannah", "author_email": "kata198@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP", "Topic :: System :: Distributed Computing", "Topic :: System :: Software Distribution", "Topic :: Utilities" ], "description": "remote\\_copy\\_and\\_execute\n==========================\n\n\nremote\\_copy\\_and\\_execute is a tool used to copy a script in batch to a set list of hosts, execute N at a time, and print the results.\n\nIt uses the SSH protocol (ssh and scp utilities) to perform the acts. This is useful for a multiude of purposes, \n\nfrom running custom audit scripts to deployment scripts, activation and really any batch task.\n\n\n**Example Usage:**\n\n\n\n\tremote_copy_and_execute --rcae-at-a-time=3 --rcae-as-user=www --rcae-skip-bad-hosts ./myScriptName -- host1 host2 host3 host4 host5 host6 host7\n\n\nThe above command will copy and execute execute as \"www\" the script \"myScriptName\" on 3 hosts at a time, until all given hosts are completed or failed, and print results on completion.\n\n\n\tremote_copy_and_execute --rcae-batch --rcae-as-user=myuser /home/myuser/scripts/audit -- host1 host2 host3 host4\n\nThe above command will copy and execute execute \"/home/myuser/scripts/audit\" on all of the given hosts, as \"myuser\", using common batch options.\n\n\n**All Options:**\n\n\n\n\tUsage: remote_copy_and_execute [program] [args] (--) [hostname1] [hostnameN]\n\n\tCopies a script and executes on multiple hosts simultaneously. Use \"--\" after the args and before the list of host names.\n\n\tScript must be executable by the running user\n\n\n\tremote_copy_and_execute arguments:\n\n\t\t\\-\\-rcae\\-timeout=#seconds to use a timeout.\n\n\t\t\\-\\-rcae\\-omit\\-empty Omit printing empty results\n\n\t\t\\-\\-rcae\\-at\\-a\\-time=# Split application into given # chunks\n\n\t\t\\-\\-rcae\\-hide\\-date Do not show runtime date\n\n\t\t\\-\\-rcae\\-skip\\-bad\\-hosts Skip bad hosts. Default is to terminate.\n\n\t\t\\-\\-rcae\\-quiet Omit all output except that from the script. Implies hide-date\n\n\t\t\\-\\-rcae\\-as\\-user=username Perform copy and execute as given user. Default is root.\n\n\t\t\\-\\-rcae\\-print\\-on\\-host\\-complete Print right after each host completes execution. Default is to print at end of each set. Assumes rcae-hide-date.\n\n\n\t\t\\-\\-rcae-batch Sets defaults [listed below]. Sane defaults for batch\n\t\t\t\t executions. This directive is evaluated first, so you can override\n\t\t\t\t the ones that take a paramater.\n\n\n\t\t\t\t\t timeout=2\n\n\t\t\t\t\t omit-empty\n\n\t\t\t\t\t at-a-time=15\n\n\t\t\t\t\t hide-date\n\n\t\t\t\t\t skip-bad-hosts\n\n\n\n\t\t--rcae-help Show this message", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kata198/remote_copy_and_execute", "keywords": "ssh,scp,remote,copy,execute,shell,rcae,script,host", "license": "GPLv3", "maintainer": null, "maintainer_email": null, "name": "remote_copy_and_execute", "package_url": "https://pypi.org/project/remote_copy_and_execute/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/remote_copy_and_execute/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/kata198/remote_copy_and_execute" }, "release_url": "https://pypi.org/project/remote_copy_and_execute/1.1.1/", "requires_dist": null, "requires_python": null, "summary": "Tool to use SSH protocol to copy and execute arbitrary scripts/commands on a list of machines in parallel", "version": "1.1.1" }, "last_serial": 1700788, "releases": { "1.1": [ { "comment_text": "", "digests": { "md5": "c9d058060b1a7541820a9662309a8e55", "sha256": "6917347344dd7a44a4d17eec7feeef769643a80e277c28b7a3eaddd278debe7d" }, "downloads": -1, "filename": "remote_copy_and_execute-1.1.tar.gz", "has_sig": false, "md5_digest": "c9d058060b1a7541820a9662309a8e55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13176, "upload_time": "2015-08-30T22:50:27", "url": "https://files.pythonhosted.org/packages/7c/89/6b24f674ab8b231d0ba4970ecc6be137dc70d362fdc4b8d1a3a47f78f09d/remote_copy_and_execute-1.1.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "444af6a0233574b5c6b87b427e90cdec", "sha256": "3e3aa3a7bd7cb037217ee7f815c05e574eb80150e7f8d98ab6c8b922a668c724" }, "downloads": -1, "filename": "remote_copy_and_execute-1.1.1.tar.gz", "has_sig": false, "md5_digest": "444af6a0233574b5c6b87b427e90cdec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13283, "upload_time": "2015-08-30T23:21:41", "url": "https://files.pythonhosted.org/packages/2c/eb/64d0a5e52e0eb585eb32890f679af779f0b8445e020a9f7ed156de3bf6b7/remote_copy_and_execute-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "444af6a0233574b5c6b87b427e90cdec", "sha256": "3e3aa3a7bd7cb037217ee7f815c05e574eb80150e7f8d98ab6c8b922a668c724" }, "downloads": -1, "filename": "remote_copy_and_execute-1.1.1.tar.gz", "has_sig": false, "md5_digest": "444af6a0233574b5c6b87b427e90cdec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13283, "upload_time": "2015-08-30T23:21:41", "url": "https://files.pythonhosted.org/packages/2c/eb/64d0a5e52e0eb585eb32890f679af779f0b8445e020a9f7ed156de3bf6b7/remote_copy_and_execute-1.1.1.tar.gz" } ] }