Tips and Tricks for Organizing and Administering Metadata

Similar documents
Best Practice for Creation and Maintenance of a SAS Infrastructure

Introduction. How Does it Work with Autodesk Vault? What is Microsoft Data Protection Manager (DPM)? autodesk vault

Windows Server 2008 R2 64-bit (x64) SP1. The SAS Workspace Servers can run on any platform that is supported by SAS 9.4 (TS1M3 or TS1M4).

Hands-Off SAS Administration Using Batch Tools to Make Your Life Easier

The SAS Workspace Servers can run on any platform that is supported by SAS 9.3.

Guide Users along Information Pathways and Surf through the Data

DataFlux Web Studio 2.5. Installation and Configuration Guide

WHAT IS THE CONFIGURATION TROUBLESHOOTER?

Approaches for Upgrading to SAS 9.2. CHAPTER 1 Overview of Migrating Content to SAS 9.2

SAS Intelligence Platform

SAS IT Resource Management 3.3

Life Cycle of SAS Intelligence Platform Project

A Practical Introduction to SAS Data Integration Studio

Administering SAS Enterprise Guide 4.2

Time Series Studio 12.3

SAS Web Report Studio 3.1

COGNOS (R) ENTERPRISE BI SERIES COGNOS REPORTNET (TM)

SAS Enterprise Guide 4.3

Department Administration

SAS ENTERPRISE GUIDE USER INTERFACE

Using SAS Enterprise Guide with the WIK

Managing Complex SAS Metadata Security Using Nested Groups to Organize Logical Roles

BI-09 Using Enterprise Guide Effectively Tom Miron, Systems Seminar Consultants, Madison, WI

SAS. Information Map Studio 3.1: Creating Your First Information Map

SAS 9.3 Intelligence Platform

Business Insight Authoring

SAS Forecast Server 3.1. Administrator s Guide to Installation and Configuration

Time Series Studio 13.1

Package Manager. Managing Cisco VXC Manager Packages CHAPTER

Business Intelligence Tutorial

SAS Data Integration Studio 3.3. User s Guide

Call: SAS BI Course Content:35-40hours

Administrator for Enterprise Clients: User s Guide. Second Edition

SAS Model Manager 2.2. Tutorials

Paper Best Practices for Managing and Monitoring SAS Data Management Solutions. Gregory S. Nelson

What s New in Ad Hoc 10.3?

SAS Inventory Optimization 5.1

Hotfix 913CDD03 Visual Data Explorer and SAS Web OLAP Viewer for Java

Configuring SAS Web Report Studio Releases 4.2 and 4.3 and the SAS Scalable Performance Data Server

Microsoft Office Groove Server Groove Manager. Domain Administrator s Guide

SAS Metadata Security 201: Security Basics for a New SAS Administrator

Making do with less: Emulating Dev/Test/Prod and Creating User Playpens in SAS Data Integration Studio and SAS Enterprise Guide

SAS Forecast Analyst Workbench 5.1

SAS Contextual Analysis 14.3: Administrator s Guide

Business Intelligence

Microsoft SharePoint 2010

Authentication Services ActiveRoles Integration Pack 2.1.x. Administration Guide

Remodeling Your Office A New Look for the SAS Add-In for Microsoft Office

SAS. Installation Guide Fifth Edition Intelligence Platform

SAS Viya 3.3 Administration: Promotion (Import and Export)

SAS Enterprise Miner TM 6.1. Migration Guide

SAS Forecast Server 3.1. Administrator s Guide to Report Administration Tasks

StreamServe Persuasion SP5

SAS 9.4 Management Console: Guide to Users and Permissions

SAS IT Resource Management 3.8: Reporting Guide

Extend EBS Using Applications Express

Microsoft SQL Server Training Course Catalogue. Learning Solutions

Asigra Cloud Backup v13.3 DS-Notebook Client User Guide. September 2017

Quick Start Guide. Kaseya 2009

SAS Model Manager 2.3

How to Import a Certificate When Using Microsoft Windows OS

Inventory Optimization Workbench 5.2

Extending the Scope of Custom Transformations

Getting Started with n-command

Technical Paper. Defining a Teradata Library with the TERADATA Engine in SAS Management Console

Using the Orchestration Console in System Center 2012 R2 Orchestrator

FileMaker, Inc. All Rights Reserved. Document Version 2.0 FileMaker, Inc Patrick Henry Drive Santa Clara, California FileMaker

Transitioning from Batch and Interactive SAS to SAS Enterprise Guide Brian Varney, Experis Business Analytics, Portage, MI

SAS/Warehouse Administrator Usage and Enhancements Terry Lewis, SAS Institute Inc., Cary, NC

SAS Intelligence Platform to 9.2 Migration Guide

System Management Guide Version 7.52

Hot Fix Installation Instructions for SAS Activity-Based Management 6.4.2

BusinessObjects LifeCycle Manager User's Guide

Oracle. Service Cloud Knowledge Advanced Implementation Guide

Pastel Evolution BIC Web Reporting User Guide

Crystal Enterprise. Overview. Contents. Upgrading CE8.5 to CE10 Microsoft Windows

SAS Environment Manager A SAS Viya Administrator s Swiss Army Knife

SAS 9.2 Intelligence Platform. Web Application Administration Guide, Third Edition

Oracle Universal Records Management Oracle Universal Records Manager Adapter for FileSystem Administration Guide

Bentley Map Geospatial Administrator Workspace Base Source Directory and Files Node

SAS Contextual Analysis 13.2: Administrator s Guide

COGNOS (R) ENTERPRISE PLANNING SERIES

DEL or DELETE - Deletes the character at cursor and/or characters to the right of the cursor and all highlighted (or selected) text.

SAS Web Infrastructure Kit 1.0. Administrator s Guide

Business Insights Dashboard

Administering OLAP with SAS/Warehouse Administrator(TM)

Source Control: Subversion

Getting Started Guide. ProClarity Analytics Platform 6. ProClarity Professional

Is Your Data Viable? Preparing Your Data for SAS Visual Analytics 8.2

Remedy OnDemand: Analytics Content Promotion

SAS 9.4 Intelligence Platform: Migration Guide, Second Edition

What s New in BID2WIN Service Pack 4

Asigra Cloud Backup v13.3 DS-Mobile Client User Guide. September 2017

SAS Clinical Data Integration 2.6

Project 2010 Certification Exams

Installation Instructions for SAS Activity-Based Management 6.2

HYPERION SYSTEM 9 BI+ GETTING STARTED GUIDE APPLICATION BUILDER J2EE RELEASE 9.2

Perceptive TransForm E-Forms Manager

Dell Storage Integration Tools for VMware

SAS Clinical Data Integration Server 2.1

Transcription:

Paper 183 Tips and Tricks for Organizing and Administering Metadata Michael G. Sadof, Bedford NH ABSTRACT The SAS Management Console was designed to control and monitor virtually all of the parts and features of the SAS Intelligence Platform. However, administering even a small SAS Business Intelligence system can be a daunting task. This paper will present a few techniques that will help you simplify your administrative tasks and enable you and your user community to get the most out of your system. The SAS Metadata server stores most of the information required to maintain and run the SAS Intelligence Platform which is obviously the heart of SAS BI. It stores information about libraries, users, database logons, passwords, stored processes, reports, OLAP cubes and a myriad of other information. Organization of this metadata is an essential part of an optimally performing system. This paper will discuss ways of organizing the metadata to serve you organization well. It will also discuss some of the key features of the SMC and best practices that will assist the administrator in defining roles, promoting, archiving, backing up, securing, and simply just organizing the data so it can be found and accessed easily by administrators and users alike. BI ARCHITECTURE At the core of the SAS Intelligence Platform is the SAS Metadata Server. Metadata is data about your data like who can access the data and where the data is stored. The metadata server basically controls all access to the metadata including users, libraries, reports and Stored Processes. Most of the metadata is stored in a set of SAS files known as the Foundation Repository. The repository contains library definitions, report definitions, user logons, database passwords and much more. The SAS Management console is a client tool that enables you to monitor and maintain the metadata. It acts as a gate-keeper and catalogue of the information that is stored in the SAS BI system. It can perform backups, control access to data, organize and promote objects within the repository. Figure 1 shows a familiar diagram of the key parts of the SAS BI Architecture. 1

THE SAS MANAGEMENT CONSOLE (SMC) SAS Training teaches an excellent 5 day course on administration of the SAS BI platform. Presented in this paper are some important concepts on how to administer without delving into the specifics which you can find elsewhere. The key items that you can manage in with the Management Console are basically where things are stored and who can access them. Here are some examples: Users Access Definition of servers Definition of databases and external files SAS Libraries Reports EG Projects Stored Processes SAS programs Data Integration Studio Jobs Cubes While security and access are always a big part of administering a system another important factor is the organization of data within that system. FOLDER STRUCTURE As an administrator it is important to create a framework that users can interact with and build upon in an organized manner. Best practices dictate that information and programs should be stored in a central location that has controlled access, rather than on a particular user s laptop or thumb drive. A basic folder structure is provided at installation but certainly you will want to enhance that structure. It is recommended that you do not remove or rename the initial folders. The following folders are used by the SAS System and should not be removed or renamed: Products, System, Users, Shared Data. Feel free however to add subfolders or create new ones. While the folder structure (as shown in Figure 2) is similar to a directory structure that you might find on Windows or Unix it is not the same. It exists only in the Foundation Repository. You may store a program or EG project either in the physical directory of your operating system or within the folder structure of the metadata. It is important to emphasize this concept to your user community and develop some guidelines as to where the information will be stored. When the data is stored within the SAS Folder structure access to the data can be controlled via the management console. As an administrator you should define for your organization where data and reports and programs should be stored. It can certainly be a combination of the two but whichever framework is decided upon it should be enforced throughout the user community. Just as books can be arranged on a library bookshelf by author, title, or topic you must create a structure for your metadata by department, functionality, or user. Figure 2 displays a folder structure for a fictitious XYZ company with a 3 departments (Data Analysis, Marketing, and Sales). Note that within each department the objects will be further organized by function. You can create folders and subfolders by simply right clicking on a level much in the same way as is done in windows. By setting the appropriate permissions on each folder you can control who can view and who can change. In this manner each of your user groups can have their own unique set of folders. I find this is a very simple and effective method to control access and organize. SAS provides several other methods of segregating data which may ease the burden of promoting and migrating code. You can set up multiple metadata servers each with its own foundation repository or you could set up multiple repositories within the same metadata server. The repository is basically one big file that contains all the information. As an administrator you are responsible for the maintenance, functioning and protection of the data within the system. Data access can be controlled at a folder level so good folder design with ease the burden of maintenance as well as provide for accountability. It will also provide for better collaboration of data, programs, and reports. Typically a SAS BI system is installed with segregated if not separate environments such as Development, Testing, and Production. If separate physical servers are not possible then the appropriate implementation of folder security can isolate each system and provide for safety and accountability. Folder structure becomes very important if you are maintaining multiple environments (dev, test and prod). Usually a program, cube, or other object is created in the test environment and then gets promoted through the other environments. The first promotion to test can be simply to move everything in a particular folder from the dev environment to test. But as a system grows there will be some new development, some fixes, and perhaps some deletion of objects. I find the easiest way to determine which members are to be moved is to place them in multiple folders. So you might have folders labeled by release number so you can determine which objects are to be moved. Another method might be to demote or checkout everything from the prod environment and promote the whole package again. You really need to see how your developers and users will be operating before you can make a 2

decision. Another idea is to name the member objects appropriately with a date and select objects based on that name in the export wizard. You can select based upon name, date created, and type of object. Figure 2. Example Folder Structure PROMOTION AND MOVING DATA BETWEEN ENVIRONMENTS The concept of moving or promoting data from one environment to another is easily accomplished in the management console but pre-planning can assist in keeping track of the various pieces. Basically the idea of promoting code or reports is accomplished through creating export packages and then importing those exported packages to the new system or location. Typically a large SAS implementation will have development, test, and production servers. The code, projects, and reports can be created and unit tested in the development environment and then moved to the test and subsequently the production environment. The management console provides a method of copying or exporting metadata from one environment to another. In the export process you can create a system independent package of information that can be imported to the next environment. You can create these packages easily in the management console by right clicking on a folder or object and selecting Export SAS Package. The wizard will then give you the option of selecting all the objects or allows you to filter the list of objects to be exported. Here is where a good folder structure can help. If all of your marketing programs are stored in the same folder you will have to select the whole folder or hunt for the particular objects you need. By creating sensible sub-folders (let s say by project or by date) you can make this job a bit easier and repeatable. Figure 3 depicts the filtering dialog of the export process. Once the package is created you must physically move that package file to the next environment if the environment is not on the same server. The import process requires that you place your cursor over the appropriate folder before right clicking and choosing Import SAS Package. During the import process you will be prompted to assign servers, libraries, and physical locations since they may be different in different environments. The BI system also provides the capability of creating multiple repositories or multiple metadata servers. It is beyond the scope of this paper to explore these methods but the administrator should be aware of them. I have found that appropriate folder creation and security is generally sufficient for most systems. 3

Figure 3. Export Filter Dialog USER AND FOLDER SECURITY One of the most important aspects of the metadata server and management console is the ability to restrict access to certain folders and objects. This can be through role based or group based security. The basic BI installation provides most needed roles which can be used to restrict or grant access by function like the ability to drill down into a cube. Group based security is more for controlling the data like the access to a particular set of tables/data files that may contain sensitive information. I have found that the SAS supplied roles are sufficient for most needs and can easily be altered and customized for your particular situation. Groups on the other hand are very specific to your organization and you will want to build your own. Best practices indicate that you should not alter or delete the groups supplied by SAS like SAS Servers or SAS Administrators, but rather add your own as necessary like programmers, Market Analysts etc. SAS provides the ability to control whether a member of a particular group can see the folder, read the objects within that folder, read the data associated with those objects or modify or delete 4

those objects or data. You can set the security on a particular object by right clicking and choosing properties and then clicking on the authorization tab BACKUPS The SAS 9.3 BI platform now provides a way of automatically scheduling your metadata backups. It also provides a method of restoring your repositories from a previously saved backup. I cannot stress enough the necessity of backups. You should allow the system to backup your repositories on a regular basis but I would also recommend that on a weekly and monthly basis you save backups in an alternate location. The automatic backup system will only keep a few generations of backups. I would also recommend backups of the data directories on the production server before any promotions or migrations. Export packages can be used for backup or archival purposes as well. You can export the whole folder structure to a package file and label it with a date. The package files are fairly compact and worth their weight in gold if there is a problem or metadata becomes corrupted. It is also possible to copy the entire physical repository directory and restore from that but you will not be able to do a selective restore. For a selective restore you can create a backup using the export function and then selectively import the objects you need. I find it very helpful to keep several full export packages at a folder level. Invariably a user will lose an object and need a restoration. Figure 4. Backup Dialog CONCLUSION In conclusion I would say that the most important factors in creating you environment are user access, folder structure and solid backup strategy. If the folders are created properly then access to the folders and subsequent promotion of the content of those folders is easily accomplished. With a solid and sensible folder structure you can selectively give access, promote members, and restore objects easily. RECOMMENDED READING SAS(R) 9.3 Intelligence Platform: System Administration Guide 5

CONTACT INFORMATION Mr. Sadof has over 25 years of experience as an Information Technology professional and currently maintains four levels of SAS Certifications. Most recently has been involved in design and development with the SAS Business Intelligence products, optimization and data warehousing projects, information visualization and the presentation of results on the web. He has been involved with installation and maintenance of SAS BI systems including 9.13-9.4 Your comments and questions are valued and encouraged. Contact the author at: Michael G. Sadof MGS Associates, Inc. Bedford, NH 301.613.3987 mgs@mgsnet.net SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. indicates USA registration. Other brand and product names are trademarks of their respective companies. 6