10 articles Rackspace

Rackspace related articles, Rackspace Best practices, Api, or other relevant information.

Using CloudFiles To Host Static Websites.

Using CloudFiles To Host Static Websites Cloud Files has the ability to host static websites such as .html files. To do so you need to have a container that has cdn enabled. For each container or pseudo directory you will need a main page such as index.html set with the header:  X-Container-Meta-Web-Index. For each object…

Virtual Host Hypervisor Performance Troubleshooting.

So when you log into a host there are a few General things you should look for. Resources: There are things you can do on the host to troubleshoot issues with your resources. top -bn 3 (this should show you 3 iterations op the top command. And what is running also  what resources are being…

Rackspace phpmyadmin install method ran with Apache

 Rackspace phpmyadmin install method ran with Apache Centos Install Instructions: First lets see if it’s installed: Centos/Redhat: yum list installed |grep -i phpmyadmin   Check to see if phpmyadmin is in the current Repo’s you have: yum list |grep -i phpmyadmin Note:CENTOS/REDHAT ONLY!  If it is not in the Repo you will have to install…

Jail a SFTP user chrooted to home directy using bind mount.

Today we will add a username to a home dir home directory (/home/bob/) that has access to your website in your vhost directory (/var/www/vhosts/pants.com). The best part they cannot ssh to the server, they will only access via sftp clients. NOTE: (replace variable words username or domain.com with actual name) Configure User Create a group…

Creating Autoscale group with Monitoring apache connection check

In this article we will go over how to create a Auto-scale Group with a policy associating with a monitoring apache connection check.Auto-scale will create or remove Cloud Servers based on the amount of apache connections (idle_workers) are being used. Required setup and Optional Tools : This is assuming you are using a Mac or…

Setting up a encrypted Volume/Partition with cryptsetup and LUKS.

Cryptsetup With LUKs  Encryption So you are one of those overly concerned individuals (thesaurus.com suggest you are unbalanced) and would like to add security to your disk.  That’s Great! We can help you do that.Cryptsetup with luks format will attach a encryption to your partition.  Note: We are assuming you are doing this on a…

Maas example start to finish.

Here is a start to finish guide of the steps needed to create Entity, Check, Notification, Notification Plan, Alarm all in order. Entity  raxmon-entities-create –username=ibrshop –api-key=b685e2 –label=webcheck –ip-address=default=108.166.89.23 –who=Jim.Culbreath –why=Racker-requested-to-make-check-http Check  raxmon-checks-create –username=ibrshop –api-key=b6be2 –entity-id=ena8OZFaPp –type=remote.http –label=”webcheck” –monitoring-zones=mzdfw –details=url=www.ibrshop.com/user,Method:GET –timeout=30 –period=60 –target-alias=default  Notification with Email instead of webhook: raxmon-notifications-create –label=”webcheck notification” –type=email –details=address=bob@gmail.comResource created. ID: ntqgttM1Jt…

Cloud Monitoring – Creating checks with curl.

Creating Monitoring checks for your Monitoring Entity isn’t the easiest task it seems. Tutorial-create-ping-check.html When I do so It errors out on me. Action: curl -i –data-binary ‘{ “details” : {  },  “label” : “Website check 1”,  “monitoring_zones_poll” : [ “mzdfw” ],  “period” : “60”,  “target_alias” : “default”,  “timeout” : 30,  “type” : “remote.ping”}’-H “X-Auth-Token:…