Testing juju environment inside LXC container

Submitted by alvaro.soto on Sat, 03/12/2016 - 05:05

I thing we pass the part of what juju is and how it works, so I'll post direct commands and configurations of how getting the environment working inside a LXC container, created just for juju, not the local configuration that creates and LXC container, in other words, out host server does not have any juju package.

Some links to read in case you need more info, or you can post a question.

Cinder Volume Transfer

Submitted by alvaro.soto on Thu, 03/10/2016 - 20:52

Let's assume you want to change ownership of volume from Tenant_A to Tenant_B.

Step 1: Tenant A will initiate an Ownership Transfer which will enable another tenant to take ownership of it.

$ source openrc Tenant_A Tenant_A
$ cinder transfer-create [volume_id]

An Authentication Key and a Transfer ID are returned here.

Step 2: Tenant B needs to accept the Transfer using the Transfer ID and The Authentication Keygenerated above.

The real problem behind highly transactional applications.

Submitted by alvaro.soto on Thu, 03/12/2015 - 13:21

An architecture trying to respond a least 10000 concurrent connections per second, is trying to solve the C10K problem, even if this is so last decade is still breaking servers, architectures and configurations, giving to sysadmins real headaches and not always because of real connections, also for basic DDoS attacks (pretty much is the same concept: lots and lots of new connections to the same service).

Why companies should embrace OSS and the DevOps movement.

Submitted by alvaro.soto on Wed, 10/15/2014 - 14:58

It’s not a secret that the best and most competitive technologies today exist in the world are based on some Open Source component, maybe the Linux kernel, GNU/Linux operating system, a version of BSD, modules, drivers, or the programming language is completely free or have a free compiler or interpreter.

Free EL YUM Repositories

Submitted by alvaro.soto on Fri, 08/10/2012 - 12:33

If you are using some flavor of an Enterprise Linux, eventually will get tired of download rpm packages from Here BTW, is a really great page when you don't have access to FTP services (damn telecom/security guys). And eventually, you will need to have repositories on your server to solve the dependencies. Here are some free repository provided by Oracle for FREE, but of course, with NO SUPPORT.

SSH login without password

Submitted by alvaro.soto on Tue, 04/24/2012 - 16:50

Supose you want to use Linux and OpenSSH to automize your tasks or you just don't want to type the password everytime you connect to a server.
You can solve this issue by doing this.

skyline wants to connect to veyron using ssh without password.

By default the ssh command has an order to check for autentications: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password


Easy password generator command.

Submitted by alvaro.soto on Thu, 04/05/2012 - 17:37

As a sysadmin, I need to generate lots of passwords and sometimes if you do so without an script the generated password becomes really easy to guess and also is hard to build a safe password.

Because of this I use this script to generate pseudo randomly passwords, is not an un-crackable method but solves the main problem.
You can put this code at the end of your .bashrc file, in order to make it like a system command, please do not remove the other lines in the file.


Powered by Drupal drupal