Services Management

With Cisco Nexus Dashboard, you can manage all of your services including their entire lifecycle from the Services GUI page. This page also allows you to explore the Cisco DC App Center and discover all the services that are available for the Nexus Dashboard.

Installing Services Using App Store

The App Store screen allows you to deploy services directly from the Cisco DC App Center.

Before you begin
  • You must have administrative privileges to install services.

  • The Cisco DC App Center must be reachable from the Nexus Dashboard via the Management Network directly or using a proxy configuration.

    Setting up a proxy is described in Cluster Configuration.

  • Keep in mind that only the latest versions of services are available for installation using the App Store.

    If you want to install a version of a service prior to the latest available in the App Store, you can follow the manual installation procedures as described in Installing Services Manually.

  • Ensure that the cluster is healthy before installing a service.

To install a service from the App Store:

  1. Navigate to your Nexus Dashboard’s Admin Console.

  2. Install a service from the App Store.

    503627.jpg
    Figure 8. Install Service from App Store
    1. From the main navigation menu, select Services.

    2. In the main pane, select the App Store tab.

    3. In the tile of the service you want to install, click Install.

      Nexus Dashboard will download the service directly from the DC App Center and install it. After the process completes, the service will become available in the Services page.

      This may take up to 20 minutes depending on the service.

  3. Start the service.

    By default, after the service is installed, it remains in the disabled state. Follow the steps described in Enabling Services to enable it.

    This may take up to 20 minutes depending on the service.

Installing Services Manually

Alternatively, you may choose to manually download the services from the DC App Center and then upload them to the Nexus Dashboard to install.

Before you begin
  • You must have administrative privileges to install services.

  • Ensure that the cluster is healthy before installing a service.

To install a service manually:

  1. Download the service’s image.

    1. Browse to the Cisco DC App Center.

    2. In the Search for apps…​ field, enter the name of the service you want to download and press Enter.

      For example, network insights.

    3. On the search results page, click the service.

    4. On the service page, click Download.

    5. In the License Agreement window, click Agree and download.

      This will download the service’s image file to your system.

  2. Log in to your Nexus Dashboard GUI.

  3. From the main navigation menu, select Admin Console.

  4. Upload the service image.

    1. From the main navigation menu, select Services.

    2. In the top right of the main pane, click the Actions menu and select Upload App.

    3. Choose the image file you downloaded.

      You can choose to upload the service from an http service or from your local machine.

      To upload a local image, select Local and click Choose File to select the service image you downloaded to your local system.

      To use a remote server, select Remote and provide the URL to the image file.

      note.gif

      Note blank.gif If you are providing an http URL to the image, your web server must be configured to not interpret .nap files and serve them as-is. Typically, this means including the extension in the following line in the web server’s httpd.conf configuration file: AddType application/x-gzip .gz .tgz .nap


    4. Click Upload to upload the app.

      This may take up to 20 minutes depending on the service.

  5. Wait for the upload and initialization process to finish.

  6. Start the service.

    By default, after the service is installed, it remains in the disabled state. Follow the steps described in Enabling Services to enable it.

    This may take up to 20 minutes depending on the service.

Enabling Services

By default, after a service is installed, it remains in the disabled state. This section describes how to enable it.

Before you begin

To enable a service:

  1. Navigate to your Nexus Dashboard’s Admin Console.

  2. From the main navigation menu, select Services.

  3. In the service’s tile, click Start.

    In releases prior to Release 2.2(1), when you installed and enabled a service in your Nexus Dashboard cluster, you had to choose a service deployment profile, which defined the cluster resources (in number of CPUs and the amount of memory and storage) required for that specific service.

    Beginning with Release 2.2(1), resource profile selection has been reduced to a number of more intuitive parameters directly related to your deployment use case. These parameters, such as number of switches or flows, describe the fabric size and use case intent and allow the cluster to intelligently determine the resources needed for the service. The parameters are categorized as "Network Scale" and must be provided prior to service deployment in the Cluster Configuration screen.

    In addition, if the service requires a particular App Infra Services profile, the cluster will automatically update and restart that Infra service to satisfy the requirement before starting your application.

    If the cluster does not contain the resources required to run the service, the service may provide a reduced capacity profile, which you can choose if you want to run the service in a reduced capacity mode.

    However, if the service you are trying to start is incompatible with the Nexus Dashboard version or the cluster size is insufficient to run the service even in reduced capacity mode, the cluster will return an error and you will not be able to start that service. If the service cannot be enabled due to cluster capacity, you may need to deploy additional worker node before you can start that service.

Updating Services

The process for updating services is similar to first deploying it, as described in Installing Services Using App Store or Installing Services Manually.

When you upload a new version of an existing service, you will be able to select one of the available versions from the (…​) menu on the service’s tile in the Services screen.

To update an existing service:

  1. Deploy the new version as described in Installing Services Using App Store or Installing Services Manually.

  2. Navigate to the Services screen in the Nexus Dashboard GUI.

  3. Click the (…​) menu on the service’s tile and select Available Version.

    Alternatively, you can click on the version count in the service tile to open the same menu.

  4. In the available versions window that opens, click Activate next to the new version.

Disabling Services

  1. Navigate to your Nexus Dashboard’s Admin Console.

  2. From the main navigation menu, select Services.

    All services installed in your Nexus Dashboard are displayed here.

  3. Click the (…​) menu on the service’s tile and select Disable to disable the service.

Restarting Services

  1. Navigate to your Nexus Dashboard’s Admin Console.

  2. From the main navigation menu, select Services.

    All services installed in your Nexus Dashboard are displayed here.

  3. Click the (…​) menu on the service’s tile and select Restart to restart the service.

Uninstalling Services

Before you begin

You must disable the service before you can delete it.

  1. Log in to your Nexus Dashboard GUI.

  2. From the main navigation menu, select Services.

    All services installed in your Nexus Dashboard are displayed here.

  3. Click the (…​) menu on the service’s tile and select Delete to remove the service.