Sanjaya's Notes

Install Subversion 1.7 on CentOS 6

If you try to install subversion on CentOS 6, default repositories will install the version 1.6. There are instances that you need version 1.7 upgrade. One use case is if you need a SVN repository for a WSO2 product deployment which includes Carbon Platform 4.2.0 as well as 4.4.x bases products.

Deployment synchronizer

Deployment synchronizer allows you to synchronize deployment artifacts across the nodes of a WSO2 product cluster. If the deployment is based in Carbon 4.2.0 based products, the SVN server has to be either version 1.6 or 1.7. If the deployment is based on Carbon 4.4.x based products, the SVN server has to be either version 1.7 or 1.8.
If you have a deployment with both Carbon 4.2.0 and 4.4.x products, the SVN server has to be 1.7 if we are to use a single SVN for the deployment.

Add new yum repository

Add following to /etc/yum.repos.d/wandisco-svn.repo
[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/6/svn-1.7/RPMS/$basearch/
enabled=1
gpgcheck=0

Install SVN

Run following commands to remove existing installations, add the new repository and install subversion
yum clean all
yum remove subversion
yum install epel-release
yum install subversion

How to Make WSO2 Elastic Load Balancer highly available through AWS Elastic Load Balancer

The WSO2 Elastic Load Balancer (WSO2 ELB) offers a lean approach to balance loads across your WSO2 service instances. It provides fail-over, auto-scaling, and multi-tenancy letting services scale automatically with dynamically changing load characteristics. To make WSO2 service highly available, WSO2 ELB itself has to be highly available. There are multiple ways to achieve high availability of WSO2 ELB. Following tutorial explains in detail how to make WSO2 ELB highly available through Amazon ELB.

http://wso2.com/library/tutorials/2013/09/make-wso2-elb-highly-available-through-aws-elb/


Getting Started with WSO2 Stratos VMware Image

WSO2 Stratos is a complete SOA and developer platform offered as a self-service, multi-tenant, elastic runtime for private and public cloud infrastructures. This tutorial will guide you to tryout WSO2's complete Stratos platform inside a VMware instance without going through the installation and configuration process.

http://wso2.org/library/tutorials/2010/12/getting-started-wso2-stratos-vmware-image

VMware server 2.0 blank screen issue

I installed VMware server 2.0.2 on Ubuntu 10.04 and after a successful installation when I run it brings up a blank screen in the browser. I've tried several solutions given by the VMware community, but it worked only after activating ss2v2 on the browser. To enable sslv2 type about:config on your browser. Filter for security.enable_ssl2. Activate it by double clicking it.

How to convert VMWare disk image to KVM/QEMU/XEN

Install qemu. On debian based operating systems

apt-get install qemu

to convert

qemu-img convert vmware_image.vmdk -O raw kvm_qemu_xen.img


How to make your Amazon EC2 AMI public

To make it bootable to anyone else

ec2-modify-image-attribute ami-XXXXXXX --launch-permission -a all
To make it bootable to specific user
ec2-modify-image-attribute ami-XXXXXXX --launch-permission -a 

Undermining Sri Lanka