In this lesson, the first SAP Commerce Cloud GUI a technical user can encounter is the SAP Commerce Administration Console, or HAC.
If SAP Commerce Cloud is deployed locally for development or testing purposes, you can visit HAC at the following URL: https://localhost:9002.
If SAP Commerce Cloud is deployed in the public cloud, you can access it by visiting the assigned endpoint: Endpoint URL/hac.
View the following HAC landing page.
(Note: The header gives a nod to its legacy as the Hybris Administration Console, hence we still call it the HAC. You'll also find legacy references to Hybris in SAP Commerce package names.)
The HAC is a web application equipped with tools for administering, monitoring, and configuring your SAP Commerce Cloud solution. Let’s explore its major functionalities:
Administration:
You can use HAC to perform various administrative tasks. Here are a few tasks among many others:
- Activating or viewing tenants
- Managing logging levels for specific loggers
- Initializing or updating the system
- Generating SQL scripts for either initialization or updates
- Verifying license information
- Downloading support log files (such as console, access, solr, jdbc, and so on)
- Employing the PK Analyzer to examine the primary keys
Monitoring
You can also use the HAC to monitor the system at runtime. Here's how:
- On the Cache page, you'll see parameters, statuses, and statistics for activated caches.
- The Cluster page shows you the statuses of the available cluster nodes.
- For database monitoring, you have four aspects:
- The Data Sources tab where you can find all configured data sources along with their status parameters.
- The Table Size tab presents a comprehensive list of database tables for the configured data source with their current sizes.
- The JDBC Logging tab allows you to enable logging to the configured log file and also download it.
- The JDBC Log Analysis tab helps you identify JDBC statements that either execute frequently or take unusually long to execute.
- You can use the Thread Dump function to generate a system thread dump.
There are more functions that you can explore.
Configuration
The HAC allows you to create, search, or modify configuration properties during runtime. For example: "impex.import.workers" is an application setting that configures the default number of ImpEx worker threads for multithreaded ImpEx importing—which is something we'll discuss later in this course.
- You can tweak this value to "1" in order to disable multithreaded ImpEx importing, or you can set it to "#cores * 2" (as shown in the following screenshot) to double the number of accessible cores.
- Hit the Apply checkmark to make sure your changes take effect.
Remember, changes made in the HAC are not permanent. When the server restarts, all settings revert to their original values from the corresponding properties files.
If you want to know more details about it, check out the dedicated portal page: Administration Console.