Top Banner
Architecting Demantra: Learning from GM's Experience By: Jamie Anderson, Infrastructure Architect Sales Planning & Intelligence, GBRD, GM IT May 2015
31

Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

Mar 06, 2018

Download

Documents

ngongoc
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

Architecting Demantra:

Learning from GM's Experience

By: Jamie Anderson, Infrastructure Architect

Sales Planning & Intelligence, GBRD, GM IT

May 2015

Page 2: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

Implementing Demantra without a sizable consulting

budget can be a daunting task, but GM did just that. The list

of decisions is overwhelming: Windows or Linux? Virtual or

physical? How many engines? WebLogic or WebSphere?

How much memory?

Many organizations have either bogged down or given up

before really getting started. Let's take a look at GM's

architecting and sizing process as a reference point from

which others can adopt, add, or subtract to make the

outcome more attainable.

Overview

2

Page 3: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

3

Page 4: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

4

The Situation

Page 5: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

The Situation • GM’s IT transformation (aka Insourcing)

• Probably would have used consultants but couldn’t

• So we hired one!

5

Page 6: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

GM’s Installation • Demantra 12.2.3

• Demand Management (DM)

• Advanced Forecasting and Demand Modelling (AFDM)

• Standalone – no EBS

• Engine runs Batch mode

• Linux

• Multi-tenant

6

Page 7: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

7

Sizing

Page 8: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

Sizing • Sizing Demantra is very different from a transaction based application

• Use the Oracle VCP sizing tool

• Runs on Windows

• Answer a series of questions

• Submits answers via email with an XML file attachment

• See: Replacement of VCP / APS Sizer with Value Chain Planning

(VCP) Reference Sizing Tool (RAS) (Doc ID 1630684.1)

8

Page 9: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

Sizing • Sizing questionnaire:

9

Page 10: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

Sizing • And their response (sizing in bottom right):

10

Page 11: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

Sizing • Sizing is for executing 1 forecast with post-processing

• We were planning to run 4 forecasts over a weekend (48 hours)

• Engine Runtime – our answer was 8 hours

• 4 forecasts * 8 hours each + a few hours margin < 48 hours

11

Page 12: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

12

Architecture

Page 13: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

Demantra Architecture

Source: Oracle 13

Page 14: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

Not Your Typical 3-Tier Application • Unique characteristics of Demantra

• All data is stored at the lowest level of the hierarchy

• Analytical Engines can require large amounts of CPU and RAM

• Application Server is uncharacteristically slim, both in CPU and RAM

• It is not scalable because scale is not needed on this tier

14

Page 15: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

The Servers • Followed GM datacenter standard: Linux and Oracle

• Application Server: Linux VM

• Analytical Engines: Linux physical blades

• Administration: Windows Server

• Database: Oracle 11g

• The physical Linux blades were for performance and . . .

15

Page 16: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

OVM vs VMWare • In this release, VMWare is not officially supported. Please see My

Oracle Support Note 249212.1 for Oracle's policy on VMWare image

support. (installation guide)

• GM runs VMWare – datacenter said no OVM

• Big concern for future support

• Consensus from several sources was that it should not be a problem

• Performance benefits + support concerns = physical servers

16

Page 17: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

J2EE Application Server • Used on both the App Server and the Analytical Engine

• GM standard was WebLogic 11g at the time

• Any supported version – stay with your company’s standard

17

Page 18: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

Analytical Engine and JDK • Demantra requires 32-bit

• GM Datacenter only provides 64-bit WebLogic

• Workaround:

• Install 32-bit JDK

• Convert WebLogic to 32-bit

18

Page 19: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

Database • Oracle 11g per GM standard

• GM database team provided space on their RAC

19

Page 20: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

20

Reporting

Page 21: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

Reporting • Demantra is not a reporting tool

• We extract the forecast to a CSV

• Email to planners

• Future project will address reporting

21

Page 22: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

22

Learnings

Page 23: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

Learnings - Tablespaces • Installer asks for 7 tablespaces

• Ignores 5 of them

• Could impact performance

• Certainly wastes space

• Performance issues? Move the DB objects to different tablespaces

23

Page 24: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

Learnings - Data • How reliable and clean is your data source?

• This was our biggest issue by a factor of 10

• Double you data sourcing timeline and resources!

24

Page 25: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

25

Status

Page 26: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

Status • Went live in Q4

• Monthly cadence with 2 scheduled forecast runs each month

• Going well

26

Page 27: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

Status – Operational Issues • Have submitted 2 SRs

• DB objects become invalid

• DBA cleared SGA, recompiled stored procedures

• Engine hangs

• Reboot the Engine server

27

Page 28: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

28

Future

Page 29: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

Future • Add causal factors

• Upgrade to Demantra 12.2.4

• WebLogic 12c

• 64-bit JDK

• Oracle Database 12c

29

Page 30: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

30

GM is HIRING!

careers.gm.com

Page 31: Architecting Demantra: Learning from GM's Experienceatloaug.communities.oaug.org/multisites/atloaug/media/Documents/... · Implementing Demantra without a sizable consulting budget

31

Thank you!