Usage Note 36575: New XML tags are available for the omaconfig.xml file to analyze and repair a damaged SAS® Metadata Repository
There are two new XML tags that contain debugging options that you can add to the omaconfig.xml file for the SAS® Metadata Server. These tags are available in SAS® 9.2, SAS® 9.3, and SAS® 9.4. This note applies to SAS 9.2 and SAS 9.3. For details on the omaconfig.xml tags in SAS 9.4, refer to SAS 9.4 System Administration - Repair and Analyze Metadata Files Options
<DEBUG ANALYZE_METADATA_FILES="y"/>
- This tag contains an option that enables you to analyze your SAS Metadata Repository files for damage.
<DEBUG REPAIR_METADATA_FILES="y"/>
- This tag contains an option that performs the same analysis as the first, but it also immediately repairs many types of corruption that might be present in the SAS Metadata Repository.
Both of the options provide the same functionality as the Verify Metadata Files check box in the Metadata Analysis and Repair Tools in SAS® Management Console.
The analysis or repair occurs during initial start-up of the SAS Metadata Server process. The options are useful, in particular, when the SAS Metadata Server fails to start because of a damaged repository manager or a damaged SAS® Foundation repository. In this case, you cannot connect to the SAS Metadata Server using SAS® Management Console to run the Metadata Analysis and Repair Tools.
To use the new XML tags, complete the following steps:
- Stop the SAS Metadata Server and all other SAS processes in your environment.
- Make a backup copy of the omaconfig.xml file, which is located in the SAS-configuration-directory/Lev1/SASMeta/MetadataServer/ directory.
- Open the original file for editing and add one of the two XML tags (directives) to the file immediately following the <OMAconfig> tag.
Note: It is not necessary to include both tags in your omaconfig.xml file. If you want to only analyze the metadata, use the first directive. If you want to perform both the analysis AND repair, use the second directive.
For example, if you want to both analyze and repair the metadata, the first three lines of the omaconfig.xml file are similar to the following:
<?xml version="1.0" encoding="UTF-8"?>
<OMAconfig>
<DEBUG REPAIR_METADATA_FILES="y"/>
. . .more lines. . .
- Save the file and restart only the metadata server using the following command:
SAS-configuration-directory/Lev1/SASMeta/MetadataServer/MetadataServer.sh start
- Observe the metadata server's log file for errors regarding the analysis or the repair.
- Stop the metadata server and remove the tag from the omaconfig.xml file.
Do not leave these options in the omaconfig.xml file after the analysis or the repair is completed. Doing so can significantly affect SAS Metadata Server performance.
- Restart all SAS processes normally. See the "Overview of Server Operation" section in SAS® 9.3 Intelligence Platform: System Administration Guide, Second Edition for more information.
Operating System and Release Information
SAS System | SAS Metadata Server | z/OS | 9.2 TS2M0 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M0 | |
Microsoft Windows XP 64-bit Edition | 9.2 TS2M0 | |
Microsoft® Windows® for x64 | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M0 | |
Microsoft Windows XP Professional | 9.2 TS2M0 | |
Windows Vista | 9.2 TS2M0 | |
64-bit Enabled AIX | 9.2 TS2M0 | |
64-bit Enabled HP-UX | 9.2 TS2M0 | |
64-bit Enabled Solaris | 9.2 TS2M0 | |
HP-UX IPF | 9.2 TS2M0 | |
Linux | 9.2 TS2M0 | |
Linux for x64 | 9.2 TS2M0 | |
Solaris for x64 | 9.2 TS2M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Usage Note |
Priority: | |
Topic: | System Administration ==> Servers ==> Metadata
|
Date Modified: | 2010-03-09 13:58:47 |
Date Created: | 2009-07-20 14:06:01 |