SAS DEPLOYMENT BACKUP UTILITY FANS 11.03.2015 JON KOLSTAD SR TECHNICAL CONSULTANT



Similar documents
SAS Intelligence Platform. System Administration Guide

Initializing SAS Environment Manager Service Architecture Framework for SAS 9.4M2. Last revised September 26, 2014

SAS 9.3 Foundation for Microsoft Windows

Scheduling in SAS 9.3

Scheduling in SAS 9.4 Second Edition

SAS 9.3 Intelligence Platform

Configuring IBM HTTP Server as a Reverse Proxy Server for SAS 9.3 Web Applications Deployed on IBM WebSphere Application Server

SyncThru Database Migration

MapGuide Open Source Repository Management Back up, restore, and recover your resource repository.

Buffalo Technology: Migrating your data to Windows Storage Server 2012 R2

Installation Instructions for Hot Fix I92003

VMware vsphere Data Protection

Implementing a SAS Metadata Server Configuration for Use with SAS Enterprise Guide

Configuring Apache HTTP Server as a Reverse Proxy Server for SAS 9.3 Web Applications Deployed on Oracle WebLogic Server

How to Install Multiple Monitoring Agents on a Microsoft Operating System. Version StoneGate Firewall/VPN 2.6 and SMC 3.2

Use QNAP NAS for Backup

CommVault Simpana Archive 8.0 Integration Guide

Searching for accepting?

System i Access for Web Configuring an Integrated Web Application Server Instance

Configuring Apache HTTP Server as a Reverse Proxy Server for SAS 9.2 Web Applications Deployed on BEA WebLogic Server 9.2

Instructions for Configuring a SAS Metadata Server for Use with JMP Clinical

CloudBerry Dedup Server

SAS 9.3 Intelligence Platform

Administering the Web Server (IIS) Role of Windows Server

Backup and Restore the HPOM for Windows 8.16 Management Server

Configuring BEA WebLogic Server for Web Authentication with SAS 9.2 Web Applications

Use Enterprise SSO as the Credential Server for Protected Sites

VMware vcenter Configuration Manager Backup and Disaster Recovery Guide vcenter Configuration Manager 5.4.1

ENABLING RPC OVER HTTPS CONNECTIONS TO M-FILES SERVER

IceWarp to IceWarp Server Migration

SAS 9.4 Intelligence Platform: Migration Guide, Second Edition

Best Practices for Implementing High Availability for SAS 9.4

Migrating to vcloud Automation Center 6.1

Tivoli Directory Server v6.3 Part03 of 06 Backup and Recovery

Zen Internet. Online Data Backup. Zen Vault Professional Plug-ins. Issue:

Implementing a SAS 9.3 Enterprise BI Server Deployment TS-811. in Microsoft Windows Operating Environments

Configure Cisco Emergency Responder Disaster Recovery System

Backup and Restore with 3 rd Party Applications

Upgrading Your Skills to MCSA Windows Server 2012

Disaster Recovery on the Sun Cobalt RaQ 3 Server Appliance with Third-Party Software

10972-Administering the Web Server (IIS) Role of Windows Server

Administering the Web Server (IIS) Role of Windows Server

HP Device Manager 4.6

Database Fundamentals

Administering the Web Server (IIS) Role of Windows Server 10972B; 5 Days

Third-Party Software Support. Converting from SAS Table Server to a SQL Server Database

Technical Paper. Configuring the SAS Web Infrastructure Platform Data Server for High Availability

How To Back Up Your Pplsk Data On A Pc Or Mac Or Mac With A Backup Utility (For A Premium) On A Computer Or Mac (For Free) On Your Pc Or Ipad Or Mac On A Mac Or Pc Or

LICENSE4J LICENSE ACTIVATION AND VALIDATION PROXY SERVER USER GUIDE

Spectrum Technology Platform. Version 9.0. Administration Guide

Database Administration

DIGIPASS Authentication for Windows Logon Getting Started Guide 1.1

Creating a Domain Tree

HP Operations Orchestration Software

ZeroTurnaround License Server User Manual 1.4.0

SQL Server Solutions GETTING STARTED WITH. SQL Safe Backup

SAS 9.4 Intelligence Platform

Task Manager. Tasks. Starting Task Manager CHAPTER

How To Backup SCCM 2012 R2 Server

Managing Cisco ISE Backup and Restore Operations

Server Deployment and Configuration. Qlik Sense 1.1 Copyright QlikTech International AB. All rights reserved.

Symantec Enterprise Vault 10.x for File System Archiving: Administration

Best Practices for Implementing Autodesk Vault

vcenter Configuration Manager Backup and Disaster Recovery Guide VCM 5.3

The Nuts and Bolts of Autodesk Vault Replication Setup

Installation and Setup: Setup Wizard Account Information

Backing Up and Restoring Data

EMC Data Protection Search

10972B: Administering the Web Server (IIS) Role of Windows Server

SAS 9.4 Intelligence Platform

Active Directory Adapter with 64-bit Support Installation and Configuration Guide

Tableau Server Administrator Guide

Module 7. Backup and Recovery

3M Command Center. Installation and Upgrade Guide

Managing SAS Web Infrastructure Platform Data Server High-Availability Clusters

Support Document: Microsoft SQL Server - LiveVault 7.6X

Tableau Server Administrator Guide

NovaBACKUP xsp Version 15.0 Upgrade Guide

Citrix XenServer 6 Administration

How to Configure Microsoft System Operation Manager to Monitor Active Directory, Group Policy and Exchange Changes Using NetWrix Active Directory

Microsoft Administering the Web Server (IIS) Role of Windows Server

Active Directory Services with Windows Server MOC 10969

Windows 10 and Enterprise Mobility

Backup and Restore Instructions. Backing up the Content Manager s Data

Configuring an Oracle Business Intelligence Enterprise Edition Resource in Metadata Manager

Implementing Microsoft SQL Server 2008 Exercise Guide. Database by Design

Module: Sharepoint Administrator

How To - Implement Single Sign On Authentication with Active Directory

CLI Commands and Disaster Recovery System

Metalogix Replicator. Quick Start Guide. Publication Date: May 14, 2015

Cloud Services ADM. Agent Deployment Guide

SQL Tuning and Maintenance for the Altiris Deployment Server express database.

IBM WebSphere Application Server Version 7.0

Copyright 2012 Trend Micro Incorporated. All rights reserved.

ADMT v3.1 Guide: Migrating and Restructuring Active Directory Domains

Ascent Capture's MSDE 2000 Backup and Restore Instructions (For Ascent Capture 7.x and 6.x using the default MSDE 2000 database)

Avatier Identity Management Suite

Siebel Application Deployment Manager Guide. Siebel Innovation Pack 2013 Version 8.1/8.2 September 2013

1 of 10 1/31/2014 4:08 PM

Transcription:

FANS 11.03.2015 JON KOLSTAD SR TECHNICAL CONSULTANT

SAS INTELLIGENCE PLATFORM INTELLIGENCE PLATFORM BACKUP TOOLS Versions prior to 9.4 provided Metadata Server Backup Facility Custom scripts for dumping FrameworkServer database to file File level backup PROC METAOPERATE SAS 9.4 contains two utilities for backup and restore Metadata Server Backup Facility Deployment Backup and Recovery Tool (BRT) (new in 9.4) The Deployment Backup and Recovery Tool is a centralized utility to manage backups and restore for all machines that are part of a SAS deployment. The tool will do online backup and restore as well as offline recovery.

SAS INTELLIGENCE PLATFORM METADATA SERVER BACKUP FACILITY Metadata Server Backup Facility backs up all registered metadata repositories, the repository manager, and the metadata server s configuration directory. There are several methods to perform a metadata backup, but the built-in utility has the advantage that: backups can be performed online repositories can be set to be reorganized (it does require an exception to the above statement) restore up to a point in time is possible

SAS INTELLIGENCE PLATFORM DEPLOYMENT BACKUP AND RECOVERY TOOL Integrated method for backing up and recovering SAS content across multiple tiers and machines. System-wide tool it is intended to back up an entire environment, as opposed to a single machine in a multi-machine deployment. The tool is installed on the middle tier as part of the SAS Web Infrastructure Platform.

DEPLOYMENT BACKUP AND RECOVERY TOOL (2) Connects with the SAS Deployment Agent on each middle-tier and server-tier Metadata server, all registered metadata repositories, repository manager Contents of the Data directories, SASEnvironment directories and server configuration directories for each server on the SAS server tier. SAS Content Server repository. Databases that are managed by the SAS Web Infrastructure Platform Data Server. By default, all of the databases are backed up. Exclusions can be configured. Additional directories under SAS-configuration-directory/LevN as specified by the administrator. (locations referenced by symbolic links are not backed up.)

SERVICES REQUIRED TO BE RUNNING The components that are required to be running for offline recovery are Metadata server (offline mode ok) Web Infrastructure Platform Data Server Deployment Agent (all machines) Online operations can be performed with all services running/online, except SAS Content Server require manual steps and needs a restart

ARCHITECTURE BRT is scheduled and executed from the SAS Web Application server running on the mid-tier server. REST based web application. (REpresentational State Transfer)

BACKUP EXECUTION 1. User interacts with the Web application using command line utilities installed with SASPlatformObjectFramework 2. Web application / Backup Service contacts the metadata server to define the backup configuration 3. Web application / Backup Service contacts the Deployment Agent / Backup Server on all machines that are part of the backup configuration. 4. Backup Server on each machine performs a local backup andthe result/status is returned to Web application / Backup service

BACKUP CONTENTS The default content, depending on the function of a machine: Metadata server LevN config directory Content Migration Utility (CMU) is used to backup LevN Data folder <Server Context>/Data folder <Server Context>/SASEnvironment folder Foundation Server Directories under <Server Context> (SASApp, VAApp) <Server Context>/BatchServer, <Server Context>/ConnectServer, <Server Context>/OLAPServer, <Server Context>/PooledWorkspaceServer, <Server Context>/StoredProcessServer, <Server Context>/WorkspaceServer, ObjectSpawner, SchedulingServer, ShareServer, ConnectSpawner SAS Infrastructure Data Server (PostgreSQL) All databases that are present in the PostgreSQL server. All PostgresSql server instances in the SAS Web Infrastructure Data Server created by WIP SAS Content Server

CONFIGURATION The configuration file covering the entire deployment is /local/sas94/config/levn/backup/backupserver.ini. There is no need to change this file unless: A central vault location has to be added later backupserver.shared.vault.dir=<absolute path> Content Server location if reverse proxy is enabled on the mid-tier backupserver.scs.host=<mid-tier fqdn> backupserver.scs.port=<webserver port> The remaining config for the deployment is derived from metadata.

OPERATION CLI utilities located at <SASHOME>/SASPlatformObjectFramework/9.4/tools/admin Add the location of the backuptool scripts to the path. UNIX export PATH=$PATH:/local/sas94/sashome/SASPlatformObjectFramework/9.4/tools/admin WIN

Usage: OPERATION Options include -help: Print the help information -host: Web Server Host if its present otherwise Application Server Host. Required if -profile not set. -port: Web Server Port if its present otherwise Application Server Port. Required if -profile not set. -user: Specify the user ID of an unrestricted metadata user. Required if -profile not set. -password: Specify the password of an unrestricted metadata user. Required if -profile not set. -protocol: value for this parameter is either http or https. The default value is http. Provide the value as https if target environment is configured as https type using SDW. -profile: Web Server connection profile if its present otherwise Application Server connection profile. Can be used in place of -host,-port,-user, -password,-protocol options. environment.properties file present in the same directory where batch utilities are present. -inputdata: User has to provide absolute path of the json file containing optional parameter name and comment. If not provided default value will be used. -maxattempt: Number of attemps to execute the request. If not provided then default value is 2. The value provided should be integer. -async: Its a optional parameter to start backup asynchronously

OPERATION -profile <file name> can be used in place of -host,-port,-user, -password,-protocol options. environment.properties file present in the same directory where batch utilities are present. Example user=sasadm@saspw host=vasrv.demo.sas.com port=7980 password={sas002}ba7b9d061cb4066e47f2455f373b030e protocol=http Important host=<fqdn> to middle-tier server

OPERATION The most commonly used utilities are shown in bold: sas-add-backup-customdir sas-analyze-metadata sas-backup sas-backup-metadata sas-create-project-repository sas-create-repository sas-delete-repository sas-display-backup sas-display-backup-config sas-display-backup-customdir sas-display-backup-sourceconfig sas-display-backup-sourcecontent sas-display-recovery sas-list-backups sas-list-backup-schedule sas-port-metadata sas-recover sas-recover-metadata sas-recover-offline sas-relationship-loader sas-remove-backup-customdir sas-remove-backup-schedule sas-set-backup-schedule sas-status-backup sas-update-backup-config sas-update-metadata-profile sas-upgrade-metadata

SCHEDULE By default BRT is scheduled to run every Sunday at 01:00. To add or remove scheduled runs, run the relevant script with an input file: sas-remove-backup-schedule profile <...> -inputfile <...> sas-set-backup-schedule profile <...> -inputfile <...> Example: { } "dayofweek": "sunday", "time": "01:00" JSON is used to specify attributes and values in the inputfile. See <SASHOME>\SASPlatformObjectFramework\9.4\tools\admin\conf\sample for more.

RETENTION TIME Backups expire after 30 days and send alerts to the address defined during installation. To modify this, run the relevant script with an input file: sas-update-backup-config profile <...> -inputfile <...> Where inputfile contains, for example: { "vaultlocation":"/local/depot/sas_deploymentbackup/utvikling", "daystoretainbackup": 30, "scheduledbackupsallowed": "true", "emailtolist":["abc@xyz.com", "def@uvw.com"] }

DISABLE BACKUP To disable BRT, run the update config script with an input file: sas-update-backup-config profile <...> -inputfile <...> Where inputfile contains: { } "scheduledbackupsallowed": "false"

VAULT AND STORAGE LOCATIONS All components are backed up to the following path on their respective host machines: SAS-configuration-directory/LevN/Backup/Vault.

STATUS MESSAGES, ALERTS AND TROUBLESHOOTING An alert e-mail is generated if a backup or recovery is unsuccessful. By default, the e-mail is sent to the system administrator e-mail address that was specified in the SAS Deployment Wizard or in the backup config if modified. BRT status and history can be displayed and verified with the commandline utility sas-list-backups. For the backup sources the status property will either be completed or failed

LOG LOCATIONS Main logfile <CONFIGDIR>/Lev1/Backup/backupserver.log Logs specific to backup source <CONFIGDIR>/Lev1/Backup/Logs/2014-11- 14T19_19_57/backup/ContentServer/ContentServer.log <CONFIGDIR>/Lev1//Web/Logs/SASServer1_1/SASDeploymentBackup9.4.log Example backup id: 2014-11-14T19_19_57

RUN AN UNSCHEDULED BACKUP Create a backup by running the utility sas-backup. Update PATH settings sas-backup profile <...> Verify the output and check that all components have status: completed.

RESTORE Restore can be done either online or offline. The backupid has to be known and the Backupvault needs to be accessible in the configured location. To find the backupid sas-list-backups profile <...> To run the restore (recover) sas-recover profile <...> -backupid <...> [-inputdata <...>] -inputdata <...> used to provide comments and source selection.

RESTORE (2) -inputdata <...> used to provide comments and source selection. { } "name": "Restore", "comment": "Restore of content server and recovery of selected instances of the Web Infrastructure Platform Database", "pausecomment": "pausecomment", "instancename": "Web Infrastructure Platform DataServer 94, Fin Mgmt Data Svr 5.4" "exclude": ["metadataserver","contentserver","configdir","customdir"]

OFFLINE RESTORE Offline restore requires Metadata Server and Postgres database to be running as well as Deployment Agent running on all machines. sas-recover-offline profile <...> -backupid <...> [-inputdata <...>]

RESTORE SAS CONTENT SERVER. Manual steps are required for SAS Content Server. 1. Stop the TC Server. 2. In <configlev>\appdata\sascontentserver\sasserver1_1, copy the contents of the "Copy_of_Repository" folder to the original folder i.e. Repository" or rename the Copy_of_Repository folder to Repository 3. Run the Data-scs.sql script which is present at the following location (<webinfpltminstallconfig>\deployment\data) 4. Restart the TC server. 5. It should come up successfully.