33
1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

Embed Size (px)

Citation preview

Page 1: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences

SAP NetWeaver Adaptive Computing Controller Experiences

Tim ArpSAP ArchitectureJohn Deere

Page 2: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

2 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences

John Deere Today – An American icon founded in 1837and growing outside the United States for more than 50 years

– A world leader in providing advanced products and services for agriculture, forestry, construction, lawn and turf care, landscaping and irrigation.

– A leading worldwide manufacturer of off-highway diesel engines

– One of the largest equipment finance companies in the U.S.

– Key investor in alternative energy sources

– Exciting new entities: John Deere Intelligent Solutions Group, Landscapes, and Water

Page 3: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

3 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences

Tim ArpSAP ArchitectureJohn Deere

Telecommunications

•Visual Basic Software Development

Internet Services

•Web Application Administrator

•Network Administrator

•Design and Architecture web hosting framework with F5 BigIPs

•Developed Automated Web Inventory

SAP Basis

•Developed SAP inventory script

•Automated and streamlined many procedures

Page 4: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

SAP NetWeaver Adaptive Computing Controller Experiences

THE INFORMATION CONTAINED IN THIS PRESENTATION IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY. WHILE EFFORTS WERE MADE TO VERIFY THE COMPLETENESS AND ACCURACY OF THE INFORMATION CONTAINED IN THIS PRESENTATION, IT IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. The material in this presentation is based on our experience at John Deere. This may or may not be indicative of what you will experience in your shop.

Page 5: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

•John Deere SAP Environment•Deere SAP Scripting Environment•Introduction to ACC•Preparing for ACC•Initial Configuration •Usage of ACC •Next steps

Page 6: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

6 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences

John Deere SAP Environment

Deere has used SAP software for close to 30 years– R2 in Europe

– R3 purchase in 1996

Landscapes

– 8 SAP ERP 2005

– 7 SAP NetWeaver 7.0

– SAP CRM 5.0

– SAP SCM 5.0

– SAP SRM 7.0

– SAP Content Server

– SAP Solution Manager

– SAP NetWeaver 7.1

Page 7: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

7 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences

John Deere SAP Environment

Application Servers– IBM P series, AIX 6.1

– Windows Server 2003,2008

Databases– DB2 OS390

– DB2 AIX

– Maxdb

117 SIDs

257 Servers/LPARs (Logical Partition)

Page 8: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

•John Deere SAP Environment•Deere SAP Scripting Environment•Introduction to ACC•Preparing for ACC•Initial Configuration •Usage of ACC •Next steps

Page 9: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

9 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences

Deere SAP Scripting Environment

Goals– Automated inventory of SAP and non-SAP components

– Mass Stop/Start of SAP systems

– Dashboard for Availability and basic properties

Results– Scripts that run every 10 minutes on all servers gathering their

configurations and installed components

– Command line scripts to stop/start one or many different sids in parallel

– Dynamic web page showing current status, member servers, locations, instance type and kernel levels

Page 10: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

10 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences

Page 11: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

11 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences

Deere SAP Scripting Environment

Problems– Code has grown complex and supported by myself and one other

person

– Stopping /Starting from the command line is not user friendly

– Only written to work on our AIX servers

Needed features– Easier to schedule and conduct mass stops and starts

– Ability to move instances from one server to another

– Simpler configurations

Page 12: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

•John Deere SAP Environment•Deere SAP Scripting Environment•Introduction to ACC•Preparing for ACC•Initial Configuration •Usage of ACC •Next steps

Page 13: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

© SAP AG 2010. All rights reserved. / Page 13

Use Cases for Adaptive Computing Virtualization

Easy management of SAP System growth:Start with small servers and relocate to bigger ones with growing requirements.

System parking lot:Stop idle SAP Systems and “wake them up” whenever they are needed.

Easy and fast hardware replacement:Easy and fast replacement of servers in the AC landscape.

Mass Operations for hardware maintenance weekend:Shutdown and startup of all systems with a few clicks in the ACC.

Adapt to growing demand during upgrades and conversions:Use the most powerful server for upgrade or conversion procedures.

Schedule operations tasks: Schedule planned SAP system start/stop, and moving systems.

Balance performance peaks: Provide the required performance for dedicated systems.

Relocate SAP systems and instancesAcross physical and virtual servers with AC application virtualization.Real-time migration across servers without downtime.

Page 14: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

© SAP AG 2010. All rights reserved. / Page 14

Application Virtualizationwith Adaptive Computing

Computing(physical and virtual servers)

Adaptive Computing Application Virtualization

SAPApplication

Adaptive Computing Controller

SAP System Management Resource Management Operation Control Mass Operations

SAPApplication

SAPApplication

SAPApplication

IT Infrastructure

Storage Network

Any Service, Any time on Any server operation of SAP systems,

increases flexibility and reduces complexity

dynamic assignment of resources to SAP systems

Page 15: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

© SAP AG 2010. All rights reserved. / Page 15

Adaptive Computing Controller Current Status

Features and Functions SAP System management (start / stop /

relocate application services) Mass operations Relocate virtual machines (with

integrated partner technology) Resource management of physical and

virtual servers Monitoring

Managed Landscape Supports releases from 4.6C (4.6D

Kernel) up to the most current release. Operates on physical and virtual server

technology.

SAP Applications(Coupled with OS, Decoupled from OS)

Page 16: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

© SAP AG 2010. All rights reserved. / Page 16

Adaptive Computing Options

Application

Operating System

Hardware

Server Virtualization

Application Virtualization

SAP Application Decoupled from OSSAP Application Coupled with OS

Without Partner Virtualization Technology

With Partner Virtualization Technology

Application

Operating System

Hardware

Server Virtualization

Single Instance Start / Stop

Mass Operations Start / Stop

Single Instance Start / Stop / Relocate

Mass Operations Start / Stop / Relocate

Single Instance Start / Stop

Mass Operations Start / Stop

VM relocate

Single Instance Start / Stop / Relocate

Mass Operations Start / Stop / Relocate

VM relocate

Application

Operating System

Hardware

Application Virtualization

Application

Operating System

Hardware

Page 17: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

•John Deere SAP Environment•Deere SAP Scripting Environment•Introduction to ACC•Preparing for ACC•Initial Configuration •Usage of ACC •Next steps

Page 18: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

18 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences

Preparing for ACC

Increasing Availability– Moving Central Instances to Standalone Enqueue

Simplifying Application Servers– Moved shared filesystems (sapmnt,trans,etc…) to NetApp NAS filer

– Converting instances to Virtual Hostnames• ABAP systems worked well just modifying profiles and executing a handful

of trans• JAVA systems needed to be done via the export/import process

– Installing SAP Host Agents• Versioning of Host Agent, current release 720.• Many of the systems had been around for a long time, the profiles needed

to be updated and standardized.

Page 19: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

19 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences

Preparing for ACC

Server Layout– Virtual host as IP Alias on primary adapter

– /sapmnt/<SID>, /usr/sap/trans being served by NetApp NFS

– /usr/sap local filesystem on SAN disk

– /home/<sid>adm, automounted from NetApp NFS

– SAP Host Agent installed• Created custom script to restart the Host Agent due to reliability problems• Saposcol doesn’t release shared memory, without running ipcclean

Page 20: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

•John Deere SAP Environment•Deere SAP Scripting Environment•Introduction to ACC•Preparing for ACC•Initial Configuration •Usage of ACC •Next steps

Page 21: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

21 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences

Initial Configuration

ACC Installation– Standard NW 7.2 CE java install, ACC is just an additional application

– Originally started on ACC 7.1, upgraded to 7.2 then 7.3• Configuration is easily exportable as an XML file.

– Didn’t use SLD to load systems

– Initial systems, used the manual system scan

ACC Dashboard– Many systems showing up with problems

• SE or CO processes not running• Errors in profiles• DNS issues with our windows servers

Page 22: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

22 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences

Initial Configuration

Page 23: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

•John Deere SAP Environment•Deere SAP Scripting Environment•Introduction to ACC•Preparing for ACC•Initial Configuration •Usage of ACC •Next steps

Page 24: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

24 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences

Usage of ACC

Mass stops and starts– Detailed logging is available

– Many different people can view this, historical view with logs is good

– Dashboard to verify system availability is a plus

– ACC 7.3 this works much better

Page 25: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

25 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences

Usage of ACCSystem Relocation– Currently in our environment SAN Disk is not accessible on all servers

– Used a common NFS mounted filesystem to sync /usr/sap/<SID>/<instance> when prepared or unprepared

– Would it be better to just to have SAN disk available on all servers?• Simplicity for current operations• Deployment time• AIX Live partition mobility isn’t ready in our environment.

Page 26: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

26 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences

Usage of ACCUser Exits– Very easy to configure

– Created one script, ACCHook.pl that would take a few parameters based on the event called.

– Usage: ACCHook.pl $Event $VirtualHost $Sid $SysNum

User exit events– PreStopInstance Call to custom script Disable 3rd party Monitoring

– PostStartInstance Call to custom script Enable 3rd party Monitoring

– PreRegisterInstanceService Rsync from the network to the local /usr/sap/<SID>/<instance>

– PostUnregisterInstanceService Rsync to the network from the local /usr/sap/<SID>/<instance>

Page 27: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

27 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences

Server A

Moving Dialog Instance

Virtualhostadconf

NFS Mounts/sapmnt/CAD/usr/sap/trans

System Monitoring

SAP Instance

OS390DB2

NetAppNFS Server

/sapmnt/CAD/usr/sap/trans

/basis/ACC/Sync/CAD_aconf

Server B

Virtualhostadconf

NFS Mounts/sapmnt/CAD/usr/sap/trans

System Monitoring

SAP Instance

Sync from Network/usr/sap

Sync to Network/usr/sap

Stop and Unprepare issued to ACC

ACC raises PreStopInstanceACC stops instanceACC raises PostUnregisterInstanceServiceACC Unprepares instance

Start and Prepare on Server B

ACC raises PostStartInstanceACC starts instanceACC raises PreRegisterInstanceServiceACC Prepares instance

Moved CAD from

Server A to Server

B

Move CAD from

Server A to Server

B

Page 28: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

28 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences

High Availability

Deere is using IBM’s HACMP (PowerHA)– Maintain HA clusters for production systems

– Automatic failover of server hardware

– Fault tolerance with redundant network/disk adapters

Current challenges– Complexity of maintaining clusters across servers

– Redundant networks and disk infrastructure

– Training and support problems

– Extra downtime required to maintain, update, and test HACMP

Page 29: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

29 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences

High Availability

– ACC allows for moving an instance

– Failover would be manual, we have a 24x7 operations staff that could do this.

– Simplify configuration• Eliminate the cluster software• Eliminate cluster infrastructure requirement• Standardize across landscapes• Eliminating extra scripting for cluster• Training, documentation, and support.

Is ACC a solution for High Availability?

Page 30: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

•John Deere SAP Environment•Deere SAP Scripting Environment•Introduction to ACC•Preparing for ACC•Initial Configuration •Usage of ACC •Next steps

Page 31: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

31 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences

Next Steps

•Check out automatic system provisioning

•Manage all SAP systems via ACC

•Can ACC replace the Deere Scripting Environment?

•ACC a solution for high availability?

Page 32: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere

32 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences

Questions?

[email protected]

http://www.deere.com

 http://www.sdn.sap.com/irj/sdn/adaptive

http://www.sdn.sap.com/irj/sdn/virtualization

Page 33: 1 SAP NetWeaver Adaptive Computing Controller 7.3 Experiences SAP NetWeaver Adaptive Computing Controller Experiences Tim Arp SAP Architecture John Deere