.. _primary-node-role-in-a-cluster:

Determine the primary node role in a cluster
---------------------------------------------------------

.. index:: cluster; cluster primary
.. index:: cluster; cluster primary role application
.. index:: cluster; cluster primary role database


To determine if the node is the primary database node or the application node, run the 
``cluster primary`` command (with additional parameters) from the CLI on a node: 

.. note:: 

   This command should be used to establish and confirm the primary application node during patch, patch bundle, or 
   delta bundle installation.


::

 platform@VOSS-UN-1:~$ cluster primary
 is_primary: true
 platform@VOSS-UN-1:~$ cluster primary role application
 is_primary: true
 platform@VOSS-UN-1:~$ cluster primary role database
 is_primary: false
 platform@VOSS-UN-1:~$



