21
Copyright © 2015, SAS Institute Inc. All rights reserved. Hotfix-administration Backup & Recovery Mikael Enér [email protected] #SASFORUMSE

Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

Copyright © 2015, SAS Institute Inc. All rights reserved.

Hotfix-administration Backup & Recovery

Mikael Enér

[email protected]

#SASFORUMSE

Page 2: Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

Copyright © 2015, SAS Institute Inc. All rights reserved.

”Att säkerställa hög tillgänglihet för analysmiljön blir allt mer viktigt.

Detta kan innebära nya utmaningar för dig som SAS-administratör.

I denna presentation går vi igenom hur man håller sin miljö

uppdaterad och säkrad. ”

Page 3: Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

Copyright © 2015, SAS Institute Inc. All rights reserved.

Planera för det värsta

- Hoppas på det bästa

Page 4: Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

Copyright © 2015, SAS Institute Inc. All rights reserved.

SAS 9.4

• Hotfix-administration

• Enklare installationsförfarande av hotfixar

• SASHFADD

• SAS Deployment Manager

• Backup & Recovery

• Integrerad backuplösning

• Metadata

• Konfiguration

Page 5: Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

Copyright © 2015, SAS Institute Inc. All rights reserved.

SAS Hotfixes – SAS 9.4

• Vad/varför?

• Rättar till problem i programvaran. i vissa fall en fix av ett existerande problem, i

andra fall mer av underhåll

• När och vad ska installeras?

• HF som löser Säkerhetsproblem?

• Endast de som löser ett aktuellt problem?

• Alla tillgängliga HF?

• HF Behöver inte installeras i specifik ordning

• En HF kan inte skriva över en annan

Page 6: Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

Copyright © 2015, SAS Institute Inc. All rights reserved.

SAS Hotfixes – SAS 9.4

• Installation

• Använd samma konto som vid installation

• Använd SAS Hotfix Analysis, Download and Deployment Tool (SASHFADD) för att

hitta och hämta hotfixar

• Använd SAS Deployment Manager för att installera (SAS 9.3 & 9.4)

• Använd SAS Deployment Manager för ”rebuild & deploy” av web-applikationer

(SAS 9.4)

• Hur vet jag vilka HF och produkter som är installerade?

• SAS Deployment Registry (<sashome>\deploymntreg\DeploymentRegistry.txt)

http://support.sas.com/kb/35/968.html

Page 7: Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

Copyright © 2015, SAS Institute Inc. All rights reserved.

SASHFADD

• Kan köras på ”valfri” klient (Windows/Unix, se system requirements)

• Analyserar en SAS-Installation utifrån deploymentregistry.txt

• Skapar rapport över tillgängliga hotfixar

• Genererar skript för nerladdning

• Installation av HF på SAS 9.3 och 9.4 via SDM

• För SAS 9.2

– SASHFADD genererar ett installationsscript.

Page 8: Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

Copyright © 2015, SAS Institute Inc. All rights reserved.

SASHFADD - Analysrapport

• HF som kan hämtas hem individuellt eller via de genererade scripten

• HF som endastkan hämtas manuellt.

• HF som endast avser icke engelska komponenter,

Page 9: Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

Copyright © 2015, SAS Institute Inc. All rights reserved.

Installera hotfixar via SDM

#SASFORUMSE

Page 10: Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

Copyright © 2015, SAS Institute Inc. All rights reserved.

SDM - Installera hotfixar via SDM

• Stäng ner alla SAS-tjänster, inkl web- och

WebAppserver

• Ta backup, både på binär- och

configbibliotek

• Även om det går att manuellt backa en

HF är det jobbigare än att ha en

backup att rulla tillbaka till

• Starta SDM(SASHOME/SASDeploymentManager/9.4)

Page 11: Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

Copyright © 2015, SAS Institute Inc. All rights reserved.

SDM - Installera hotfixar via SDM

Ange sökvägen till katalog där de

nerladdade HF finns.

Rensa biblioteket på installerade HF

efter installationen.

Page 12: Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

Copyright © 2015, SAS Institute Inc. All rights reserved.

SDM - Installera hotfixar via SDM

• Om det är någon HF som kräver

konfiguréring listas dessa här.

• Efter att alla HF installerats kommer

en sammanställning med länkar till loggar.

Page 13: Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

Copyright © 2015, SAS Institute Inc. All rights reserved.

Hotfix - Sammanfattning

• Mer info om SAS HF

– http://ftp.sas.com/techsup/download/hotfix/hotfix.html

• Deploymentreg: – http://ftp.sas.com/techsup/download/hotfix/faq.html

• SASHFADD Usage Guide

– http://ftp.sas.com/techsup/download/hotfix/HF2/SASHFADD_usage.pdf

• Prenumerera på information om HF

– http://support.sas.com/techsup/news/tsnews.html

Page 14: Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

Copyright © 2015, SAS Institute Inc. All rights reserved.

SAS Deployment Backup and Recovery Tool

#SASFORUMSE

Page 15: Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

Copyright © 2015, SAS Institute Inc. All rights reserved.

SAS Backup & Recovery

• Vad behövs för att kunna återskapa en SAS-miljö.

– Server och OS

– SAS-Binärer

– SAS-konfigurationen

– SAS-Metadata

– SAS-Data

– Externt data

– . . . . . .

Page 16: Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

Copyright © 2015, SAS Institute Inc. All rights reserved.

SAS Deployment and Recovery tool – SAS 9.4

• En integrerad lösning i SAS för backup av ingående servrar.

• En Deployment agent finns på varje server som har SAS-plattformen installerad

• Metadatabackup varje natt kl 01.00

• Deployment and Recovery Backup körs varje söndag kl 01:00

• Restore/Recovery av hela, alternativt delar av miljön

Page 17: Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

Copyright © 2015, SAS Institute Inc. All rights reserved.

SAS deployment and recovery tool

Vad är inkluderat i standardbackupen:

– Metadata, inklusive configuration

– Innehåll i Data-biblioteken under <sas-config>, SASEnvironment-biblioteken, server-config

– SAS Content Server repository

– SAS WIP Database Server

– Egna bibliotek under <sas-config>/Levn kan läggas till

Vad är inte inkluderat i standardbackupen

– Servrar där SAS deployment agent inte är installerad

– Endast SAS Data- och configfiler, EJ SAS-binärer

– Komponenter som läggs i externa databaser

Page 18: Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

Copyright © 2015, SAS Institute Inc. All rights reserved.

SAS deployment and recovery tool

SAS Backup Manager SAS 9.4M3

– Integrerad i Environment Manager (http://server1.acme.com:7080)

– Backup och Recovery historik

– Kör Backup

– Titta på backup-configuration

– Titta och ändra schemaläggning

– Modifiera backup-configurationen (Ej backup-filter och custom-bibliotek)

– Batch-commands

• SASHome/SASPlatformObjectFramework/9.4/tools/admin

Page 19: Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

Copyright © 2015, SAS Institute Inc. All rights reserved.

SAS deployment and recovery tool

Att tänka på

– Inkludera SAS:s backupbibliotek i systembackupen• <sas-config>/Levn/Backup/Vault)

• (<sas-config>/Levn/SASMeta/MetadataServer/Backups)

– Backuper sparas i 7 dagar defaultvärde, kan ändras

– Lägg till övriga kataloger under config/levn som Custom-directories

Page 20: Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

Copyright © 2015, SAS Institute Inc. All rights reserved.

SAS deployment and recovery tool

– Mer info om SAS Deployment Backup & Recovery Tool i System Administration Guide• http://support.sas.com/documentation/cdl/en/bisag/68240/HTML/default/viewer.htm#n0o4jsrrll9bn6n1jqtsh9o4p1tf.htm

– Sammanställning över kommandon• http://support.sas.com/documentation/cdl/en/bisag/68240/HTML/default/viewer.htm#p131nfed85vx6jn1dai1ofsw6mk1.htm

Page 21: Hotfix-administration Backup & Recovery - Sas Institute · 2016. 3. 11. · Title: Hotfix-administration Backup & Recovery Author: Mac System Administrator Created Date: 10/14/2015

Copyright © 2015, SAS Institute Inc. All rights reserved.

#SASFORUMSE

Tack!

Mikael Enér

[email protected]

Planera för det värsta

- Hoppas på det bästa