Wednesday, May 10, 2006

New DreamTeam Member!



Puru Selbie President and CEO of Tristream
Tristream is a leader in web application design: Award winning thought leaders, they provide full services to create user centered, usability tested, applications.

Puru is:
  • A Tristream founder
  • Top-level strategist on key clients: Cisco, Sun, Wells Fargo Bank, AvantGo, QuantumShift, Cendant Mobility and KPMG.
  • Business strategist and infrastructure consultant for Burningpoint (Roxio)
  • Positioning, branding, and technical consultant for Trend Technologies and gigaflip
  • Primary architect of Lateral Works Systems intranet communications hub used by Tektronix, National Semiconductor, and LSI Logic
  • Business strategist and architect for Performance Learning Systems online presence

Munkunda Co-located

Yesterday we were able to "co-locate" our new webserver called Mukunda. What does that mean and why?

For many years our websites were hosted, along with many hundreds of other websites, by a company using shared servers. This eventually posed problems with other websites interferring with our online ordering. Coupled with the need to offer audio and videos of music and talks we took the leap and rented a dedicated server.


Over the past year, the amount of traffic or bandwidth has increased significantly due to increased usage, listenership and viewership.


Webster defines bandwidth as: " the capacity for data transfer of an electronic communications system"


As a result we were paying significant monthly overcharges for bandwidth. Further research produced a local server farm (see above photo) in Sacramento just 10 minutes from the Rancho Cordova community where we could rent space and bandwidth for our own server. ROI analysis ("Return on Investment" which is a corporate type term) indicated that, if we purchased our own server and software, installed everything, and located it at this farm, monthly savings would pay for it in under 1 year.


Led by Nabha, we forged ahead with the purchase. Now he is fine tuning the installation. We have 240 GB of hard drive space and backup.


This server will:


  • Host the ananda.org, expandinglight.org and numerous other smaller websites. (not crystal clarity)
  • Function as our email server and ultimately the backup email server for our new Exchange server
  • Host the new Ananda Library
  • Store much more audio and video web content to continue to serve our growing worldwide.

Friday, May 05, 2006

A DSL Primer - Chapter Quattro

In this chapter I will describe the Ananda Bell DSL setup. A picture is worth a thousand words, hence the following picture. If you find this not detailed enough, let me know and I will add some more comments.




Well, Peter didn't let me get away with just a picture, so I'll write a few words about our DSL setup at Ananda Bell.

Our internet access consists of 3 T1 links bundled together as a single point-to-point link to the Internet cloud. The Cisco 2600 router that hosts these 3T1 links uses Multi-Frame-Relay technology to provide one logical link to the Internet, SBC/PacBell (now AT&T) being our Internet Service Provider. These 3 T1 links also act as a backup to each other because if one fails, the others continue to function, thereby eliminating single point of failure on our link to the Internet. The Cisco 2600 acts as our gateway to the internet, our NAT (Network Address Translator) server, our DHCP (Dynamic Host Configuration Protocol) server and our firewall. The Cisco 2600 is connected to a 100Mbps switch on its LAN side. Three Occam BLC 6208's connect to the same 100Mbps switch creating a large local area network comprised by [the majority of] village residents and offices. The BLCs (Broadband Loop Carrier) perform the interworking function between DSL and Ethernet. They aggregate DSL traffic from the subscribers and send them to the Cisco router over an Ethernet link. Since they act as "bridges" they logically extend an Ethernet wire from each home (or office) and connect it to the Cisco router. So, all our data traffic converge at the Cisco 2600.

Most village residents get a private IP address from the Cisco 2600 via the NAT functionality. This makes up the 192.168.146.x network. These addresses are valid inside the village, but not valid outside, because they are not routable IP addresses. When packets originating from this network leave the village their source IPs take the form of a routable (public) IP address, which is shared among many people. This allows [most of] us to appear as one IP address (one host) from outside the village. We also have several users and offices that each have their own unique public IP address for other reasons. Some people need to run servers or services that require them to have a private IP address (VPN - Virtual Private Networks, some video-conferencing applications, web servers hosted inside the village, etc). We have three different IP subnets we can pick IP addresses from so that we can assign them to people with such needs.

The Cisco router assigns IP addresses from the 192.168.146.x pool to people who do not require a public IP address. The firewall on the WAN (T1/FR) link of the Cisco 2600 provides ample protection for people using DHCP. The main function of the firewall is to prevent any TCP connection originating from outside to connect to a machine inside the village. TCP connections can only be initiated from inside the village. As for public IP users, they are required to have their own firewall and provide their own protection.

We also have a few off-the-land users (not in diagram) who have a wireless radio link (about 3 to 5 miles) from their homes to the village. The radio pairs use the 802.11b technology and require line-of-sight. The users who approached us about the technology have spent their own time and money to buy and install the radio pairs. Ananda Bell simply brought a DSL modem and power to the line-of-sight location within the village.

The three BLCs at Ananda Bell have a total of 3 x 48 = 144 ports. About 110 of these ports are already in use. Some of these serve dedicated DSL lines, but most of them share the copper phone line with voice. In that case a splitter is needed to separate the voice and data frequencies. We have two Wilcom splitter chassis, each with two cards. Each card has 24 ports on it. Thich cables (telco cables with champ connectors) carry 24 phone lines each. This cable connects to one splitter card into the voice+DSL port. Two other telco cables leave out of two separate ports on each splitter card, one port bundling 24 data lines and the other one bundling 24 phone lines. The data cable goes to the BLC and the phone cable goes to the phone switch. The splitter cards do not require power to operate them (much like the low pass filters connected to your home phones).

All this critical equipment (Cisco router, BLCs, ethernet switch, phone switch) is connected to multiple UPS (Uninterruptible Power Supply) units so that they can have clean power and they can continue to operate in case of power failures. After a few seconds of power failure, a generator kicks in to provide power to the UPSs, because UPSs battery capacity only last for a few minutes.

The Occam BLCs have a lot more functionality than traditional DSLAMs that do only DSL to Ethernet interworking function. The BLCs provide filtering capabilities on each DSL port to prevent, for instance, Windows Netbios packets from entering the village network (so you can't see your neighbor's computer in your Network Neighborhood). The BLCs are capable of providing voice/video/data (called triple play) over the same DSL line. We are only using them for data service (VoIP services such as Skype would be considered derived voice). The video capability would require expensive head-end equipment and who wants 250 channels of video in a spiritual community? However, there are many other customers of Occam who heavily depend on the video capabilities (such as Surewest in Roseville) and who use that capability to compete with cable operators. The BLCs are also capable of doing DHCP and ARP snooping to reduce network chatter and to ensure that users only use the IP addresses they are assigned. This prevents many types of malicious attacks originating from subscribers. We are not using all of these features at Ananda Bell, but some are going to be implemented in the days to come.

Friday, April 21, 2006

A DSL Primer – Chapter Tre

If you are using DSL at home and if it is shared with your voice line, you must have installed additional small filters that attach to each of your phones between the phone and the wall jack. These are low-pass (LP) filters that block everything above 4Khz so that you don’t hear some hissing sounds (from DSL) during a voice call.


The DSL modem divides its frequency range into 4-Khz wide channels. For the 1.1Mhz ADSL2 standard, you get 247 channels. This is as if you have 247 phone lines with a modem attached to each. Each modem is capable of doing 64Kbps. As the distance to the DSLAM gets longer or if there are impairments on the line such as interference from high power lines, bridge taps (extensions to phone line that are not connected to anything but affect the signal quality on the line), some of those imaginary 247 phone lines cannot carry a quality signal for data transmission. The modems detect this while they are training and eliminate the channels that are not up to par. That’s why you can not always get the highest speed provided by a particular DSL standard.

The DSL modem at the subscriber end converts data from the digital signals (from your ethernet connection to a computer) into a voltage signal of a suitable frequency range which is then applied to a phone line. On the other end, at the central office of the phone company there is a digital subscriber line access multiplexer (DSLAM), which terminates the DSL circuit and aggregates all the traffic coming from subscribers onto some flavor of network transport the phone company is using on their back-end (ATM, Ethernet, SONET, etc). In the case of Ananda Bell, the DSLAMs convert the DSL signals back on to Ethernet and hand it off to SBC over a Frame Relay circuit.

In the next and final chapter of these series, I will describe the network setup we have at Ananda Bell. Stay tuned.

Thursday, April 20, 2006

Turning the Bookshelf into a Library

The Premise: Changing Hundreds of Word Documents into Thousands of Webpages

One of the steps in turning the Ananda Bookshelf into a website is converting all the books, articles, etc. into a format suitable for online use. The "old-style" Bookshelf that Satyaki created uses Microsoft Word documents, which look like this:


"*+ ! ! ! $ #" is not foul language – those are the markers that tell the Bookshelf where a new chapter or section starts. They, and other markers, are used in every Bookshelf chapter, article, etc. For the web, though, we can't use them, so we have to clean them up.

We also have to split up the Word documents. Yogananda's Autobiography of a Yogi is 48 chapters long, and the old Bookshelf, behind the scenes, used just one Word file. For the Ananda Library we'll need at least 48 webpage files instead.

Introducing Mamata (Pronounced "Mamta")

This is where Mamata comes in. Mamata, from Nepal via Washington D.C., is one of the newest members of IT Services. She's extremely sharp, and for months now has been working on generating financial reports for Ananda's fundraising department and retreat center. Mamata also played a big part in getting the new The Expanding Light meditation and yoga retreat website online.


Mamata uses a program called Word Cleaner to convert Word documents into webpages. It does a good job, but even after using it there's still hundreds of thousands of little bits of text to clean up.

So, How to Split and Clean Up Thousands of Webpages?

Automatically, using bit of computer esoterica called "Regular Expressions." With regular expressions you can say, for example, "Clean up a link or a title, but only if it has *+ ! ! ! $ # inside of it," or, "Remove all links that point to footnotes if the names of those footnotes are "_ftn00" through "_ftn99."

These are all things that are in the Word documents that we won't need in the webpages. (Real footnotes have different names.)

Regular expressions that clean up Bookshelf webpages look like this:


Mamata, already knowledgable about HTML, the language of webpages, is learning regular expressions. She'll use them not onto to clean the webpages but to split them up, with an "expression" that essentially says: "Make a new page every time you find a new chapter heading."

Final Steps, then It's Online

After that what happens is:
  • We put the webpage files of the books, articles, etc. into folders
  • We let Scott know
  • Scott diligently updates a few "sitemap" files
Then we can have a working, passworded, "beta" version of the bookshelf part of the site online for testing purposes.

Wednesday, April 19, 2006

Google Mini in the Here


"Houston...We have a liftoff" Ananda's very own Google-mini is ready for business, having created its very first catalog just an hour after installation. (Skillman)

On the "rack" at Ananda Bell (above the DSL equipment)



Google has just released their second generation of the Mini along with a much more robust enterprise edition.
see article. This new Mini is what we have ordered and has arrived!

It comes in a really cool big box and is larger than I imagined









Our intrepid programmer hard at work, setting up program prior to install on the "rack". This entails setting up basic configurations like internet address and names and all the secure settings associated with being connected to the World Wide Web. Future programming can be done using the web interface from our desktops.









Sunday, April 16, 2006

New Teammate!

Dharmaraj Iyer has joined the Ananda Resource Team! Currently, he is teaching 4th-6th grade class this year at Living Wisdom School, Nevada City. Dharmaraj has a Masters' Degree in Computer Science from MIT and spent summers working at AT&T Research and Xerox PARC. He received undergraduate degrees (in math and computer science) at the University of Pennsylvania.

No Barriers

Since one of the goals of this project is sharing Ananda's spiritual resources to every sincere seeker worldwide, how can we do this when not everyone reads English? Fortunately, ASP.NET, offers our developers powerful tools to build a multilingual application. Ananda Resource Library will be built from the ground up to be "browser culture" (or language) aware. Each user establishes a default language when using a browser to view Internet based content. ASP.NET has built-in capabilities to sense what language a browser is set to before it delivers content. For in-depth research, refer to this MSDN article. For non-ISO languages, check out this article.

Does this mean that English text will "automagically" be translated on the fly. Unfortunately, this is not the case. At least not yet! However, one website framework (rather than many) can be used to support many languages. There are automated webtools to translate text from one language to another for free. However, their accuracy (and appropriateness) would be a topic for conversation and another post!

One of the team's first steps will be to decide what languages to build for, in addition to English. My guess is that Hindi, Italian, Spanish and German will definitely be mentioned with others to be added.

The title of this post is "No Barriers". Unfortunately, millions in this world still do not enjoy ready access to the Internet. Let us hope as Dwapara continues to unfold, the number of individuals who can reach the Ananda Resource Library website increases by a significant percentage each passing year. Are you just a little curious just how many individuals in the world do have internet access?

Saturday, April 15, 2006

A DSL Primer – Chapter Duo

DSL – Digital Subscriber Line

As you know a DSL modem is orders of magnitude faster than a dial-up modem. The fastest ADSL standard, known as ADSL2+, is capable of 24Mbit/s downstream speed. Compared with a 56K modem, this is more than 400 times faster. Don’t start drooling because we can’t offer that speed of internet access in the village, at least not yet. We are limited by Ananda Bell’s pipe to the internet which is currently a bonded pair of two T1 lines giving us an aggregate capacity of 3Mbit/s downstream and same upstream. This will soon be upgraded to a total of three T1 lines, which will provide an aggregate bandwidth of 4.5Mbit/s.

When we first installed DSL in the village, we were using the first generation DSL standard called ADSL Lite (or G.Lite), which provided 1.5Mbit/s downstream and 0.5Mbit/s upstream speeds. Note that, because all of our DSL connections in the village end up being funneled through a single T1 line (1.5Mbit/s upstream and 1.5Mbit/s downstream) we had to use some measures to prevent a single person taking up the entire bandwidth of the village. So, Ric and I implemented profiles of different speeds; bronze, silver, gold, platinum, etc. This created a tiered service offering at different monthly costs to appeal to many households, as well as prevented the bandwidth hogs. Later on we upgraded our DSLAMs to be capable of the more recent standard called ADSL2, which in theory could give each household 12Mbit/s downstream speed but again, we had to rate-limit each connection to provide fair-use of our much smaller pipe to the internet.

Apart from speed, another great feature of DSL is that it works on your existing phone line and even when you are on the phone. How does it do that?

Your telephone service (POTS – Plain Old Telephone Service) carries human voice in a frequency range of 0 to 3,400 Hertz (cycles per second). This results in a somewhat low quality sound as it does not include the full-range of human voice. You may have noticed that often times it is hard to distinguish between “s” and “f” sounds on the phone, that’s because the high frequencies that are needed to distinguish those sounds are filtered by your phone or by the phone switch. In comparison, most stereo speakers can cover 20 Hertz to 20,000 Hertz. You may have also noticed that when you make a Skype call from one computer to another, the sound quality is much better than a POTS call, because Skype software does not filter out human voice as aggressively as POTS.

Your phone wires are capable of transmitting much higher frequencies than even the audible range, several Mhz (megahertz) in fact. These higher frequencies do not interfere with the voice on your phone line and therefore provide a large playground for the DSL technology. ADSL2 uses up to 1.1Mhz, ADSL2+ uses 2.2Mhz and the VDSL2 standard uses as much as 12Mhz.

Fax machines also use the frequency range of POTS calls. That’s why you can hear the tones generated by the fax machine, but you cannot make a phone call on the same line shared by a fax machine if your fax machine is sending or receiving at that time. One could theoretically make a fax machine that uses higher frequencies and that can send and receive much faster, but then you need to have those two fax machines connected directly to each other, because if you go through the phone company’s switch, guess what, they will filter all the high frequencies again. The good old dial-up modems worked fine between you and your friend’s house because they only sent their signal over the POTS frequencies. You cannot do the same with a pair of DSL modems. That’s why the peer for your DSL modem is located at the phone company, where the voice frequencies and DSL frequencies are split. The voice frequencies go to the phone switch in the PSTN, the DSL frequencies go to the DSLAM.

To be continued ...