Help Center > > User Guide> Application O&M> Maintaining Application Component Instances

Maintaining Application Component Instances

Updated at: Apr 06, 2021 GMT+08:00

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 Setting Scaling Policies for Application Component Instances.

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 name. The Overview page is displayed.
  3. On the Environment View tab page, 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 name. The Overview page is displayed.
  3. On the Environment View tab page, 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 for an Application.
  7. After the configuration is complete, 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 name. The Overview page is displayed.
  3. On the Environment View tab page, select an environment to view the application components that have been deployed in the environment.
  4. Click the name of an application component to access its details page.

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 name. The Overview page is displayed.
  3. On the Environment View tab page, select an environment to view the application components that have been deployed in the environment.
  4. Click the name of an application component to access its details page.
  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 name. The Overview page is displayed.
  3. On the Environment View tab page, 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 name. The Overview page is displayed.
  3. On the Environment View tab page, 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.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel