Monthly Archives: September 2013

Two great posts about OpenStack

“cover what I had neglected previously: performance considerations. Here, I will focus solely on the compute part of OpenStack”
Making the most of your application performance on OpenStack Cloud
by Piotr Siwczak

  • Get to know your potential workload
  • Choose the right proportions for OpenStack compute resources
  • Choosing the right hypervisor for OpenStack
  • Hypervisor and guest optimizations
  • Choosing the right compute node
  • Choosing the right user data storage
  • Networking Capacity in OpenStack
  • Avoid “enterpriseness” and shared resources

 

It turns out that in OpenStack, “controller node” and “compute node” can have variable meanings given how flexibly OpenStack components are deployed
Understanding your options: Deployment topologies for High Availability (HA) with OpenStack
by Piotr Siwczak

 

  • Endpoint node: This node runs load balancing and high availability services that may include load-balancing software and clustering applications. A dedicated load-balancing network appliance can serve as an endpoint node. A cluster should have at least two endpoint nodes configured for redundancy.
  • Controller node: This node hosts communication services that support operation of the whole cloud, including the queue server, state database, Horizon dashboard, and possibly a monitoring system. This node can optionally host the nova-scheduler service and API servers load balanced by the endpoint node. At least two controller nodes must exist in a cluster to provide redundancy. The controller node and endpoint node can be combined in a single physical server, but it will require changes in configuration of the nova services to move them from ports utilized by the load balancer.
  • Compute node: This node hosts a hypervisor and virtual instances, and provides compute resources to them. The compute node can also serve as the network controller for instances it hosts, if a multihost network scheme is in use. It can also host non-demanding internal OpenStack services, like scheduler, glance-api, etc.
  • Volume node: This is used if you want to use the nova-volume service. This node hosts thenova-volume service and also serves as an iSCSI target.

 

 

 

Development environments made easy.

 

CONFIGURE

Create a single file for your project to describe the type of machine you want, the software that needs to be installed, and the way you want to access the machine. Store this file with your project code.

WORK

Run a single command — “vagrant up” — and sit back as Vagrant puts together your complete development environment. Say goodbye to the “works on my machine” excuse as Vagrant creates identical development environments for everyone on your team.

http://www.vagrantup.com/

Some clients of vagrantup or hashicorp

customer_bbccustomer_disquscustomer_edgecastcustomer_expediacustomer_expediacustomer_edgecastcustomer_disquscustomer_bbc

Your own dropbox or similar?

Does your team, company, family want your own dropbox, mega.co.uk, meocloud.pt or similar running on your own infrastructure? afraid of NSA, CIA or KGB spying your data?

 

ownCloud gives you universal access to your files through a web interface or WebDAV. It also provides a platform to easily view & sync your contacts, calendars and bookmarks across all your devices and enables basic editing right on the web. Installation has minimal server requirements, doesn’t need special permissions and is quick. ownCloud is extendable via a simple but powerful API for applications and plugins.
http://owncloud.org/

 

SparkleShare creates a special folder on your computer. You can add remotely hosted folders (or “projects”) to this folder. These projects will be automatically kept in sync with both the host and all of your peers when someone adds, removes or edits a file.
http://sparkleshare.org/

 

Unknown encoder ‘libx264’

On my stack, on digitalocean, i have Ubuntu (13, and i’m deploying a small work that need avconv (former ffmpeg).

I need to convert from WMV to MP4 files and i was getting Unknown encoder ‘libx264’ error.

This is how i’v added video encoder libx264 to my avcodec.

apt-get update
apt-get install libavcodec-extra-53

Tested on
Ubuntu 13.04 (GNU/Linux 3.8.0-19-generic x86_64)
Ubuntu 12.04.3 LTS (GNU/Linux 3.8.0-29-generic x86_64)

Tried to share it!
http://stackoverflow.com/questions/11234662/how-to-compile-avconv-with-libx264-on-ubuntu-12-04/18835133#18835133

ssd-virtual-servers-banner-2-728x90

Some house offers

Server Housing offer

Server Housing from 1U to 4U – house your server in our highly secured data center.

http://www.nine.ch/serverhousing/plans

1U 2U
Monthly fee 99.- 139.-
Setup fee 199.- 199.-
Connection 1 Gbps
Bandwidth 100 Mbps CDR 95% [8]
IPv4 adresses 1 1
IPv6 adresses /48 /48
Available power supply [1] 160 W
Network uptime 99.9 %
Fire protection (gas) yes yes
Emergency power yes yes
Redundant air conditioning yes yes
Access control yes yes
24/7 video surveillance yes yes
Detailed statistics yes yes
Emergency duty 24×7
Support Email and phone
Data center location Zurich, Switzerland
Minimum contract duration Only 1 month

Prices in (CHF) excl. VAT

WordPress – find and replace

I got some wordpress blogs (20+) running on some servers, and from time to time, i need to make some FIND&REPLACE on my posts…

This is the simple way! Directly on mysql.

UPDATE wp_posts SET post_content = REPLACE (  
post_content,  
'Item to replace here',  
'Replacement text here');

Please note the for security reasons the prefix wp_ is diferent… if you play by the rules you will need to see witch is is… wp-config.php has it.

mysql> UPDATE wpspt_posts SET post_content = REPLACE (
-> post_content,
-> 'static.mycdn.com/banners/',
-> 'static.mycdn.com/bnnrs/');
Query OK, 1477 rows affected (0.42 sec)
Rows matched: 10795 Changed: 1477 Warnings: 0

This is a small hack to ABP – Ad Blocker Plus…
Horray!