Escolar Documentos
Profissional Documentos
Cultura Documentos
Overview
Section 1: Pricing and Licensing Section 2: Getting Started with AWS Section 3: Installing Oracle Section 4: Secure Backup
Amazon Web Services (AWS) Overview Pricing of relevant AWS Services Oracle Licensing and Support Oracle Secure Backup Cloud Module
Amazon Elastic Compute Cloud (EC2) Amazon Simple Storage Service (S3) Amazon Cloud Front Amazon SimpleDB Amazon Simple Queue Service (SQS) Amazon Elastic MapReduce
On Demand, Reserved 1 Year, 3 Years Small Large XLarge $0.10/hr, $325/yr ($0.03/hr),$500/3yr $0.40/hr, $1300/yr($0.12/hr),$2000/3yr $0.80/hr, $2600/yr($0.24/hr),$4000/3yr
Medium XLarge
Elastic IP
Public, Static IP IP Map/Re-map > 100/month $0.10 each $0.01 non-attached per hour $0.10 GB/month provisioned $0.10 per 1MM/month I/O requests $0.15 GB/month $0.01 per 1,000 PUT requests (when saving a snapshot) $0.01 per 10,000 GET requests (when loading a snapshot)
EBS Snapshots to S3
$0.15GB/Month < 50TB $0.14GB/Month > 50TB, < 400TB $0.13GB/Month > 400TB, < 500TB $0.12GB/Month > 500TB
Data Transfer
Requests
$0.01 per 1,000 PUT, COPY, POST or LIST request DELETES are free $0.01 per 10,000 GET and all other requests Device Handling $80.00 each Data loading $2.49 per hr (hourly increment)
AWS Import/Export
Device Handling $80.00 each Data loading $2.49 per hr (hourly increment) http://aws.amazon.com/importexport/ Calculator: http://awsimportexport.s3.amazonaws.com/awsimport-export-calculator.html
10
Data Transfer:
Regions: US, EU Sub-region (zone) Free within zones on private IP Elastic IP or Public IP outside AWS, regional charges
11
Existing or New License http://www.oracle.com/corporate/pricing/cloudlicensing.pdf Cost of AMI Pre-built Oracle AMI (11g) Roll your own AMI
12
Virtualization Support AWS Database Support Oracle Secure Backup Cloud Module http://www.oracle.com/technology/tech/cloud/fa q.html#support No RAC
13
Backups to S3 via. RMAN 9i R2 and higher Pre-installed on Oracle AMIs EC2 and non-EC2 databases Requires S3 and OTN accounts Integrated with Enterprise Manager
14
15
6.
7. 8. 9.
AWS account AWS EC2 Console EC2 Security Groups EC2 Key Pairs EC2 Amazon Machine Images (AMIs) EC2 Elastic IP EC2 EBS Volumes EC2 Snapshots Using EC2 Command Line tools
Oracle on EC2, NoCOUG Aug 20th 2009
16
17
18
Security Groups Key Pairs AMIs Instances Elastic IPs EBS Volumes EBS Snapshots
19
20
21
22
23
24
25
Only one opportunity Make a copy Make another offline copy Cannot be retrieved or restored PEM?
26
27
28
29
30
31
32
33
34
ec2-bundle-instance ec2-confirm-product-instance ec2-describe-instances ec2-describe-reserved-instances ec2-describe-reserved-instances-offerings ec2-monitor-instances ec2-purchase-reserved-instances-offering ec2-reboot-instances ec2-run-instances ec2-terminate-instances ec2-unmonitor-instances
35
Static IP tied to account Assign to any account instance Unassigned is more expensive Redirect failed services Scriptable command line tools:
36
37
38
39
40
41
Persistent Storage Pick zone and region Assign to an instance within a zone Scriptable command line tools:
42
43
44
45
46
47
48
Copy of EBS Volume into S3 S3 replicates snapshots across zones Snapshots restorable in any zone Snapshots used to copy EBS volumes within zones Scriptable command line tools:
49
50
51
52
Requires at least Java 5 runtime SSH Acces for Linux (Putty for Windows SSH) RDC for windows (not covered) AWS -> Resources Developer tools EC2API tools (ec2-api-tools.zip) Setup ENV variables:
JAVA_HOME EC2_HOME is path to unzipped files EC2_PRIVATE_KEY (PEM file path) EC2_CERT (your X.509 cert file path)
53
54
55
PEM file is private key First connection SSH as root Linux SSH command line connect using PEM file
ssh -i <PEM_file> root@<ip_address> PuttyGen to load and convert PEM file Save Windows equivalent Private Key file Create Session in Putty using new Private Key file for authentication
56
57
58
59
Create Filesystems
mkdir /m1 mount /dev/sdf1 /m1; chown R oracle:dba /m1 /dev/sdf1 /m1 ext3 defaults 1 1
60
61
62
http://ocpdba.net/dbcreate/index.html (10g)
63
DB Creation scripts Admin scripts DB files (init.ora, spfile, broker files, etc.)
Symlinks from /admin/<dbname>/<file> to Oracle software home EBS volume snapshot used for new DB hosts
64
Allow only SSH port to be open in Security Group Tunnel SQL*Net across SSH outside the cloud If opened, restrict listener port to fixed IPs
65
/admin EBS Snapshot cloneable to new Instances EBS volume snapshots (cold db) used for new db cloning of database files
66
CPU & Memory fixed Within the cloud fastest for I/O I/O can be scaled
67
68
OSB Pre-requisites OSB Setup OSB RMAN Integration OSB Performance RMAN / OSB / S3 Use cases
69
/home/oracle/scripts/osbws/osbws_install.jar
70
71
Required
AWS account access key ID AWS account secret access key OTN Credentials for download Stores credentials for use Location for platform specific download (RMAN SBT library)
configFile
Default: $ORA_HOME/dbs/osbsws<ORACLE_SID>.ora
72
73
74
RMAN SBT Parms configuration Installed to libDir parameter in installation RMAN Command:
RMAN> configure channel device type sbt parms SBT_LIBRARY=/admin/osbws/sofware/libosbws11.so ENV=(OSB_WS_PFILE=/admin/osbws/osb_config.dat) ;
75
11g Multiple RMAN Channels 11g datafiles can be backed up across multiple channels 11g Fast Backup Compression RMAN block change tracking
76
77
Thank You