> Source: [sk180858](https://support.checkpoint.com/results/sk/sk180858)

# sk180858 - Login to SmartConsole may fail while High Availability sync is running

| Property | Value |
|----------|-------|
| Solution ID | sk180858 |
| Date Created | 2023-04-14 |
| Last Modified | 2023-07-30 |
| Technical Level | General |
| Products | Multi-Domain Security Management Server |
| Versions | R81 (EOS), R81.10 (EOS), R81.20 |

## Symptoms

- * In large Multi-Domain environments, login to SmartConsole may fail while High Availability sync is running.
* $MDS_FWDIR/log/cpm.elg will have many log prints with:  
  `alignMirrorsOfDomain: Starting alignment for domain`  
  And  
  `alignMirrorsOfDomain done for domain`

## Solution

This problem was fixed. The fix is included in:

* [Jumbo Hotfix Accumulator for R81.20](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81.20/Default.htm) starting from Take 14
* [Jumbo Hotfix Accumulator for R81.10](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81.10/Default.htm) starting from Take 110
* [Jumbo Hotfix Accumulator for R81](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81/Default.htm) starting from Take 87
* [Jumbo Hotfix Accumulator for R80.40](https://sc1.checkpoint.com/documents/Jumbo_HFA/R80.40/Default.htm) starting from Take 198

If you choose not to upgrade, Check Point can supply a **Hotfix** . [Contact Check Point Support](https://www.checkpoint.com/support-services/contact-support/) to get a Hotfix for this issue.  
A Support Engineer will make sure the Hotfix is compatible with your environment before providing the Hotfix.  
For faster resolution and verification, please collect [CPinfo files](http://supportcontent.checkpoint.com/solutions?id=sk92739) from the Security Management Server and Security Gateways involved in the case.

**Hotfix installation instructions:**   
Refer to [sk168597 - How to install a Hotfix](https://support.checkpoint.com/results/sk/sk168597).

<br />

After the fix is installed, the relevant environment variable must be enabled.  
If the issue is on the active server, use SKIP_ALIGN_MIRRORS_ON_SOURCE_MACHINE  
If the issue is on the standby server, use SKIP_ALIGN_MIRRORS_ON_TARGET_MACHINE  

Use the variable chosen for the commands below.  

**To enable:**   

* On-the-fly:  
  `[Expert@HostName]# $MDS_FWDIR/scripts/reload_env_vars.sh -e SKIP_ALIGN_MIRRORS_ON_TARGET_MACHINE=1`  

* Permanently:  
  `[Expert@HostName]# $MDS_FWDIR/scripts/override_server_settings.sh -e SKIP_ALIGN_MIRRORS_ON_TARGET_MACHINE 1`

<br />

**To disable:**   

* On-the-fly:  
  `$MDS_FWDIR/scripts/reload_env_vars.sh -u SKIP_ALIGN_MIRRORS_ON_TARGET_MACHINE`  

* Permanently:  

  1. Back up the current $MDS_FWDIR/conf/cpmEnvVars.conf file :  

     `[Expert@HostName]# cp -pv $MDS_FWDIR/conf/cpmEnvVars.conf{,_BKP}`  

  2. Edit the current $MDS_FWDIR/conf/cpmEnvVars.conf file :  

     `[Expert@HostName]# vi $MDS_FWDIR/conf/cpmEnvVars.conf`  

  3. Remove this line:  

     `SKIP_ALIGN_MIRRORS_ON_TARGET_MACHINE=1;export SKIP_ALIGN_MIRRORS_ON_TARGET_MACHINE`  

  4. Save the changes in the file and exit the Vi editor.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
