No Description

hemmi a55a59fa26 Merge branch 'master' of https://www.xmsoft.de/gogs/vmware/vrops-support-bundle 1 year ago
config df7b0d67f9 added config and upload dir 1 year ago
lib 2beb3fa4a6 created md file in lib dir 1 year ago
upload df7b0d67f9 added config and upload dir 1 year ago
README.md a0873f8575 added ideas for new functions 1 year ago
standard_vrops_api.pl a55a59fa26 Merge branch 'master' of https://www.xmsoft.de/gogs/vmware/vrops-support-bundle 1 year ago

README.md

vROps Manager - Support bundle automation script

Information and contact

Author: Michael Hempel, gogs@xmsoft.de

Code Review and Improvements: Bernd Pissny, gogs-hemmi@bernisys.prima.de

Special thanks to my colleague Vibhu Rastogi for providing the information about the CASA API.

Requirements

  • Perl
  • curl
  • access to vROPs master on port 443
  • direct sftp access to sftpsite.vmware.com

Instructions

Usage: ./standard_vrops_api.pl MASTER-FQDN

You have to provide the admin user password and the VMware SR number.

  • the script collects environment information
  • triggers a full log bundle
  • checks the status of the log bundle creation
  • copy log bundle from all nodes to Master
  • download log bundle to local machine
  • upload of log bundle to sftpsite.vmware.com

Ideas for new features

  • user to select if full or light log bundle (FULL|LIGHT)
  • upload to sftpsite by using https including proxy (https://sftpsite.vmware.com/doc/api/)
  • possible SSH tunneling to different server which has direct access to sftpsite.vmware.com

Licensing

The MIT License (MIT)

Copyright (c) 2017 www.xmsoft.de!

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.