In this article you can get information about OMACONIFG.xml file and how to set email alert using the option available in OMACONFIG.xml file.
During metadata server start-up, omaconfig.xml file is read. Metadata server reads omaconfig.xml file to get the path of repository manager. It also have information like journaling options, library used by repository manager, internal users password policy and email alert emails.
There are several other options that can be defined in OMACONFIG xml file, however, following tasks will be done frequently in OMACONFIG xml file.
In omaconfig.xml file, SASSEC_LOCAL_PW_SAVE option is used is to set the ability to store credentials in a profile.
The automatic email will be triggered in the following situations:
You can test the alert mail using SAS Management Console Metadata Manager plug-in. In Metadata Manager plug-in, right-click Active Server and select Properties. There you will find Send Test Message. Clicking on it will open Send Alert Email Message dialog box. Enter the contents to be displayed in email and click OK.
<OMA>
It is used to specify any option related to metadata server. The examples that I have explained above will be under this element.
<RPOSMGR>
It is used to specify any option related to repository manager. Example: LIBREF, ENGINE, PATH etc option. These option is used to specify LIBREF, ENGINE, PATH of repository manager.
<InternalAuthenticationPolicy>
Options in this xml tag includes ChangeDelayInMinutes, ExpirationDays, ExpirePasswordOnReset etc. All the options enclosed within this tag is case sensitive.
- File location: SAS-configuration-directory/Lev1/SASMeta/MetadataServer
- Restart required: Yes, if changes are made to this file Metadata Server should be restarted for the change to take effect.
During metadata server start-up, omaconfig.xml file is read. Metadata server reads omaconfig.xml file to get the path of repository manager. It also have information like journaling options, library used by repository manager, internal users password policy and email alert emails.
There are several other options that can be defined in OMACONFIG xml file, however, following tasks will be done frequently in OMACONFIG xml file.
Frequent task in OMACONFIG xml file done by SAS Admin
Provide ability to store credentials in a connection profile
Connection profile is used by SAS desktop application like SAS Enterprise Guide to store user ID and password. Below is the image of connection profile window.In omaconfig.xml file, SASSEC_LOCAL_PW_SAVE option is used is to set the ability to store credentials in a profile.
- If SASSEC_LOCAL_PW_SAVE=1, the users can save their user ID and password in the connection profile.
- If SASSEC_LOCAL_PW_SAVE=0, the users cannot save their user ID and password in the connection profile.
Configure alert e-emails:
Metadata Server will generate alert email whenever there is a downtime. The email will be sent to the email addresses specified in the OMA ALERTEMAIL option in the omaconfig.xml file. The subject of the alert email will be Metadata Server Alert and body of the alert email will be error message, host machine of the metadata server and the metadata server log path.The automatic email will be triggered in the following situations:
- Metadata server backup or recovery errors
- Any issue while journal updates the repository data
You can test the alert mail using SAS Management Console Metadata Manager plug-in. In Metadata Manager plug-in, right-click Active Server and select Properties. There you will find Send Test Message. Clicking on it will open Send Alert Email Message dialog box. Enter the contents to be displayed in email and click OK.
Changing journaling option
You can change the journaling type to NONE or SINGLE or ROLL_FORWARD in JOURNALTYPE option.XML elements in omaconfig file
The file contains three XML elements OMA, RPOSMGR and Internal Authentication Policy.<OMA>
It is used to specify any option related to metadata server. The examples that I have explained above will be under this element.
<RPOSMGR>
It is used to specify any option related to repository manager. Example: LIBREF, ENGINE, PATH etc option. These option is used to specify LIBREF, ENGINE, PATH of repository manager.
<InternalAuthenticationPolicy>
Options in this xml tag includes ChangeDelayInMinutes, ExpirationDays, ExpirePasswordOnReset etc. All the options enclosed within this tag is case sensitive.
Comments
Post a Comment