Micro Focus Frequent Contributor
Micro Focus Frequent Contributor
490 views

<(CM) Support tip>Auto Get Global in CM 9 and RM 8.3

Incident description :

AUTOGG and AutoGetGlobal keys are still in use for controlling how Auto Get Global behaves in CM 9/RM 8.3 Client

Resolution                : 

1   The registry keys below are still in use.

HKEY_CURRENT_USER\Software\Hewlett-Packard\HP TRIM\DBID\45 \AutoGetGlobal (DWORD)   

**45 is the DBID for your database  

HKEY_CURRENT_USER\Software\Hewlett-Packard\HP TRIM\AutoGetGlobal (DWORD) HKEY_LOCAL_MACHINE\SOFTWARE\Hewlett-Packard\HP TRIM\MSISettings\AUTOGG (String)   

2,   How the keys are created and the designed behaviour :

2.1   The 3 Registry keys are created and functions correctly only when RM/CM Client is installed via script using msiexec command with AUTOGG =”1” set.

**There was an option for user who installs the program to turn AUTOGG on when installing TRIM Client via GUI, however that option has been removed, hence AUTOGG can only be turned on via script installation method (using msiexec ).

An example of the installation script :

msiexec /i C:\HPE_CM_x86.msi /quiet PATCH="C:\HPE_CM_x86.msp" /l*vx C:\MSTinstall\Logs\HFinstall.log ADDLOCAL=HPTRIM,Client AUTOGG="1"

** Please note, if the Client is installed manually via running the setup.exe , none of the registry keys will work, even when the keys are created manually after the installation.

2.2 Upon the completion of installation for RM/CM Client using msiexec method, the following registry keys are created :

HKEY_LOCAL_MACHINE\SOFTWARE\Hewlett-Packard\HP TRIM\MSISettings\AUTOGG (String)  

HKEY_CURRENT_USER\Software\Hewlett-Packard\HP TRIM\AutoGetGlobal (DWORD)

Both key value are set to 1.

2.3 When user firstly logs in and connects to the database via RM/CM Client installed on this machine, the program will check the registry key :

HKEY_CURRENT_USER\Software\Hewlett-Packard\HP TRIM\AutoGetGlobal (DWORD)

 If the key value is set to 0 , Client won’t auto load Global Settings.

 If the key value is set to any value other than 0, Client will load Global Settings , and it will create registry key HKEY_CURRENT_USER\Software\Hewlett-Packard\HP TRIM\DBID\45 \AutoGetGlobal (DWORD)   (**45 is the DBID for the database )

and  once Global Settings has been loaded successfully,  the key value will be set to 1. 

2.4, When user logs in and connects to CM every time after the first time, the program will check the following two keys :

A, HKEY_CURRENT_USER\Software\Hewlett-Packard\HP TRIM\DBID\45 \AutoGetGlobal (DWORD)    **45 is the DBID for your database  

B , HKEY_CURRENT_USER\Software\Hewlett-Packard\HP TRIM\AutoGetGlobal (DWORD) 

If key B exists and value is not set to 0 , the program will check key A.

If Key A value is set to 0, Client will load Global Settings and then set key A value to 1.

If Key A value is set to non-zero value, Client will not perform Get Global.

 

0 Likes
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.