What is Cloud Hosting?

In simple terms cloud hosting is done via a large high availability SAN (storage area network) with no single point of failure. This SAN is connected to big hypervisors (or you can call them the hardware nodes) that have a lot of CPU and RAM. Each hypervisor can host multiple VMs (Virtual Machines). The key of this whole setup is that SAN never goes down and if it does there is another one with mirrored copy which takes over. Having a single SAN is of no use so in cloud it must be fully redundant. And if a hypervisor goes down then based on available space the VM can automatically start off from another hypervisor. The data remains on the SAN so there is no delay of moving any data across servers. The CPU, RAM and disk allocation of VMs can be easily adjusted.

Now compare this to single server hosting solution where if the server crashes and the data is not recoverable you have to restore it all from the backup and many times re-setup the whole system from scratch, resulting in long downtimes. You cannot add more RAM, CPU or disk without downtime and there are physical limitations to it.

Find newer files on linux

Today I had to recover some files from backup that were uploaded during a certain time period over night by a developer into production server. To quickly find the files which needed to be restored I came up with this little trick

find ./ -newer somefile

Where somefile was another file which was a reference point to find any files newer than that one. This listed all the new files.

Traffic Shaping in Mac OS X using ipfw

Since I have to do a lot of YouTube uploads as part of my volunteer work, my Internet connection was getting choked causing problem for other work (email, ftp, etc.). Thanks to Mac OS X built-in ipfw I can limit uplink connection based on services, destination ports or IPs! This is just a quick test to limit the uplink for web uploads to 200KB/sec.

 ipfw pipe 10 config bw 200KByte/s
 ipfw queue 75 config pipe 10 weight 75
 ipfw add 100 queue 75 ip from me to any dst-port 80,443

Help taken from Destructive Thinking.

Ex-Qadiani Ahmadiyya Tahir Mansoor Khan’s Journey To Islam

There is no shortage of murtadeen (reverts) in Islam. Those who leave Ahmadiyya Muslim Community are only going back to the darkness. Ahmadiyyat teaches us to be true Muslim by following the teachings of Holy Quran and Holy Prophet Muhammad(saw) in our lives. What do Mullahs teach? Show me the light and I’ll follow. The light of this age is Hadhrat Mirza Ghulam Ahmad Qadiani(as) The Promised Messiah and Mahdi. The one who cuts his ties with him will fall into darkness.

Non-Ahmadi Muslims run away from Holy Quran and call Ahmadi Muslims as Qadiani Kaffir

Someone asked on this blog that old Jesus(as) can still come back, to which I replied that why do you reject the verses of the Holy Quran that prove he died like all other prophets and he cannot be alive in the skies and I gave this link that prove conclusively from the Holy Quran that Jesus(as) cannot be alive since 2000 years. I also gave this link that lists the past scholars of Islam that agree on the natural death of Jesus(as). Instead of reading it and discussing the fine points, the gentleman replied: “first of all i dunt consider u guys to be muslims….since u dunt believe in khatm e nabuwwat….”

You can see who loves Holy Quran 🙂

Here is my reply:

  1. We are not asking for your opinion if you consider someone Muslim or not. God will not judge anyone by what you think. However He will judge you according to His teachings that we find in Holy Quran and Hadith.
  2. Ahmadi Muslims believe in Khatam-e-Nabuwwat exactly like Holy Prophet(saw) was Khatam-un-Nabiyeen. And not how you think he should be. Again you are not the authority on the subject, the authority is Holy Quran and Hadith.

So get this misconception out of the way that Ahmadis do not believe in Khatam-e-Nabuwwat. It is the other way around. You are the ones who do not believe Holy Prophet(saw) to be Khatam-un-Nabiyeen. Instead you believe Jesus(as) to be last prophet on earth.

Now if you have a few minutes please spend them in reading Holy Quran and the verses I quoted that prove that old prophet Jesus who was a prophet for Bani Israel only, and died like all other past prophets. Stop throwing statements like “you are kaffir”. They will not help you anyway, except to keep your ego high. May Allah shower His Mercy on you and grant you courage to accept the verdict of the Holy Quran and Holy Prophet(saw).

Can someone please fill me in about these ‘qadiani’ or ‘ahmadis’ people?

This question was posted on the Yahoo! answers website and the responses posted by ignorant Internet users were typical of the anti-Ahmadiyya propaganda. I posted this as an answer:

You can learn about Ahmadiyya Islam at their official website http://www.alislam.org

They believe that the Messiah and Mahdi being awaited by Muslims has arrived in the person of Mirza Ghulam Ahmad, to spread the true peaceful message of Islam to the corners of the world. They have missions all around the world. Their members contribute and donate to spread the message and build mosques. They have just built the biggest mosque in Canada and are now building one in Ireland. They built the first mosque in Spain after 700 years. They run 24/7 TV channel called Muslim TV Ahmadiyya (http://www.mta.tv) again run by the donations of their members (unlike oil money of Arabs training terrorists in Afghanistan and Pakistan)

They have translated Holy Quran (yes of course same Holy Quran that was revealed to Holy Prophet) into 70 languages of the world and have established their missions in 190 countries.

Rest of the Muslims are still waiting for the Messiah/Mahdi.

That is only difference. Rest is all propaganda and lies by detractors.

Brutal murders in Indonesia – Open letter to President of Indonesia

I am writing to inform you of the continuous and repeated violations of human rights in Indonesia. As you must be aware, on February 6th 2010, 3 members of the Ahmadiyya Muslim Jama’at were publicly killed in the streets of Cikeusik. The attack was conducted by some 700 people. Police failed to stop this even though they had been warned a few days before about an impending attack on the local Ahmadi Muslims. Reportedly, the attackers came to the local centre of the Ahmadiyya Muslim Jamaaat, prepared with machetes, spears, knives and other weapons.

Even more appalling was that this attack was also caught on amateur video with a barbaric beating of two dead young men who already lay dead on the ground. I reiterate, they were not moving and yet they were continually being beaten and in the background you heard the crowd chanting “Allah o Akbar”. This video has now gone viral and has been submitted to various human rights organizations and has spread across the world. The attackers are clearly identifiable in this video. Up until now, no one has been arrested in regard to this event. We trust that the government will make every effort to arrest and charge those involved in this heinous act.

The members of the Ahmadiyya Muslim Jama’at urge you to take action and stop the barbaric persecution of Ahmadis. According to the Constitution of the Republic of Indonesia, Section XI, Article 29: “The State guarantees each and every citizen the freedom of religion and of worship in accordance with his religion and belief.” The acts of violence against the Ahmadi’s are a clear infringement of this and a clear violation of basic human rights.

I am writing to encourage the government of Indonesia not to stray from the path of equal rights of its citizens. The current path of religious intolerance will only continue to escalate and worsen if nothing is done to help. I implore that the government, take a stance of justice and protect its minorities from all religious intolerance. As a Muslim, I’m spreading the word of these injustices to others and I want to ensure that we will not stop spreading the word of this persecution until the people responsible are brought to justice and Ahmadi Muslims safety is guaranteed in your country.

cPanel/WHM – [checkperlmodules] The perl module SQL::Statement could not be installed

There is a cyclic dependency for this perl module which is causing problem in installation. You would receive email like this:

Subject: [checkperlmodules] The perl module SQL::Statement could not be installed.

This module is required by cPanel, and the system may not function correctly until it is installed, and functional.  Below is the results of the auto-install attempt:

Test Run
Can’t locate SQL/Statement.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at – line 1.
BEGIN failed–compilation aborted at – line 1.

Solution of this problem is to install the perl module manually.

cd /home/.cpan/sources/authors/id/R/RE/REHSACK/
wget http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/SQL-Statement-1.31_002.tar.gz
tar zxvf SQL-Statement-1.31_002.tar.gz
cd SQL-Statement-1.32 && perl Makefile.PL && make && make test && make install

And verify using