Help Center> ServiceStage> User Guide> Application O&M> Maintaining an Application Component Instance

Maintaining an Application Component Instance

You can upgrade components and view 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 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 to go to the application details page. On the Environment View tab page, you can view the deployed application components.
  3. Start or stop a component.

    • Click Stop in the Operation column of an application component to be stopped.
    • Click Start in the Operation column of a stopped application component.

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 to go to the application details page. On the Environment View tab page, you can view the deployed application components.
  3. Click Upgrade of the application component to be upgraded.
  4. Update the configuration and version based on service requirements.

    • Docker image

      Modify the component image version and other configurations.

    • Software package or source code

      Modify the software package, source code, and other configurations of the component.

  5. For details about advanced application settings, see Performing Advanced Settings for an Application.
  6. After the configuration is complete, click Re-deployment.

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 to go to the application details page. On the Environment View tab page, you can view the deployed application components.
  3. Click a deployed application component. On the application component instance details page that is displayed, you can view the instance details, including the overview, instance list, and access mode.

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. All applications are displayed.
  2. Click an application to go to the application details page. On the Environment View tab page, you can view the deployed application components.
  3. Click a deployed application component. On the displayed application component instance details page, choose Logs.
  4. Select an instance 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.

  5. Click View Context to view the logs generated before and after the time when the specific log is generated.

Rolling Back an Application Component

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

  1. Log in to ServiceStage and choose Application Management > Application List to view all applications.
  2. Click an application to go to the application details page. On the Environment View tab page, you can view the deployed application components.
  3. Choose Operation > Roll Back of the application component to be rolled back and roll back the application component as prompted.

Deleting an Application Component

Deleted versions 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 to go to the application component details page. On the Component List tab page, you can view the deployed application components.
  3. Click Delete in the Operation column of the application component to be deleted and delete the application component as prompted.