Friday, April 10, 2009
Community needs a structure and rules to enable members to pursue their agendas and in the process forward goals of the community. Members work for a common goal according to the code of conduct and they are rewarded according to the community rules. Be the reward elevation in community hierarchy (affiliation and power), visibility in press (fame), advantage to their business (money) or advancement of their cause (fulfillment). Without clear rule set the community can soon degenerate to a power game where original goals fall victims to ego and shortsightedness.
Communities need leadership in one form or another. As any living organisms they need coordination. The rules of a community ought to elevate those persons to coordinators who have agenda close to that of community, required knowledge to evaluate decisions, high moral standards and good people skills.
It is important that individuals are respected for their strengths. Typical underachievement of a community is a situation where new members are not valued. Informal community can become fearful of new candidates as the social structures in place are too weak to handle possible destructive individuals. It is also not unheard of that existing members are jealous of their influence and try to discourage new members to protect their status. Rules and code of conduct can effectively discourage such behavior by placing new comers to status of apprentice and under guidance of experienced members. Thus new members become assets instead of potential threats. The code of conduct ought to encourage supportive approach to new members and underline their value.
Members have different skills and knowledge. To accumulate knowledge, solving differences should be logical process based on facts. Accumulating knowledge in a community requires strict logical approach to argumentation and it should be underlined in the code of conduct. Members should be encouraged to argument, listen and learn to enable themselves and the community to gain knowledge. Instead of taking the easy way out the community should acknowledge that in science and engineering one of two sides of an argument is usually more correct. It should also be noted that the right side is not necessarily that of majority. Correct solution can be deduced only by applying the entire thought chain from question to answer. Corruption, hypocrisy and egoism are the evils that lurk in every human soul and threat to blur the process of logical deduction.
Contributing to a community should be enjoyable. The challenge with online communities is the lack of empathic attachment. As it is not possible to exchange expressions, gestures, touch and tone of voice the entire world of subconscious communication is ruled out of the equation. Subconscious communication is basis of trust and friendship. Therefore every member is collaborating with strangers. How much loyalty does anyone feel for a stranger? Hence relationships between members can change daily and the social backbone does not emerge. Strength of the community is not measured by weakest or strongest individual but by the loyalty and friendship between pairs of individuals. Video conferencing, voice chat and live meetings are crucial part of daily routines of a successful online community.
Thursday, January 29, 2009
Building enterprise quality virtual environment services out of OpenSim is a complex operation but today you can do it all with open source software. OpenSim still enjoys alpha status and many of the core components are under active development on daily basis. Following the svn head and figuring out stable revisions to baseline your system to is challenging task and not suitable for faint hearted.
First things first: I named my grid "Bubble Cloud" according to the website where we have been drafting out next generation virtual reality protocol MXP with Ben Lindquist and Ryan McDougall :
I went for the following architecture:
I reserved one virtual machine (Psi) for shared grid services called UGAIM according to User, Grid, Asset, Inventory and Messaging. Another virtual server went to monitoring use (Omega). Last but not least I configured 2 virtual machines for simulators which run regions (Alpha and Beta).
All virtual machines have 2 Giga bytes memory, 1 Xeon Core and 20 Giga bytes of raid disk.
OS selection was a tough one as .NET is rumored to be very good choice for running OpenSim servers. In the end I went for open source and thus latest stable Ubuntu was the clear choice as it is most used OS for running OpenSim servers.
Database was no brainer as MySQL is the most used database in OpenSim Ubuntu environments. I installed local MySQL instances to all virtual machines to enable fast database access and to save in resource costs.
Mono version was another hard question but I thought to go the easy way and use the standard mono version provided by the Ubuntu release (1.9.1) all though version 2 has many optimizations available. It might be that I need to upgrade soon to newer mono.
For easy administration I was happy to acquire linux init scripts from Sean Dague's Linux Service Helpers project for both ugaim and simulator:
By copying these scripts to /etc/init.d and linking them to run levels you can have your OpenSim services start and stop automatically with your server.
To be able to measure the resource utilization, receive alerts, diagnose problems and track service availability I chose Zabbix server to be installed to Omega virtual machine and agents to other servers. Zabbix is excellent open source monitoring solution:
Configuring basic zabbix Linux monitoring is easy and can be done in two hours. Monitoring OpenSim servers and regions took a bit more work. I did this with Web Monitoring feature by hooking separate scenarios, triggers and IT services to each component. As a result everyone can follow availability figures of Bubble Cloud by bookmarking this url:
It is also possible to follow things like processor loads, memory usage, network traffic and disk space:
Running Enterprise OpenSim Grid is not free but you do not need mega corporation to finance it. One needs to pay for Virtual Machine rents or alternatively hardware costs and server hotel rent.
Renting these virtual machines will cost anything between 100 - 500 us dollars per virtual machine depending where you acquire them and if you pay by use or constant rate.
If you decide to build a server yourself (2 x Quad Core Xeon, 32G memory, raid 1-0 disks...) and take it to good server hotel with 100 Mbps or better internet connections you have to prepare for 5000 us dollar up front cost and 100 hundred dollar monthly cost. With this setup you can get 8 heavy duty virtual machines with 1 Xeon Core and 4G memory. If you divide the cost for period of 3 years you get approximately 30 dollars monthly cost which is not bad at all. The downside is the up front investment, knowledge requirement and time needed.
If you have the knowledge you can build the environment yourself but if you need to hire someone the time required for building this kind of setup is at minimum 1 week for the hardware and 1 week for the software.
I want to thank all the nice people in freenode irc channels #opensim, #osgrid and #zabbix for their invaluable effort put in building this software and the help they gave to me in my learning process.