In this video, I'll introduce you to the Grafana basic monitoring services for Oracle Private
Cloud Appliance.
Grafana gives you the ability to monitor the physical and virtual resources, it allows
you to do log file views, and it allows you to generate alerts.
In this video, I'll show you the pre-configured data sources and Grafana dashboards used to
monitor system resources.
I'll cover setting up alerts and querying log files in another video.
You can access the Grafana landing page from the Service Web UI.
From a browser enter https://adminconsole...
Here I'm showing the adminconsole URL that I mentioned, blurred out for security purposes.
I'm logged on as the admin user.
I'll click Monitoring under Observability & Management and this opens up the Grafana
web UI.
By default, when you install your Oracle Private Cloud Appliance and you've completed Day 0
configuration, and you have external network connectivity, this is where you'll find Grafana
information.
You can access this page directly by going to https://grafana...
You don't need to bring up the Service Web UI first if you just want to access Grafana.
There is a basic configuration in place.
I'll first show the data sources, that is, where you get data from.
You can get data from Loki, use the log file viewer.
You can get data from Prometheus, which is a collection tool for the physical and virtual
infrastructure.
And we also have some information here about the Prometheus AlertManager.
Under Dashboards, you have a series of pre-canned dashboards.
The dashboards are stored in a series of folders.
You can create folders to put your own dashboards in.
But these are the ones that are provided by the factory build.
There is a lot of material here about Kubernetes monitoring, so this shows what's going on
with microservices running on the management nodes.
You can look at what's going on inside the Kubernetes containers in terms of how busy
they are with system resources.
You can look at what is going on with the Kubernetes nodes in terms of system utilization
such as CPU, memory, network, and storage.
All of these Kubernetes dashboards are dealing with the Oracle Private Cloud Appliance management
nodes and the microservices running on those management nodes.
But we also want to know what's going on with the storage, with the networking, with the
compute nodes, and the virtual machines themselves.
Under the "My Sauron" folder, there are some read-only views that are created here.
My Sauron is one of the internal services, sauron is one of the microservices that's
running the Prometheus framework.
There is some material under PCA 3.0 Service Advisor, healthchecks and that sort of thing.
And there is Service Monitoring, all of these are available out-of-the box.
First I'll have a look at the Node Exporter.
This provides quite a detailed level of view into the individual compute or management
nodes within your Oracle Private Cloud Appliance.
It uses the default data source which is Prometheus.
So I'm looking at the node-exporter information that's going into Prometheus.
And then I can look at the individual hosts.
In this Oracle Private Cloud Appliance, there are 3 compute nodes and 3 management nodes
and I can select any one of these.
I can see what's going on at a high-level with cpu, memory, and disk.
Here I can see more basic information around cpu, memory, and disk utilization.
I'll scroll down to view Network Traffic Rates.
Going down further, I can drive down into greater levels of detail.
By default, each dashboard will be looking at data over a pre-determined time period.
This dashboard is set up to look at things over the last 24 hours.
But I can change the data range by clicking here and selecting a different time range.
For example, I'll show what's been going on over the last 12 hours.
Scrolling on down, I can look at information about network traffic, system processes, hardware
information which includes temperature monitoring.
Next I'll take a quick look at the switch dashboard under My Sauron which is looking
at switch traffic.
I can look at all of the switches, or I can look at just the 2 leaf switches, or just
the 2 spine switches.
I can see uplink port rates and the port channels, the min, max, and current utilization.
It shows input and output rates.
It shows input and output rates for the storage nodes so that's coming from the ZFS.
Scrolling down I see ISL, or interswitch link, input rates between the 2 leaf switches, or
between the 2 spine switches.
It shows the data traffic that's coming off the management nodes, and the data traffic
that's coming off the compute nodes.
It's also pre-configured to show data traffic coming off the Exadata ports.
On this particular Oracle Private Cloud Appliance, I don't have Exadata direct connect networking
enabled so these all show zero.
I can also look at the ZFS storage appliance.
Again, I can look at the 2 nodes, sn01 or sn02.
I can look at the storage pools, I've only got the basic installation with a single storage
pool.
So here is information about the cluster status, any active problems, major, minor, or critical
that are being reported by the nodes.
It also shows cpu utilization, storage utilization, data analytics, how much iSCSI data, how much
NFS data, network link data rates.
The final one that I'll show you is VM status under Service Monitoring.
Here I can have a look at what's going on with any given virtual machine.
The virtual machines are reported by their OCID, rather than by their hostname.
So here I can see the network receive traffic on a particular MAC address.
It shows a MAC address, which compute node the virtual machine is running on, and the
virtual machine name which is the OCID.
Click on any individual row and the dashboard shows what's going on with that particular
virtual machine.
I'll scroll down and to show this dashboard also provides disk reads and writes, memory
utilization, vcpus allocated.
This one has 2 Vcpus and this same virtual machine is running with 16 GB of memory.
Again, I can select a time period and here I can see when the virtual machine was actually
created, or when it's state was changed to running.
I can also tell from this that there are 2 VMs running on compute node 2 and one VM running
on both compute node 1 and compute node 3.
This concludes this demonstration of the pre-configured Grafana dashboards for the Oracle Private
Cloud Appliance.
Thank you for watching.
Please check our additional information on Oracle Private Cloud Appliance in the Oracle
Private Cloud Appliance Documentation or in the Oracle Private Cloud Appliance Learning
Library.