What it is?
Oracle Solaris Cluster manager user interface (OSCM UI) can be installed as a standalone package without installing the Oracle Solaris Cluster (OSC) software. This feature is available since OSC 4.3.
How to install OSCM UI?
Following two packages are required:
- ha-cluster/system/manager
- ha-cluster/system/manager-glassfish3.
The former package (1) has a dependency on the latter package. Hence installing just ha-cluster/system/manager would installs both the packages:
# /usr/bin/pkg install ha-cluster/system/manager
Once the packages are installed the following two services would be online by default:
# /usr/bin/svcs -a | grep manager
online Oct_10 svc:/system/cluster/manager-glassfish3:default
online Oct_10 svc:/system/cluster/manager:default
In case, the services are not online, please see the troubleshooting steps at the end of this blog.
How to use OSCM UI to login to different clusters?
The OSCM UI is backward compatible, i.e. an OSCM UI of version 4.3 can connect to OSC 4.2. However, there might be some features which might not be available for the earlier version. In such cases, the OSC version would need to be updated to avail the feature.
How launch the OSCM UI
Once the online services mentioned in the install section above, the OSCM UI can be launched in any browser using the URL https:// <ip_or_name_of_installed_machine>:8998/
How to login to any OSC node?
In the login page, after launching the OSCM UI, do the following steps:
1. Enter the Cluster Node to login. OSC 4.3.4 and later releases also allows login into zone cluster node. However in this case, the OSCM UI also should be 4.3.4 or higher.
2. Enter the User name to login. OSC 4.3.6 and later releases also supports RBAC login. However in this case, the OSCM UI also should be 4.3.6 or higher.
NOTE: In case of global cluster, it is also possible to configure the cluster using OSCM UI.
Troubleshooting
The services are not online
If any or both of the services, /system/cluster/manager-glassfish3 and /system/cluster/manager are not online, restart the services.
# /usr/sbin/svcadm restart <service_name>
OR
# /usr/sbin/svcadm disable <service_name>
# /usr/sbin/svcadm enable <service_name>
NOTE: The service /system/cluster/manager-glassfish3 should be online, before starting the service, /system/cluster/manager.
OSCM UI Browser URL is not loading
1. Ensure that the services are running as mentioned above.
2. Ensure that the cacao is running:
# /usr/sbin/cacaoadm status
default instance is ENABLED at system startup.
Smf monitoring process:
1073
1074
Uptime: 2 day(s), 14:36# /usr/sbin/cacaoadm status
default instance is ENABLED at system startup.
Smf monitoring process:
1073
1074
Uptime: 2 day(s), 14:36