Sep 182014
 

I’m not sure what I’m going to build yet, but it should be something that could make my ops life easier, I don’t think it will be automation tool, as the best solution for automation is command line (script).

Maybe something regarding to monitoring? Building up a dashboard will be interesting, though most people may use Web page instead.

Still thinking …

Jul 062014
 

I’m working for the big chip company now, sound a little bit weird, though ๐Ÿ˜‰ .

Anyway, I’m sitting in backend team focusing on DevOps, I guess I will be in this mixed role till we find a dedicated DevOps guy. I guess whenever that happens, I’ve already finished monitoring facility (plus logistical stuffs like on-call schedule, etc.), and should have finished the plan to migrate from Rackspace to AWS.

Everything works smoothly so far except git – I admit current company is using git in a modern way, but I don’t think previous company was doing something wrong. Anyway, I believe people do have different ideas of how to use git, I just have to fit into the company’s style.

I don’t quite like saltstack although I’m still trying to get familiar with it. However, before I raise this as a concern to the team, I’d like to make sure everything that saltstack is doing can be done by cfengine.

Ah yea, also need to evaluate Shinken as it’s a pure Python solution, and “we are a python house”.

Jul 062014
 

Trying to merge everything running on AWS to a single instance, and once the instance is good enough to run all my stuffs, will book a reserved instance to save cost.

It seems I’m having less and less sites up and running, I got impression that I used to have 10+ sites flying around for random purposes but now I have only 2 “serious” sites. Sure I still have 2 or 3 sites running test environments but they can be discarded anytime.

The company is moving to AWS as I was told, could be a good time to start look around things like VPC, etc.

 Posted by at 13:55  Tagged with:
Jun 092014
 

Just found that I didn’t update for more than a month …

I was busy on something and good thing is that something good happened, and something new is going to come. I will give more details once I can, or maybe never.

 Posted by at 21:55
Apr 212014
 

Several issues found after upgrade various version of Ubuntu to latest 14.04 LTS, luckily things are not that hard to fix.

ejabberd does not work, turned to be ejabberd was trying to get rid of asn1, and there were some problem caused by that. Though ejabberd fixed the problem right away, it seems Ubuntu took the wrong version. What you should do is upgrade ejabberd from 2.1.11 to 2.1.12 (later version may work as well, but I didn’t try), Continue reading »

Mar 212014
 

Start from squid 3.2, as mentioned here, you can use random acl. This helps me achieve my goal to round-robin outgoing IP address as follow:

[raw]
acl one_fourth_1 random 1/4
acl one_fourth_2 random 1/3
acl one_fourth_3 random 1/2
acl one_fourth_4 random 1/1

tcp_outgoing_address xxx.xxx.xxx.203 one_fourth_1
tcp_outgoing_address xxx.xxx.xxx.204 one_fourth_2
tcp_outgoing_address xxx.xxx.xxx.205 one_fourth_3
tcp_outgoing_address xxx.xxx.xxx.206 one_fourth_4
[/raw]

Sure you need to have all these IPs configured on your server.