What causes NX.env to change
search cancel

What causes NX.env to change

book

Article ID: 143622

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Desk Manager

Issue/Introduction

What caused the content of NX.env on the Service Desk Manager server to change?
 
Example:  Mail notifications are not being sent out.  The Options table and the Options listings show all of the Mail SMTP settings needed to connect to the mail server, but the NX.env shows the corresponding "NX_MAIL_SMTP" prefixed settings to be blank or commented out.

Environment

Release : 17.X

Component : SERVICE DESK MANAGER

Cause

These are the possible causes:

  1. pdm_configure has been run.

  2. NX.env has been manually edited or changed by a third party source, such as a filesystem backup/restore.

  3. pdm_options_mgr has been run.

  4. the Service Desk Manager service has been restarted.

  5. the Service Management installer has been run.

  6. the information in the Options table of the mdb has been changed.

  7. Version control has overwritten the NX.env files (applies mainly to AA based environments)

Resolution

Whenever pdm_configure is run, the values get regenerated from a combination of the Options table and the $NX_ROOT\pdmconf\NX.env_nt.tpl file.

It is possible, although not recommended, to edit the NX.env file and the NX.env_nt.tpl files directly.

It is possible to cause changes to the NX.env file by running the "pdm_options_mgr" command with either "-a pdm_option.inst" or "-a pdm_option.deinst" AND without the "-t" parameter. Likewise, it is possible to change the NX.env_nt.tpl file by running the pdm_options_mgr command with either "-a pdm_option.inst" or "-a pdm_option.deinst" AND with the "-t" parameter. 

It is possible to cause changes to the NX.env file by running the "pdm_options_mgr" command without any parameters. 

When the Service Management installer is run, the user must enter various parameters for the installer to proceed, once the "Install" button is pressed, values in the Options table of the mdb, in the $NX_ROOT\NX.env file, and in the $NX_ROOT\pdmconf\NX.env_nt.tpl may be updated; as well, the pdm_options_mgr may get run by the installer.

It is possible, although not advisable, that the Options table could be updated via pdm_extract/pdm_load or directly via a DBMS tool.

Additional Information

Install/Uninstall Options Manager Options