Copyright © 2012, SAS Institute Inc. All rights reserved. SAS ® GRID AT PHAC SAS OTTAWA PLATFORM USERS SOCIETY, NOVEMBER 2012
Jan 17, 2018
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS® GRID AT PHACSAS OTTAWA PLATFORM USERS SOCIETY, NOVEMBER 2012
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC AGENDA
• 1. SAS Grid Manager• SAS Grid Manager• Features and benefits
• 2. Grid at PHAC• Objectives• Architecture• Design details
• 3. Implementation
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC AGENDA
• 1. SAS Grid Manager• SAS Grid Manager• Features and benefits
• 2. Grid at PHAC• Objectives• Architecture• Design details
• 3. Implementation
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC SAS GRID MANAGER
• A SAS grid computing environment is one in which SAS computing tasks are distributed among multiple computers on a network, all under the control of SAS Grid Manager.
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC AGENDA
• 1. SAS Grid Manager• SAS Grid Manager• Features and benefits
• 2. Grid at PHAC• Objectives• Architecture• Design details
• 3. Implementation
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC FEATURES AND BENEFITS
• Performance• Workload Balancing (multi-user and parallelized)• High Availability• Scalability• Distributed Enterprise Scheduling
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC AGENDA
• 1. SAS Grid Manager• SAS Grid Manager• Features and benefits
• 2. Grid at PHAC• Objectives• Architecture• Design details
• 3. Implementation
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC AGENDA
• 1. SAS Grid Manager• SAS Grid Manager• Features and benefits
• 2. Grid at PHAC• Objectives• Architecture• Design details
• 3. Implementation
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC AGENDA
• 1. SAS Grid Manager• SAS Grid Manager• Features and benefits
• 2. Grid at PHAC• Objectives• Architecture• Design details
• 3. Implementation
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC ARCHITECTURE
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC ARCHITECTURE
• 64bit SUSE Linux Enterprise Server 11• Virtual Red Hat Server for RTM• OCFS2• LDAP / PAM (Novell eDirectory)
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC AGENDA
• 1. SAS Grid Manager• SAS Grid Manager• Features and benefits
• 2. Grid at PHAC• Objectives• Architecture• Design details
• 3. Implementation
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC DESIGN DETAILS
• Shared executables and configurations
• /sas/software/ {meta} {app} {midtier}• /sas/config/ {meta} {app} {midtier}• /sas/pss/lsf
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC DESIGN DETAILS
• Workspace Server clustering (hybrid Grid solution)
• Application Server context association with specific queue:• SASApp – normal queue• SASPriority – priority queue
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC DESIGN DETAILS
Normal queue:
QUEUE_NAME = normalPRIORITY = 30NICE = 20PREEMPTION = PREEMPTABLE
Priority queue:
QUEUE_NAME = priorityPRIORITY = 40NICE = 10PREEMPTION = PREEMPTIVE
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC DESIGN DETAILS
• Reduced sleep times:
• MBD_SLEEP_TIME = 3• SBD_SLEEP_TIME = 5
• Increased MXJ value (128)
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC DESIGN DETAILS
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC AGENDA
• 1. SAS Grid Manager• SAS Grid Manager• Features and benefits
• 2. Grid at PHAC• Objectives• Architecture• Design details
• 3. Implementation
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC IMPLEMENTATION
• Prerequisites• Shared storage• Networking• Users• License, SAS Depot, plan file• Third Party Software
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC IMPLEMENTATION
• Platform Suite for SAS 6.1 (PSS)• Install PM, LSF and GMS• Run hostsetup on every node• Install MPI• Test• Install RTM
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC IMPLEMENTATION
• Install SAS Software• Install Metadata Server, Application Server and Mid-tier• Configure
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC IMPLEMENTATION
• Grid specific options during configuration
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC IMPLEMENTATION
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC IMPLEMENTATION
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC IMPLEMENTATION
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC IMPLEMENTATION
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC IMPLEMENTATION
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC IMPLEMENTATION
• Edit configuration files to configure grid• lsb.params• lsb.hosts• lsf.cluster.[cluster_name]• lsb.queues
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC IMPLEMENTATION
• Create new application server context• Associate workspace with grid queue
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC IMPLEMENTATION
• Play
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC IMPLEMENTATION
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC IMPLEMENTATION
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC IMPLEMENTATION
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
SAS GRID AT PHAC FUTURE
• Metadata HA• More customized queues• Additional queues and application server contexts• DI server• Web Application clustering (horizontal / vertical)
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved.
RESOURCES
• SAS Grid Computing Documents• http://support.sas.com/rnd/scalability/grid/griddocs.html
• Standard deployment plan - Grid Manager, four machines• http://
support.sas.com/demosdownloads/sysdep_t6.jsp?packageID=000803&searchvar=productCat&searchval=sas%20grid%20manager
Copyr igh t © 2012, SAS Ins t i tute Inc . A l l r i gh ts r es erved. www.SAS.com
THANK YOU