Want to know The Truth About CPM?
Showing posts with label 64 bit. Show all posts
Showing posts with label 64 bit. Show all posts

24 October 2011

AWS tricks #1 -- How to get rid of terminated volumes

Introduction

I spent this weekend figuring out how to install ODI 11.1.1.5 using SQL Server 2008 not Oracle 11g as the database back end and I now know two things:

  1. I really ought to be doing this on Oracle instead of SQL Server as all of the blogs seem to cover the settings for Oracle.  I find it interesting that the 10.1.3.x blog posts seemed to be oriented around SQL Server and 11.1.1.x around Oracle.  However, as my environment was SQL Server, not Oracle, I was stuck with figuring it out.
  2. I am not very good at installations.   This may not come as a shock to anyone, especially me.  :)

In an upcoming blog post, once I am convinced that I have everything working tickety-boo, I will document the settings and required downloads to make ODI and ODI Studio work in a 64-bit Windows server context.

Putting aside the additional grey hairs and general agita installing ODI caused me, this exercise got me back into the Amazon Web Services (AWS) cloud and that was a life-saver.  Just like a virtual machine, I could spin up as many instances of the server as I needed to blunder my way through the install and could snapshot it when I had something halfway working.  Unlike a virtual machine running on my laptop, I had 17+ gigabytes of RAM, super-fast networking (you haven’t lived till you switch from DSL to whatever AWS runs – I was getting 39 megabit per second downloads from Oracle’s website), and real server power.  

However, as I was looking at my AWS account, I saw that I had a bunch of AMIs, snapshots, and volumes that I couldn’t really account for.  Oh, I created them all right, but I hadn’t used them in ages and I was getting billed each month for them.  A mass culling ensued but it occurred to me that this is  a good time for some basic definitions.

AWS definitions

One of the (many) things that confuse me about AWS is the concept of “volumes”.  Simply put, a volume is a hard drive.  

Then there are these things called “snapshots”.  Snapshots in AWS’ Elastic Block Storage (EBS) world are just what they sound like – snapshots of volumes that you can restore back to at any time.

It is very important to note that the hard drive of an Amazon Machine Image (AMI) (a predefined server you can start) is ephemeral, i.e., your laptop’s hard drive this is not – when the instance is killed, the hard drive is gone.  It’s very easy to blow away all of your work if you don’t understand how AWS treats volumes.

This post will cover what a volume is, and how, when, and why you would get rid of a volume (you get charged for each one) as they have a way of piling up when least expected.

What’s ephemeral, and what’s not

A really good explanation of AWS’ drive ephemerality can be found here:  http://shlomoswidler.com/2009/07/ec2-instance-life-cycle.html.  If you cannot be bothered to jump to a well written blog, the gist is that EBS-backed instances have volumes that persist as long as the instance is not terminated.  

And how does that affect you?

Well, when you stop an instance (Stopping an instance is akin to powering down a server) the volume is still extant.  It makes sense (to me at least) that a volume hangs around when a server instance is stopped.

When you terminate (Terminating an instance is like you shut down the server, ripped it out of your data center, and naively took it to a recycling center which then had the hardware shipped tout de suite to Liberia for completely unsafe disposal.) an instance, there is a chance the volume will still hang around.  But why is it still there when an instance is terminated?  Doesn’t that destruction of the instance sort of imply that the hard drive volume should be trashed as well?

Remember, if you started your stopped instance back up, whatever changes you made to your boot drive are still there.  

But what about the volume that is the product of a terminated instance?  If you reattached it to a new instance, are your changes there?  Nope, all of the changes you made are gone.

An example

Let’s pretend that you fired up John Booth’s EPM 11.1.2.1 AMI (go to http://www.metavero.com), did cool stuff, and then terminated the instance.  Guess what – that C: drive is still around, and you’re getting billed for it.

Not deleted till it’s detached

Here’s what the web console to my AWS account looks like with four volumes attached to stopped instances and one 100 gigabyte volume from a terminated server instance.  
What is that volume doing there?  Did I really terminate that instance?  

As I wrote, I’m being charged (not very much, but still) for storing that 100 gigabytes.  I want to make that unloved hard drive go away.

It’s dead, Jim

That instance is deader than dead.  That drive volume is in AWS purgatory.

What’s going on?

That volume is going to hang around till you delete it.

Why?  A little searching of the tells us that the AMI must be set up to delete the volume on termination.  If it’s not, then the volume must be manually deleted.

NB – A future blog post on launching an AMI from a command prompt will explain how to launch an AMI with that parameter; if the AMI has been set up to not delete the volume on termination, you must manually delete the volume as shown below.

How to delete a volume

Luckily, this is an easy process.  Simply right click on the available volume and select “Delete Volume”.


You get one more chance to change your mind.


AWS will take a short time to delete the volume:

If you get impatient (it can take a while to delete a volume and the bigger the virtual drive, the slower the delete), you can click on the Refresh button to see the current status.

Until the volume is finally gone.

Conclusion

If the AMI is not set up to delete the volume on termination, you must do so manually, or modify the AMI via the command line interface to delete upon termination.

Set up your AMIs to delete volumes on termination or remember to check and delete available volumes – remember, you are being charged to store drives you no longer use.


28 August 2011

More cool free stuff from Oracle -- Essbase advisors

Introduction

Can anyone picture me as Hannibal Smith, late of the A-Team?  No?  Why ever not?  I do so love it when a plan comes together.  

What’s the Plan, Stan?  Unless you are a New Zealander, that link isn’t going to be terribly helpful.

Nope, the plan is to have people (you know who you are, and thanks) send me material for this blog so I don’t have to strain my brain trying to come up with interesting content.  And oh, this one is interesting.

More cool free (so long as you are a customer or partner) stuff from Oracle #3

Oracle Support has always had a lot of good Essbase information buried in its vaults – knowledge base articles that:  highlight the most common and popular product questions, list resources, illustrate good practices, highlight troubleshooting tips, cover the seemingly never ending installation and configuration issues that clog up OTN and Network54, review upgrade steps, figure out what release of what works with what, and generally advise on how to get the most out of Essbase.  It’s all in there, but scattered amongst many documents.

The solution

Oracle has brought all of the above into a new document, Overview Advisor: Oracle Hyperion Essbase [ID 1344571.2].

This is pretty awesome stuff, as that advisor, in addition to its great information also links to:

No more complaints about not being able to find cool Essbase information in a central location, right?

Let’s sample just one of the links

There’s way too much good information going on here for me to try more than one – and get this – the content changes as new information comes in so any attempt by me to list it all would be quickly out of date.  

Regardless, to give you a flavor of this, I’m going to cover the articles by topic in just the Troubleshoot Advisor.

Troubleshoot Notes


Problem Solution Documents


Reference Articles


Diagnostics


Popular Solution Documents


Troubleshoot Community



The above is approximately 15% of the content available in the Essbase Advisor.  That yearly maintenance fee doesn’t seem so bad now, does it?  :)  

Conclusion

We really owe the folks at Support a big thank you for this – they’ve identified the most important and popular links and brought them all together in one spot.  That means you spend more time learning and solving problems and less time searching.  What’s not to love?  I can hardly wait for the Planning and ODI advisors.

08 February 2011

A great deal for ODTUG members

A great deal for ODTUG members

Those of you who follow the insane rambling that is this Essbase blog (my mother reads it because I nag her about it and Glenn does it because he loves to heckle me and correct my manifold technical errors before I corrupt the world) know that I had a fun old time trying to run Oracle EPM 11.1.2 on my what-I-thought-was-quite-the-powerful-laptop.  Unfortunately, that dream assumed room temperature some time ago.

I ended up going with Full360 as they have the most complete Oracle EPM 11.1.2 product and their pricing model seemed to work best for me.

And now the deal gets better

I’ve been paying $99/month for the EPM 11.1.2 stack (I am a loyal ODTUG individual member so I get this low price) plus all of my Amazon Web Services costs.  It’s about $150/month and some of you may choke on that but if I were to compare it to buying that $14,000 laptop it really doesn’t seem bad at all.

But you don’t have to spend the way I do, and actually, even I don’t have to the way I do (huh?).  I am in the silent and vocal majority that likes to lower costs, and I suspect you are too.

Full360 has a limited time offer that will lower your monthly cost to…nothing.  

How do I (and you) save $350?

This is so easy.
  1. Contact Full360 via the web or on email
  2. Sign up for Amazon Web Services at http://aws.amazon.com.  Yes, that same id that you use to buy those awesome Tintin books can get you into the cloud and into 11.1.2 lickety-split.
  3. Use this great tutorial to get your feet wet.
  4. Pay a one-time setup fee of $49.99 and then until 30 May 2011, pay Full360 exactly…nothing.

Even I can do the math

My current Full360 charges

Number of months between February to May = 4
Current monthly cost = $99
Full360 charges = 4 * $99 = $396

And the future

Number of months between February to May = 4
Current monthly cost = $0
One time set up fee = $49.99
Full360 charges = (4 * $0) + $49.99  = $49.99

When I do the math, that’s $396 - $49.99 = $346.01.  Okay, I rounded up, but that’s still a lot of dosh and a pretty penny all at the same time.

What are you waiting for?

An invitation from the Queen?  You’ve got an invitation from a geek (that would be me, HRH is unfortunately unlikely to request and require your participation).  Go for it and dive deep into the goodness that is Oracle EPM 11.1.2.  The price and effort level is low.  What are you waiting for?

Shameless plug

And oh yes, come to my presentation at ODTUG Kaleidoscope 2011 at Long Beach.  Rohit Amarnath of Full360 and I will walk you through the awesomeness that is EPM in the cloud if you haven’t already figured it out thanks to this great deal.

13 July 2010

Mortal man can do it

Install 11.1.2 that is.

Introduction

This is thankfully going to be a relatively short one, both for you and for me, as I’m busy working on other (hopefully) cool things to blog about.  Dodeca is coming back as are a series of Planning posts.

 

This is not a post on how to install EPM 11.1.2 as John Goodwin (and others) took care of that.  Nor am I going to review all of the good things 11.1.2 brings to Essbase geeks, as it’s been more than adequately covered here, and here, and here, and goodness knows how many other places.  Besides, you all went to ODTUG Kaleidoscope 2010 and know all of this already.

 

What follows is just my general impression of the 11.1.2 install from a non-infrastructure consultant’s perspective and a few tips and tricks I picked up along the way.

The last one just about killed me

I had sort of a love/hate relationship with my just-on-my-laptop VM 11.1.1.3 installation.  I don’t know if I was having the mental block of the ages, was plain stupid, or just unlucky, but that install was hellacious, especially getting EPMA to work.  I probably reinstalled that product eight or nine times.  If VM Ware didn’t have a snapshot feature for me to restore to a clean pre-install view of the VM, I’d likely still be installing 11.1.1.3.

Heavy Lifting

Well, the 11.1.2 install is still big.  The install footprint of 32-bit Foundation, Essbase, Planning, ERPi, Financial Data Quality Management, Financial Reports, and Hyperion Profitability and Cost Management is 8.37 gigabytes.  All I can say is downloading the install files on my meager DSL line took a looooong time.

 

But we like big in America, right?  (Some day I will bore you all with my housewares-are-built-for-aircraft-carries-but-alas-I-live-in-a-submarine analogy about old urban houses, but not today.  Lucky you.)  So big is in, big is bold, and as far as Oracle EPM is concerned, big is here to stay.

 

Memory requirements are big as well.  11.1.2 uses significantly more than 11.1.1.3.  Where the four gigabytes available to Windows 2003 Standard Edition 32 bit was more than adequate for 11.1.1.3, it isn’t really for 11.1.2.  It’s time to move on up to Enterprise Edition, or in my case, a 64 bit version of Windows 2008 Standard Edition.  I didn’t use the 64 bit OS for this first install, but for all of you consultants (no one puts everything onto a single box in the real world, right?) out there with 32 bit machines – ask not for whom the bell tolls, it tolls for your x86 box.

My “full stack” on 11.1.1.3

11.1.1.3 free memory

My “full stack” on 11.1.2

11.1.2 free memory

Quite a difference there.  Oh well, 64 bit is the future anyway.

Didn’t hurt a bit

Keeping memory considerations in mind, here’s the really important thing – after the tedium of expanding and combining the 11.1.2 installation files into a single directory, the installation was painless with the exception of two issues.

One tiny snag

After installation was complete, I ran the EPM Configurator.  It all worked (slowly, but hey, this is a VM) without a hitch, with the exception of one thing – ERPi.  My VM is Windows Server 2008 SP2 and SQL Server 2008.  The configurator threw an error when it got to ERPi as that only works with Oracle’s own database.  (What, they make something other than the world’s most awesome EPM stack?  Apparently, there’s this product called Oracle 11g.  Who knew?)  That is a change from 11.1.1.3 – ERPi worked just fine with SQL Server 2005.  So, for the time being at least, ERPi isn’t on this box.  Maybe later.

One other snag, not so tiny

If this one is in the documentation, I couldn’t find it.  It’s valid at least for SQL Server installations and if you want EPMA to run, it will behoove you to read on. 

 

I used one great big single database for everything – remember what I wrote about real world considerations not exactly entering into my install?  This is just for testing/education purposes so please don’t use my example as the way to properly install Oracle EPM 11.1.2.

 

Having stated that caveat, when I tried to run EPMA, I got a lulu of an Event Viewer error message, telling me that my SQL Server 2008 database needed to be in ALLOW_SNAPSHOT_ISOLATION and READ_COMMITTED_SNAPSHOT mode.

 

I have read around and am slightly alarmed by the comments here and here about what happens when these settings are turned on.  However, my actual usage will be pretty light and if things get too slow, I’ll reevaluate the settings.  This is probably not a great approach in your real world settings.  I will also caution that I am fairly SQL-stupid, so this may not be a big deal.

 

Using the all-in-one database HYP_EPM, here’s the SQL query I had to run to apply the settings:

ALTER DATABASE HYP_EPM

SET ALLOW_SNAPSHOT_ISOLATION ON

 

ALTER DATABASE HYP_EPM

SET READ_COMMITTED_SNAPSHOT ON

 

VM Ware came to the rescue again, as I had oh-so-cleverly created a VM Snapshot of the bare OS.  Having reverted to that, recreating the HYP_EPM database, and then running the above query, the install (and EPMA) worked, so I’m keeping my fingers crossed on this setting not having any really bad impact. 

 

You can read people who actually have a clue about installations discussing this very subject in this thread on OTN, so it wasn’t just happenstance that I decided to go down this route.

Errata

The word “Hyperion” is almost gone.  It’s not in the directory path.  It’s not in Windows’ Start Menu.  It is however, amusingly the name of the configurator utility. 

Eh, I always preferred Arbor Software anyway, and yes, ARBORPATH lives.

Look Ma, no cavities!

As this is a testing environment only (my VM, that is), I had no fears about installing all of the components into a single SQL Server databaseAnd that’s it – it installed and configured on the first second go round.  Who’d a thunk it?  Maybe you all had unalloyed success with 11.1.1.3, but that wasn’t my experience. 

Service startup

11.1.1.3 had a service startup script, sort of, that never really worked; 11.1.2 has one and it works.  No more trying different start orders, or reading the official order and knowing that it doesn’t really work for you, or casting the chicken bones to figure out how to get the services running.  Someone at Oracle heard the huddled masses yearning to breathe free and cut The Gordian Knot of service startup with this service start script.  (I hope there’s some sort of award for mixing metaphors, ‘cause I think I have at least a shot at honorable mention with that last sentence.) 

 

Why do I get these warm and fuzzy feelings about Oracle?  They just get it in a way Hyperion never did.  What’s really weird is that so many of the players are the same – what on earth was holding them back?  No matter, Oracle has set them free and we all benefit from it.

Conclusion

  • Oracle EPM 11.1.2 is resource intensive.  Now would be a good time for us my-world-is-on-my-laptop tinkerers to go 64 bit.  I am downloading the 64 bit binaries as I type.
  • At least on SQL Server installations, the EPMA relational data store needs ALLOW_SNAPSHOT_ISOLATION and READ_COMMITTED_SNAPSHOT set to ON.
  • A plain Jane install on a single Windows 2008 Server box can be accomplished by mere mortals, like Yr. Obdt. Srvnt.  I have no idea what it’s like to install in a distributed environment. 

 

Once installed, you’re off to the cool new stuff in Planning and especially those ASO allocations through Calc Manager and MaxL.

 

Happy Essbase hacking until next time.