./generate_postmortem.sh --help
ssh {ova appliance hostname} -l apicadm
sudo -i
curl -s -o generate_postmortem.sh https://raw.githubusercontent.com/ibm-apiconnect/v2018-postmortem/master/generate_postmortem.sh
chmod +x generate_postmortem.sh
../generate_postmortem.sh --ova
.Place script and run from the apicup project directory
-or-
set the environment variable APICUP_PROJECT_PATH using the following command:
export APICUP_PROJECT_PATH="/path/to/directory"
curl -s -o generate_postmortem.sh https://raw.githubusercontent.com/ibm-apiconnect/v2018-postmortem/master/generate_postmortem.sh
chmod +x generate_postmortem.sh
../generate_postmortem.sh
from the apicup project directory.curl -s -o generate_postmortem.sh https://raw.githubusercontent.com/ibm-apiconnect/v2018-postmortem/master/generate_postmortem.sh
chmod +x generate_postmortem.sh
../generate_postmortem.sh --cp4i
from the apicup project directory.Enable the following if troubleshooting an issue for the following subsystems:
Note: Enabling diagnostics may cause the script to take much longer to complete (especially over a VPN connection).
All (if requested by support)
--diagnostic-all
Manager
--diagnostic-manager
Note: If internet not available on machine where script is executed, downloadidentifyServicesState.js
and place in same directory asgenerate_postmortem.sh
.Gateway
--diagnostic-gateway
Note: In order for this switch to function, make sure connections to127.0.0.1
are not restricted on the local machine.Portal
--diagnostic-portal
Analytics
--diagnostic-analytics
./generate_postmortem.sh --debug &>debug.log
then open an issue on the github page attaching the debug.log
file.