Contact Us 1-800-596-4880

To Manage Anypoint Platform Private Cloud Edition Using Ops Center

This topic describes how to use the Ops Center to manage and monitor the Anypoint Platform Private Cloud Edition. The Ops Center is a web-base management too that enables you to perform the following types of tasks:

  • Add and remove servers

  • View logs and configure log forwarding

  • Monitor system stability and performance

Accessing Ops Center

  1. Go to the following URL:

    https://{platform-host}:9500
  2. Enter email and password of the admin user that you created during installation.

Adding Additional Servers

Adding servers enables you to scale up your cluster, even after the installation is complete.

  1. Login to Ops Center.

  2. Click the Servers tab, then click the Add Existing button.

  3. Select the type of node you want to add.

    The nodes available depend on the number of nodes in your installation.

  4. Click Continue.

    Ops Center displays a command similar to the following:

    curl -s --tlsv1.2 --insecure "https://172.31.48.9:3009/t/8402020736a8a04dda29bc81dfcd5211/node" | sudo bash
  5. Run this command on the machine where you are installing the new server.

    • You must run this command from an account that has root access.

    • You can only perform this installation on one server at a time.

    After performing this command, the server is displayed in a list in Ops Center.

  6. If necessary, specify the IP address and devices.

  7. Select the server, then click Start Installation to begin installation of the new server.

Removing a Server

You can remove individual servers from the cluster where the platform is installed.

Deleting a server also removes any applications that are deployed on the server.
  1. Login to Ops Center.

  2. Click the Servers tab

  3. Click the IP address of the server you want to delete, then select Delete.

  4. Confirm that you want to delete the server.

Configuring Log Forwarding

Anypoint Platform Private Cloud Edition enables you to forward server-level log data. Log forwarding is designed to forward your logs to a local 3rd party log solution. Forwarding log data to a cloud-based service, like Splunk Cloud, is not supported.

Anypoint Platform uses rsyslog to handle logging. To forward these logs to remote hosts perform following:

  1. Login to Ops Center.

  2. In the upper right-hand corner, click the admin user name.

    ops center settings
  3. Choose Settings, then click the Logs tab.

  4. Select the protocol you want to use.

  5. Enter the Destination IP address and port, then click Add.

Monitoring Stability and Performance

The Ops Center enables you to view data about the stability and performance of the platform.

Metrics dashboards are available for the these application components:

  • Anypoint Services

  • Cluster

  • Object Store

  • Pods

  • PostgreSQL

  • Redis

High-resolution metrics are stored for a default period of 30 days. Other metrics are retained from a period of 6 months up to 5 years.

Viewing Metrics

  1. Login to Ops Center.

  2. Click the Monitoring tab.

    By default, Ops Center displays the Cluster dashboard.

When viewing a dashboards, you can navigate through it by selecting from a series of dropdown menus at the top of the section. The options available depend on the selected dashboard. For example, in the Pods dashboard you can select a namespace and a podname.

Changing the time scale displayed in the charts

To change the time scale displayed in the charts:

  1. Click the currently selected time scale on the top-right.

  2. Select a quick option or provide start and end dates.

Anypoint Services Dashboard

The Anypoint Services dashboard displays metrics for the different sub-components of the platform, including exchange, API notebooks, or the home page. You can filter data by a specific microservice.

This dashboard displays the following metrics:

  • Processor

  • Memory

  • Network

  • Filesystem

Each of these metrics are displayed by service.

Cluster Information Dashboard

This dashboard shows metrics for the various nodes that make up your platform cluster. You can filter data by nodename.

This dashboard displays the following metrics:

  • Overall CPU Usage

  • CPU Usage by Node

  • Individual CPU Usage

  • Memory Usage Usage by Node

  • Individual Memory Usage

  • Overall Cluster Network Usage

  • Network Usage by Node

  • Individual Node Network Usage

  • Overall Cluster Filesystem Usage

  • Filesystem Usage by Node

  • Individual Node Filesystem Usage

These metrics have different scopes, depending on the context:

  • Overall metrics show an aggregate number for the entire set of nodes.

  • Metrics that are by node display each node as a separate curve on the same chart.

  • Individual node metrics only display it for the node that you selected in the nodename dropdown at the top of the section.

Object Store Dashboard

The Object Store dashboard displays data about the different nodes that make up the object store. It includes the following metrics:

  • Node Status

  • Read/Write Requests (in requests per second)

  • Read/Write Latency

  • Active Connections

  • Unavailable Exceptions

  • Disk Space Used

Metrics that deal with Read/Write values display read and write values as separate curves.

Pod Dashboard

The Pod dashboard displays data for the individual docker containers running different services of the platform. You can filter data by namespace or podname.

This dashboard displays the following metrics:

  • Individual CPU Usage

  • Individual Memory Usage

  • Individual Network Usage

  • File system Usage

All these metrics are displayed for the selected namespace and podname.

PostgreSQL Dashboard

The PostgreSQL dashboard displays data for the PostgreSQL server included in the platform. It displays the following metrics:

  • Activity per type

  • Cache Hit Ratio

  • Active Connections

  • Buffers

  • Conflicts/Deadlocks

  • PostgreSQL Containers CPU Usage per Pod

Activity per type displays different curves for rows fetched, returned, inserted, updated and deleted, at the level of time granularity that you choose.

Downloading Data

To download the data displayed in this section as a JSON:

  1. Click the gear icon at the top of the Ops Center.

  2. Click Export

managing via the ops center f3b1c

Alternatively, you can select Save as…​ to download this file with a custom name. You can also pick the View JSON option to view this data without downloading it.

Resetting Your Password

To change the password required to log into the Ops Center:

  1. Enter the gravity utility:

    This utility is added during the platform installation.

    sudo gravity enter
  2. Reset the password using the following command:

    gravity site --insecure reset-password

    This command returns the administrator email and password, for example:

    password for admin@example.com has been reset to: xxxxxxxxx