Help Center/ ServiceStage/ User Guide (ME-Abu Dhabi Region)/ User Guide/ Application O&M/ Maintaining Application Component Instances
Updated on 2023-06-25 GMT+08:00

Maintaining Application Component Instances

Scaling Application Components

You can define auto-scaling policies as required, releasing you from the workload of repeatedly adjusting resources in response to service changes and heavy burden during peak hours and saving resource and labor costs. For details, see Configuring a Scaling Policy of an Application Component Instance.

Starting and Stopping an Application Component

After an application component is deployed, you can start or stop it as required.

  1. Log in to ServiceStage and choose Application Management > Application List to view all applications.
  2. Click an application. The Overview page is displayed.
  3. On the Environment View tab, select an environment to view the application components that have been deployed in the environment.
  4. Start or stop a component.

    • Click Stop in the Operation column to stop an application component in the Running or Not ready state.
    • Click Start in the Operation column to start an application component in the Stopped state.
    • Click Restart in the Operation column to restart an application component in the Running or Not ready state.

Upgrading an Application Component

After an application component is deployed, you can re-deploy software packages and modify component configurations as required.

  1. Log in to ServiceStage and choose Application Management > Application List to view all applications.
  2. Click an application. The Overview page is displayed.
  3. On the Environment View tab, select an environment to view the application components that have been deployed in the environment.
  4. Click Upgrade in the Operation column to upgrade an application component.
  5. Update the configuration and version based on service requirements.

    The component can be rolled back to the source version only if the component version has been changed.

  6. Configure advanced settings. For details, see Performing Advanced Settings of an Application.
  7. Click Re-deployment.
  8. Click OK and wait until the component upgrade is complete.

Viewing Instance Details

After an application component is deployed, you can view the overview, instance list, and access mode on the application component details page.

  1. Log in to ServiceStage and choose Application Management > Application List to view all applications.
  2. Click an application. The Overview page is displayed.
  3. On the Environment View tab, select an environment to view the application components that have been deployed in the environment.
  4. Click an application component. The Overview page is displayed. You can view the instance details.

Querying Application Logs

After an application component starts, you can query application logs to learn about its running status.

  1. Log in to ServiceStage and choose Application Management > Application List. to view all applications.
  2. Click an application. The Overview page is displayed.
  3. On the Environment View tab, select an environment to view the application components that have been deployed in the environment.
  4. Click an application component. The Overview page is displayed.
  5. Click Logs to view application component logs.

    • Select an instance, log file name, and time granularity to view logs of the specified instance in a specified period.
    • Enter a keyword in the text box to search for logs.

Rolling Back an Application Component

After an application component is upgraded, you can roll it back to its target version.

  1. Log in to ServiceStage and choose Application Management > Application List to view all applications.
  2. Click an application. The Overview page is displayed.
  3. On the Environment View tab, select an environment to view the application components that have been deployed in the environment.
  4. Click Roll Back in the Operation column to roll back an application component.
  5. Locate the target version and click Roll back to this version in the Operation column.

Deleting an Application Component

Deleted application components cannot be restored. Exercise caution when performing this operation.

  1. Log in to ServiceStage and choose Application Management > Application List to view all applications.
  2. Click an application. The Overview page is displayed.
  3. On the Environment View tab, select an environment to view the application components that have been deployed in the environment.
  4. Click Delete in the Operation column delete an application component.

    Click OK as prompted.