How to create Crowd Support Zip via command line
要約
When Crowd web interface, the UI, is not working properly, running and getting the Support Zip is a challenge, requiring Crowd or the System administrator to collect logs and data from the Operating System.
To facilitate it, this solution comes to automatize the log/data search and packaging using the same structure the Support Zip tool provides beyond other benefits.
環境と要件
The solution runs in Linux based Operating System with:
/bin/bash
zip や gzip のアプリケーション
It's also required by the system administrator:
Being familiar with the Operating System command line interface.
- Recognize the Crowd Home and Crowd Application folders.
- Have read permission on Crowd Home and Crowd Application folders (recommended root/Administrator or the Crowd user if using Linux).
Attention when using Crowd with multiple nodes, the script shall be run in each node separately and the home folder refers to the Crowd home from the node (not the shared home folder).
スクリプトとその用途
Below you may find the scripts, usage, and real examples for Linux and Windows.
Linux
The support.zip generated file will be placed at <crowd-home>/export.
その他
- This solution is not a substitute of UI Support Zip. If you have the chance to generate the support zip though the UI, please prefer to use it.
- Username and passwords are sanitized in server.xml/tomcat-users.xml (tomcat configuration).