Upload
others
View
11
Download
0
Embed Size (px)
Citation preview
Getting Started with Oracle Data Mining on the Cloud
A step-by-step graphical guide to launching and connecting to the Oracle Data Mining
Amazon Machine Image (AMI)version 0.86
© 2010 Oracle – All Rights Reserved
How to use this guide…
• This guide is intended to be more pictorial than textual.
• Screen captures of the various tool interfaces you need to use have been annotated with numbered steps , highlighted areas , and occasional guiding text.
• For textual descriptions, see the ODM on the Cloud Detail webpage.
1
2© 2010 Oracle – All Rights Reserved
Before you start…
• Download and install
– PuTTYgen and PuTTYDownload All
– Oracle Data Miner Classic GUI for 11gDownloadInstallation Instructions
• Connecting to the cloud
– Connecting the first time requires some setup
– Connecting subsequently is very easy (see slides 33 and 34)
3© 2010 Oracle – All Rights Reserved
1
Create an AWS Accounthttp://aws.amazon.com/ec2
4© 2010 Oracle – All Rights Reserved
1
Sign in to the AWS Management Console
5© 2010 Oracle – All Rights Reserved
1
Create and Download a Key Pair
© 2010 Oracle – All Rights Reserved6
© 2010 Oracle – All Rights Reserved7
1
2
3
© 2010 Oracle – All Rights Reserved8
1-save use in PuTTYgen(see default download folder)
2
1
3-select the key pair .pem file created from AWS
4
Open PuTTYgen
2-select All Files
9© 2010 Oracle – All Rights Reserved
© 2010 Oracle – All Rights Reserved10
2
1
43
5-exit
1
Restrict Access to Your Instance
11© 2010 Oracle – All Rights Reserved
Create a Security Group
© 2010 Oracle – All Rights Reserved12
1
2
3
© 2010 Oracle – All Rights Reserved13
1-populate fields with SSH, TCP, 22, 22, your IP or group
2-click save
Note: your host IP address can be
found via http://whatismyip.com/
Minimally, specify <IP address>/0
© 2010 Oracle – All Rights Reserved14
1-create a second row, populating fields with SSH, TCP, 1521, 1521, your IP or group
2-click save
1
Launch the ODM AMI Instance
15© 2010 Oracle – All Rights Reserved
1
2
3
Look up the ODM AMI named “ami-117b9778”
16© 2010 Oracle – All Rights Reserved
Note: It may take up to 30 seconds or more
for the search to complete.
1
17© 2010 Oracle – All Rights Reserved
1
18© 2010 Oracle – All Rights Reserved
2
1-select your key pair
19© 2010 Oracle – All Rights Reserved
20© 2010 Oracle – All Rights Reserved
2
1-select your security group
1
21© 2010 Oracle – All Rights Reserved
Note: It will take several minutes
for the AMI instance to be
in the running state.
1-click to refresh
2-click to show details
22© 2010 Oracle – All Rights Reserved
1-copy this hostname for PuTTY
Copy the Instance Public DNS
23© 2010 Oracle – All Rights Reserved
1-paste Public DNS from AWS
2-provide a name 3
4 5
6-select .ppk file created from PuTTYgen
Open PuTTY
7
24
Note: The following
steps are required
whether you are
inside or outside
a firewall.
This step is needed only if inside a firewall
© 2010 Oracle – All Rights Reserved25
1
2
3-specify your proxy server
1
2
3
4
5-login as root
26© 2010 Oracle – All Rights Reserved
23
45
1
27© 2010 Oracle – All Rights Reserved
67
If you are inside a firewall…
• You may require tunneling to allow Oracle Data Miner to connect to the database instance
• The following steps enable tunneling
• IMPORTANT: If you are outside a firewall, you do not need to keep the PuTTY window open to access your AMI instance using Oracle Data Miner. If you are inside a firewall, you must keep the PuTTY window open to access your AMI instance using Oracle Data Miner.
28© 2010 Oracle – All Rights Reserved
1-type ifconfig2-copy inet address for PuTTY tunnels specification
8-specify an open port
9-paste inet addrand add “:1521”
10
4-Open PuTTY
6
3-exit
75-select name of saved session
29Note: Remember the port number specified
in 8 above for connecting to Oracle Data Miner
© 2010 Oracle – All Rights Reserved30
1
2
3
4-login as root
Note: When within a firewall, you must keep this PuTTY
window open for the duration of your connection
to the AMI instance.
Open Oracle Data Miner ClassicWindows: <odminer folder>/bin/odminerw.exeMacOS: cd <odminer folder>/bin (from terminal window)
chmod +x odminer./odminer &
1-choose a previously created connection, or click New…
31© 2010 Oracle – All Rights Reserved
1-assign a connection name
2-specify user dmuser and password dmuser
3-if inside a firewall specify host as localhost with port, e.g., 6000, otherwise, specify host as the Public DNS with port 1521
4-specify SID as ‘odmdb’
5
6
32© 2010 Oracle – All Rights Reserved
Note: On Mac OS, to be able to cut and paste content, e.g., Public DNS in host field,
select menu ToolsPreferences. Click tab Environment and
set Look and Feel to OS Default. Restart Oracle Data Miner.
You’ve arrived. Start mining…
33© 2010 Oracle – All Rights Reserved
Connecting the second time…outside the firewall
© 2010 Oracle – All Rights Reserved34
1-choose previously created connection
Open Oracle Data Miner Classic
2
…that’s it!
Connecting the second time…inside the firewall
© 2010 Oracle – All Rights Reserved35
1-Open PuTTY
3
2-select name of saved session
4
5-login as root
Note: When within a firewall, you must keep this PuTTY
window open for the duration of your connection
to the AMI instance.
6-Open Oracle Data Mineras before
To Shutdown Your AMI Instance
1
36© 2010 Oracle – All Rights Reserved
1-right click the instance row
37© 2010 Oracle – All Rights Reserved
Note: When you terminate an instance, all user
work is wiped out. Starting a new AMI instance
provides a clean environment.
Notes
In Oracle Data Miner,this error message may mean tunnelingis either not configured or configured incorrectly
38© 2010 Oracle – All Rights Reserved
To access the database via SQLPLUS
© 2010 Oracle – All Rights Reserved39
1-login as root
2- login as “oracle” using su - oracle
3-login to the dmuser schemasqlplus dmuser/dmuser
© 2010 Oracle – All Rights Reserved40