Wednesday, July 30, 2014

Understanding HP public cloud User roles

https://community.hpcloud.com/article/managing-account-users

Understanding User Roles

Domain - This is the highest level. The creator of an account can be referred to as the Domain Administrator. This is a collection of Projects, Users, Groups, and Roles.

Domain administrator - The creator of an account

Project - This is a collection of services such as the Compute or Object Storage services.
      Notes:
1.     Project is also called Tenant formerly.
2.    Currently one account is limited to one project.
3.    However you can request to increase the limit by contacting HP cloud support

4.    If you've activated any services under a Project it is no longer possible to purge or delete that Project. You can only edit or disable it at that point.
5. You can  disable the Project, but IMPORTANT! This will not disable or terminate any active instances or storage you have on the Project, those have to be terminated manually.

Groups - This is a collection of roles that users can be members of. This makes administration of your user accounts much easier if you have a group of roles that are a common to a set of users. By default each account has a Domain Admin group and a Users group.

Users - This is the specific account for a person added to a Domain. It can be attached to one or more Projects or Groups and a variety of Roles.
For each role, you will add it to either a Group or a User for a specific Project

User Role options:

IMPORTANT! Prior to adding a role to a user you need to ensure that the service is activated on your account. For example, you must have the Compute service activated in order to add the Compute Admin role to a user account. If it's not then you will receive an error.
Identity Domain Admin - This is the default role given to the Domain Admin group
Identity Domain User - This is the default role given to the Users group

Compute Service Roles

Compute Admin - gives the user access to manage Compute resources, mainly Instances.
Network Admin - Allows the User to manage all Neutron resources owned by the Project for which it is assigned.
Image Management Admin - gives the user access to the Image service API.
Block Storage Admin - gives the user access to the Block Storage service API.

Important Note about 13.5 and Horizon Console access: There is an inter-connectivity of services that are accessed when viewing 13.5 resources via the Horizon Console. Because of this you will effectively need to grant Compute Admin, Network Admin, Image Management Admin, and Block Storage Admin to a user in order for them to use the Horizon Console without error.

Object Storage Service Roles:
Object Storage Admin - gives the user access to the Object Storage dashboard in the Horizon Console as well as the Object Storage service API
CDN Admin - gives the user access to the CDN service API. NOTE: Without Object Storage Admin as well as CDN Admin, the user won't be able to access anything CDN-related via the Horizon Console

PaaS Service Roles:

DNS Admin - gives the user access to the DNS dashboard in the Horizon Console as well as the DNS service API
MySQL Admin - gives the user access to the Relational Database for MySQL dashboard in the Horizon Console as well as the Relational Database for MySQL service API

Private Beta Service Roles:

Load Balancing Admin - gives the user access to the Load Balancer dashboard in the Horizon Console as well as the Load Balancer service API
Monitoring Admin - gives the user access to the Monitoring service API



Sunday, July 27, 2014

About Block storage and CDN storage

Block storage is a type of data storage typically used in storage-area network (SAN) environments where data is stored in volumes, also referred to as blocks. 
Each block acts as an individual hard drive and is configured by the storage administrator. These blocks are controlled by the server-based operating system, and are generally accessed by Fibre Channel (FC), Fibre Channel over Ethernet (FCoE) or iSCSI protocols.
Because the volumes are treated as individual hard disks, block storage works well for storing a variety of applications such as file systems and databases. While block storage devices tend to be more complex and expensive than file storage, they also tend to be more flexible and provide better performance.

A content delivery network (CDN) is an interconnected system of computers on the Internet that provides Web content rapidly to numerous users by duplicating the content on multiple servers and directing the content to users based on proximity.

A content delivery network (CDN) is an interconnected system of computers on the Internet that provides Web content rapidly to numerous users by duplicating the content on multiple server s and directing the content to users based on proximity. CDNs are used by Internet service providers (ISPs) to deliver static or dynamic Web pages but the technology is especially well suited to streaming audio, video, and Internet television ( IPTV) programming.
In a CDN, content exists in multiple copies on strategically dispersed servers. This is known as content replication. A large CDN can have thousands of servers, making it possible to provide identical content to many users efficiently and reliably even at times of maximum Internet traffic or during sudden demand "spikes." When a specific page, file, or program is requested by a user, the server closest to that user (in terms of the minimum number ofnode s between the server and the user) is dynamically determined. This optimizes the speed with which the content is delivered to that user.
The use of CDN technology has obvious economic advantages to enterprises who expect, or experience, large numbers of hits on their Web sites from locations all over the world. If dozens or hundreds of other users happen to select the same Web page or content simultaneously, the CDN sends the content to each of them without delay or time-out. Problems with excessive latency , as well as large variations in latency from moment to moment (which can cause annoying "jitter" in streaming audio and video), are minimized. The bandwidth each user "sees" is maximized. The difference is noticed most by users with high-speed Internet connections who often demand streaming content or large files.
Another advantage of CDN technology is content redundancy that provides a fail-safe feature and allows for graceful degradation in the event of damage to, or malfunction of, a part of the Internet. Even during a large-scale attack that disables many servers, content on a CDN will remain available to at least some users. Still another advantage of CDN technology is the fact that it inherently offers enhanced data backup, archiving, and storage capacity. This can benefit individuals and enterprises who rely on online data backup services.
The above info is from http://searchaws.techtarget.com/definition/content-delivery-network-CDN

About Object storage

Object storage describes an approach to addressing and manipulating discrete units of storage called objects. Each object is a self-contained unit of storage that is identified by aunique ID. This ID serves as a pointer to a specific object, much the same way a universal resource locator (URL) points to a specific file on a web server. Like files, objects containdata -- but unlike files, objects are not organized in a hierarchy. Instead, each object exists at the same level in a flat address space called a storage pool. Although the term "object storage" has been around for decades, practical applications for the enterprise haven't been fully realized until the advent of cloud storage.
Most file systems have restrictions on the number of files, directories and levels of hierarchy that can be supported -- which limits the amount of data that can be stored. Because object storage uses a storage pool instead of a hierarchical structure, storage capacity can be scaled out to an infinite level. The extended metadata and attributes that storage objects provide can also be used to provide additional functionality such as improved data quality, quality of service (QoS) and security management. 
Each object is composed of an object ID (OID), the object's metadata/attributes and the data itself. Once an object is created on one node, it gets copied to one or more additional nodes, depending on the policies in place. The nodes, which provide redundancy and high availability (HA), can be within the same data center or can be geographically dispersed.
In a public cloud computing environment, object storage can be accessed over the Internet through a REST API over HTTP.  Public cloud service providers typically provide their own APIs. In a private cloud environment, users can either create their own API or use an object storage device (OSD). In general, commands sent over HTTP to object storage are very simple: put to create an object, get to read an object, delete to purge an object and list to list objects.
Hundreds of millions of Google, Facebook and Twitter members use object storage every day but don't know it.  These mega-sites all use some form of object storage to store and retrieve file content, especially images and videos.
Object storage software using commodity hardware has been developed by startups like Amplidata, Caringo and Scality. EMC has its Atmos product line, HDS has its Hitachi Content Platform and NetApp has its StorageGRID, while HP has its own HP Labs-derived technology in development.
Currently, data throughput rates are far slower for object storage than for file- or block-based storage, which makes object storage a poor choice for transactional data.   As the protocols and APIs used for object storage becomes standardized -- and as its vocabulary becomes better known and startup costs decrease --  it’s expected that more companies will investigate how to use object storage, especially for storing inactive and archived data.
Most experts agree that object storage will enhance, rather than replace, file- or block-based storage.
The above info is from http://whatis.techtarget.com/reference/Object-storage-Fast-Guide

How an object store differs from file and block storage


File and block storage might provide better performance, but granular metadata and near-infinite scalability make object
storage equally beneficial.

The use cases for file and block storage are well-defined and have been in use for decades. A new type of storage now readily available in the market is object storage, and the questions most IT shops are asking are, "What's different about an object store? When should I use it? What use cases warrant it? How should I go about phasing it into my specific IT infrastructure?" Although a lot has been written about this topic, these questions continue to surface. Here is the way I see it.

Revisiting file and block storage
First of all, let's revisit file and block storage to help define object storage. We know a file is typically structured in a file system, which is nothing more than a hierarchical way of organizing files so that an individual file can be located by describing the path to that file. We know that certain attributes -- information that might describe a file and its contents, such as its owner, who can access the file, and its size -- are conveniently stored asmetadata in a file system. We also know that network-attached storage (NAS) is the best way to share files securely among users on a network. It works great locally on a LAN but not so well if the users are across a WAN. And managing a single (or a small number) of NAS boxes is trivial, but managing hundreds of them is a nightmare. The file system is responsible for the placement of data on the NAS box, as well as implementing file sharing by locking and unlocking files as needed. And lastly, file systems work well with hundreds of thousands, and perhaps millions, of files but are not designed to handle billions of files. These limitations were not well understood because many IT shops had not tested those high levels -- until recently. In a nutshell, file storage is great for sharing files locally and if the number of files and the associated metadata are limited. But under the right circumstances, NAS delivers excellent performance for sharing files.
Block storage is similarly well understood. We know a block is a chunk of data, and when appropriate blocks are combined, it creates a file. A block has an address, and the application retrieves a block by making a SCSI call to that address. It is a very microscopic way of controlling storage. Unlike in the case of NAS, the application decides where to place the data and how to organize the storage. How the blocks are combined or accessed is left up to the application. There is no storage-side metadata associated with the block, except for the address, and even that, arguably, is not metadata about the block. In other words, the block is simply a chunk of data that has no description, no association and no owner. It only takes on meaning when the application controlling it combines it with other blocks. Under the right circumstances, granting this level of granular control to the application allows it to extract the best performance from a given storage array. This is the reason why block storage has been king of the hill for performance-centric applications, mostly transactional and database-oriented. Adding distance between the application and storage kills this performance advantage due to latency, so most block storage is used locally instead. In a nutshell, key phrases associated with block storage are granularity, great performance, little or no metadata, and local use.

Object storage characteristics

Armed with these definitions, let's now look at object storage. First of all, an object is defined as data (typically a file) along with all its metadata, all bundled up as an object. This object is given an ID that is typically calculated from the content of that object (both file and metadata) itself. An object is always retrieved by an application by presenting the object ID to object storage. Unlike files and file systems, objects are stored in a flat structure. You have a pool of objects, and you simply ask for a given object bypresenting its object ID. Objects may be local or geographically separated, but because they are in a flat address space, they are retrieved exactly the same way. An object is not limited to any type or amount of metadata. If you choose to, you can assign metadata such as the type of application the object is associated with; the importance of an application; the level of data protection you want to assign to an object; if you want this object replicated to another site or sites; when to move this object to a different tier of storageor to a different geography; and when to delete this object. This type of metadata goes way beyond the access control lists used in file systems. The fact that object storage allows users flexibility to define metadata as they wish is unique to object storage. You can start to see how this opens up vast opportunities for analytics that one could never dream of performing before. Given the nature of objects, as described above, performance is not necessarily a hallmark of object storage. But if you want a simple way to manage storage and a service that spans geographies and provides rich (and user-definable) metadata, object storage is the way to go.
Because a lot of development of object storage concepts happened inside Web 2.0 companies trying to build infinitely large storage infrastructures at the lowest cost, most object storage is based on clusters of commodity servers with internal direct-attached storage. There are indeed exceptions to this, most notably DataDirect Networks, and you can certainly use expensiveRAID arrays to build an object store, but the rule of thumb is to use commodity hardware. Scaling becomes a simple matter of adding additional nodes. Data protection is generally accomplished by replicating objects to one or more nodes in the cluster, but there are certainly exceptions to this (e.g., Cleversafe and EMC Atmos both use erasure coding to protect data).
There is another characteristic of object storage that is critical to understanding its nature. Unlike a file or block, you access an object using an HTTP-based REST application programming interface. These are simple calls such as Get, Put, Delete and a few others. Their simplicity is an advantage, but they do require changes to the application that were probably written to use SCSI, CIFS or NFS calls. Therein lies the problem. There are ways around this, but the cleanest approach is to change the application code to make direct REST-based calls. So, in a nutshell, an object store is easy to manage, can scale almost infinitely, transcend geographic boundaries in a single namespace and can carry a ton of metadata, but it is generally lower-performance and may require changes to the application code.
The above info is from http://searchcloudstorage.techtarget.com/feature/How-an-object-store-differs-from-file-and-block-storage