Monday, September 7, 2009

Cloud Computing &Oracle -2

Cloud Backup Benefits
---------------------

Oracle’s Cloud backup functionality provides the following advantages over
traditional tape-based offsite backups:
Continuous Accessibility, Faster Restores: Backups stored in the
Cloud are always accessible – much in the same way local disk backups
are. As such, there is no need to call anyone, and no need to ship or load
tapes before a restore can be performed. Administrators can initiate
restore operations using their standard tools (Enterprise Manager, scripts,
etc.) just as if the offsite backup was stored locally. This can help make
restores faster and reduce down time from days to hours/minutes in many
cases.

Better Reliability: Storage Clouds are disk based and thus inherently
more reliable than tapes. Additionally, the Cloud vendors typically keep
multiple redundant copies of data for availability and scalability purposes.
reduction in backup size is directly realized as an increase in backup performance.
Unlimited Scaling and No Up-front Capital Expense: The Cloud
provides virtually unlimited capacity with no up-front capital expenditure.
Consequently, users need not worry about provisioning adequate tapes or
local storage to hold the required backup data. The Cloud scales seamlessly
and users pay only for what they use, when they use it.

Reduced Tape Backup and Offsite Storage Cost: Since Cloud backup
reduces or eliminates the need for tapes, this can lead to significant savings
in tape backup software licensing/support and offsite tape storage costs.
Quick Provisioning of Test and Dev Environments: As Cloud
Backups are accessible from anywhere via the Internet, they can be used to
quickly clone databases to create custom test, dev, or QA environments.
For instance, Cloud Backups stored in Amazon S3 can be cloned to
machines running in Amazon EC2 by running a simple script that is
included in the Oracle-provided Amazon Machine Images (AMIs). An
AMI is a virtual machine image that allows quick provisioning of a preinstalled
and pre-configured Oracle database environment on Amazon
EC2.

Cloud Computing &Oracle -1

Complete Data Security and Privacy with Built-In Encryption
---------------------------------------------------------------
Oracle Secure Backup provides the ability to encrypt backups to ensure data
security and privacy.While most Storage
Cloud vendors provide robust security to ensure that only authorized users can
access data, Oracle Secure Backup’s ability to encrypt data at its source

Intelligent, Network-Optimized Backup

----------------------------------------
Network bandwidth consumption and the time required to complete backups can
be another major concern while backing up databases to the Cloud, over the public
Internet.Intelligent, Network-Optimized Backup
Network bandwidth consumption and the time required to complete backups can
be another major concern while backing up databases to the Cloud, over the public
Internet. The Oracle Secure Backup Cloud module features a rich set of capabilities
to intelligently minimize the volume of backup data and also to compress backups.

Oracle Secure Backup is tightly integrated with the Oracle Database engine, Oracle Secure Backup can identify unused space (blocks) within the database and skip backing it up. Since database administrators typically allocate more space than they actually use, to provide headroom for future growth, this can lead to a substantial reduction in both backup size and time.

Additionally, starting with Oracle Database 11g,
Oracle Secure Backup can also eliminate committed undo data from backup by
identifying and backing up only the “active” undo data (i.e. undo data related to
transactions in progress at the time of backup). Database undo sizes typically range
from 10 to 100s of GB and this optimization can also lead to significant
improvements in backup performance.
It is important to note that both unused space and undo data backup optimization
are unique features of Oracle Secure Backup and are not available with any other
backup product.



With Oracle Secure Backup Cloud module, users can also utilize RMAN’s rich
compression capabilities. This includes the Oracle Database 11g Fast Compressed
Backup feature, which normally requires the Advanced Compression option.cost. Compression typically results in a 50% reduction in backup size.
When transmitting backups over slower networks, such as the public internet,any

 

 -------------------

Cloud Computing &Oracle

• Oracle software can now be licensed for the Cloud
– Amazon EC2 supported today
• Database, Middleware, Grid Control
– EE: Each virtual core counted as a physical x86 core (EE)
– SE/SE1 license based on the EC2 instance size
• 0-4 virtual cores = 1 processor (socket)
• >4 virtual cores = each 4 virtual core counted as a
processor (socket)
• Oracle Enterprise Linux
– Each EC2 instance is counted as a “System”
• Can buy new licenses or use existing ones
• Customers with ULAs can use EC2 without any
additional license

Deploying Oracle Software in the Cloud
--------------------------------------
• Pre-configured virtual machine images (AMIs) available for EC2
• Consists of Oracle Enterprise Linux + Oracle DB + APEX
– No RAC support currently (EC2 does not support clusters)
• Fully configured hardware and Oracle environment in less than 30 minutes

Oracle Secure Backup Cloud
--------------------------
Using the newly introduced Oracle Secure Backup
Cloud module, it is now possible to send local disk backups directly to the Storage
Cloud for offsite storage purposes. The Cloud backup module is a part of the
Oracle Secure Backup product family. Oracle Secure Backup is Oracle’s next generation
tape backup management solution and it now provides customers the
flexibility to back up data to either tape or the Cloud.

The Oracle Secure Backup Cloud module can also be used to stream backups
directly to the Cloud. This is particularly useful when the database is also running in the Cloud, using services such as Amazon Elastic Compute Cloud (EC2).

The Oracle Secure Backup Cloud module is implemented using the Oracle
Recovery Manager (RMAN) SBT interface. The SBT interface allows external
backup to be seamlessly integrated with RMAN. Consequently, the Oracle
Secure Backup Cloud module can be used to back up all supported versions of
Oracle Database i.e. Oracle Database 9i Release 2 or higher. In addition, database
administrators can continue to use their existing backup tools – Enterprise
Manager, scripts, etc. – to perform Cloud backups.



Oracle Secure Backup Cloud module is currently available for Linux and Windows
(32-bit only) platforms.

Cloud Computing & Amazon -3

Amazon Simple-Db is a web service providing the core database functions of data indexing and querying in the cloud.

Build your data set

* Use CreateDomain, DeleteDomain, ListDomains, DomainMetadata to create and manage query domains
* Use Put, Batch Put, & Delete to create and manage the data set within each query domain

Retrieve your data

* Use GetAttributes to retrieve a specific item
* Use Select to query your data set for items that meet specified criteria

API Summary


Amazon SimpleDB provides a small number of simple API calls which implement writing, indexing and querying data. The interface and feature set are intentionally focused on core functionality, providing a basic API for developers to build upon and making the service easy to learn and simple to use.

* CreateDomain — Create a domain that contains your dataset.
* DeleteDomain — Delete a domain.
* ListDomains — List all domains.
* DomainMetadata — Retrieve information about creation time for the domain, storage information both as counts of item names and attributes, as well as total size in bytes.
* PutAttributes — Add or update an item and its attributes, or add attribute-value pairs to items that exist already. Items are automatically indexed as they are received.
* BatchPutAttributes — For greater overall throughput of bulk writes, perform up to 25 PutAttribute operations in a single call.
* DeleteAttributes — Delete an item, an attribute, or an attribute value.
* GetAttributes — Retrieve an item and all or a subset of its attributes and values.
* Select — Query the data set in the familiar, “select target from domain_name where query_expression” syntax. Supported value tests are: =, !=, <, > <=, >=, like, not like, between, is null, is not null, and every (). Example: select * from mydomain where every(keyword) = ‘Book’. Order results using the SORT operator, and count items that meet the condition(s) specified by the predicate(s) in a query using the Count operator.


Amazon Simple Queue Service
(Amazon SQS) offers a reliable, highly scalable, hosted queue for storing messages as they travel between computers.

Amazon SQS Functionality

* Developers can create an unlimited number of Amazon SQS queues with an unlimited number of messages.

* A queue can be created in the United States or in Europe. Queue names and message stores are independent of other regions.
* The message body can contain up to 8 KB of text in any format.
* Messages can be retained in queues for up to 4 days.
* Messages can be sent and read simultaneously.

* When a message is received, it becomes “locked” while being processed. This keeps other computers from processing the message simultaneously. If the message processing fails, the lock will expire and the message will be available again.

# Developers can access Amazon SQS through standards-based SOAP and Query interfaces.
# Developers can securely share Amazon SQS queues with others. Queues can be shared with other AWS accounts and Anonymously. Queue sharing can also be restricted by IP address and time-of-day.

Basic Queue Requests

Amazon SQS employs a simple interface that is easy to use and highly flexible. The following requests are provided:

* CreateQueue: Create queues for use with your AWS account.
* ListQueues: List your existing queues.
* DeleteQueue: Delete one of your queues.
* SendMessage: Add any data entries to a specified queue.
* ReceiveMessage: Return one or more messages from a specified queue.
* ChangeMessageVisibility: Change the visibility timeout of previously received message.
* DeleteMessage: Remove a previously received message from a specified queue.
* SetQueueAttributes: Control queue settings like the amount of time that messages are locked after being read so they cannot be read again.
* GetQueueAttributes: See information about a queue like the number of messages in it.
* AddPermission: Add queue sharing for another AWS account for a specified queue.
* RemovePermission: Remove an AWS account from queue sharing for a specified queue.

Cloud Computing & Amazon -2

Amazon Simple Storage Service (S3)
-----------------------------------
• S3 - store files on Amazon storage cloud
– Primarily used for backups, images, virtual machine snapshots
• Asynchronously replicates data to several data centers for HA
and scalability
– Typically in minutes
– Claim to never have lost any data, but no guarantees
– 99.99% uptime SLA
• Pricing
– Storage
• $0.15 to $.18/GB/Month (Higher price for data stored in Europe)
– Bandwidth – free if from EC2
• $0.10 - $.017/GB Transferred/Month

Amazon Simple Storage Service (http://aws.amazon.com/s3) is part of the
Amazon Web Services (AWS) offering.Amazon S3 is storage for the Internet. Amazon S3 provides a simple web-services interface that can be used to store and retrieve any amount of data, at any time,from anywhere on the web. It provides users access to the same highly scalable,reliable, fast, inexpensive data storage infrastructure that Amazon uses to run its own global network of web sites.

Amazon S3 is the first Cloud vendor that Oracle has partnered with to enable
database backup in the Cloud. This functionality may be extended to more Cloud
platforms/vendors in the future.

Amazon S3 Functionality

* Write, read, and delete objects containing from 1 byte to 5 gigabytes of data each. The number of objects you can store is unlimited.
* Each object is stored in a bucket and retrieved via a unique, developer-assigned key.
* A bucket can be located in the United States or in Europe. All objects within the bucket will be stored in the bucket’s location, but the objects can be accessed from anywhere.
* Authentication mechanisms are provided to ensure that data is kept secure from unauthorized access. Objects can be made private or public, and rights can be granted to specific users.
* Uses standards-based REST and SOAP interfaces designed to work with any Internet-development toolkit.
* Built to be flexible so that protocol or functional layers can easily be added. Default download protocol is HTTP. A BitTorrent™ protocol interface is provided to lower costs for high-scale distribution.