# eXtremeSQL HA Functions

> The following functions are provided to manage eXtremeDB High Availability sessions with xSQL:

> xsql_ha_set_quorum()
> Set the HA quorum at runtime
> xsql_ha_set_switch_mode()
> Set the HA switch mode at runtime
> xsql_ha_get_sequencer()
> Return the number of the "most current version of database"
> xsql_ha_get_quorum()
> Return the number of replicas necessary for the quorum