Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
Often times new users of webMethods API Portal finding it difficult to start/stop different components of API Portal. A typical full start of API Portal involves starting of its two core components
Before we dive into start of these components, we need to have basic understanding of different glossary of terms used in API Portal context.
In a windows environment API Portal cloudagent is configured as Windows service(Software AG API Portal 10.x) with startup type "Automatic". If incase the machine which hosts API Portal restarts for some reason, the cloud agent component of API Portal will automatically started during system startup. This is no problem.
In a unix environment, unfortunately CloudAgent is not configured as a daemon. The installation process configures and starts the CloudAgent. BUT CloudAgent will not be automatically started if the machine reboots. We need to explicitly start the CloudAgent. There exists a shell script file (CloudAgentApp.sh) in ($$SoftwareAG/API_Portal/server/bin) to start/stop CloudAgent on a unix enviornment.
Status: If you are not sure whether CloudAgent is running or not you can query the running status of CloudAgent using ./CloudAgentApp.sh status
Start: To start the CloudAgent using the command ./CloudAgentApp.sh start
Stop: To stop the CloudAgent using the comamnd ./CloudAgentApp.sh stop
Windows
Note: If the cloudagent is not running this shortcut will fail silently. Please make sure you follow step1 to start the cloudagent first and then you can start components.
By default the SoftwareAG installer installs and starts the cloud agent. BUT installer do not start the components automatically after installation. As a user, we need to start the components explicitly.
Unix
We have shell scripts(sagyap10x.sh) in $$SoftwareAG/API_Portal/server to start/stop the API Portal. You can run sagyap10x.sh with start arguement to start the configured components.