Category: Hardware

  • How to increase HDD size for a VM

    Quick step by step guide on how to increase HDD size for a VM

    Steps required are,
    1. To increase the hard drive space, first increase the hard drive size in VMWare.
    2. Execute below commands to first recognize the partition
    # /sbin/fdisk /dev/sda
    p
    n, p, enter # select partition number
    enter
    p # to verify new partition
    w
    # reboot

    3. Add the new partition to total partition to increase the disk space
    # /sbin/pvcreate /dev/sda3 # Modify sda3 to the last sda
    # /sbin/vgdisplay | /usr/bin/head # Check the VG Name, and LV Name which we are going to extend
    # /sbin/vgextend vg_centos /dev/sda3 # Modify sda3 to the last sdan
    # /sbin/lvdisplay
    # /sbin/lvextend /dev/vg_centos/lv_root /dev/sda3 # Modify sda3 to the last sdan
    # /sbin/resize2fs /dev/vg_centos/lv_root
    # reboot

    4. You should now see increased disk space
    # df -h

    Steps have been adapted from
    http://www.bluhm-de.com/increase-centos-6.2-hard-drive-space-/-partition

  • What would future in the ‘cloud’ look like

    What would future in the ‘cloud’ look like

    I am always amazed at what computers have done so far. Many of us use, live and interact with a lot of devices, connected peripherals every second of our life. It has undoubtedly led towards a better, more social (perhaps), and a much engaging, but sophisticated ‘digital’ life.

    Whenever I look back over history on how this trend has progressed, the outcomes do seem to follow one particular pattern – progress, fueled by improving our ability to do some things we couldn’t accomplish so readily (and easily, economically) in the past. Things such as online shopping, commerce, ability to communicate, share important moments, bringing resources from one end of the globe to the other end in fraction of seconds. It is definitely a better place to be in today, than it was before. I believe most of us would now find it hard to imagine how could one live without an Internet, or even a mobile phone ever.

    One of the important achievements towards making this possible has been the big names such as Google, Amazon, IBM, Microsoft, HP etc pushing the limits of what software, hardware together can do to achieve a more connected, a more ‘alive’ digital world to come true. One of the most important topics of this decade (I would say) has been the advent of Cloud Computing.

    Cloud Computing, in a nutshell, is the ability to use computing resources – such as CPU, memory, storage – over the Internet. While the debate over whether Cloud Computing is just another market buzz is pointless in my opinion, it does has brought a few important questions to my mind as I think about what kind of future this progress can promise.

    Take a look at a mind-map I made recently when researching one of the most popular clouds offered – Amazon Web Services.

    Amazon Web Services 2014 Mind-Map

    The beauty of AWS (Amazon Web Services, for short) is how they’ve accomplished a feat with a clear mindset of making computing truly available as a utility. Of course, many in the corporate world would argue that such types of computing facilities already existed in virtualization world, and that is very true. Corporate worlds often had these needs to be able to spin out new machines, networks inexpensive yet keep economies of scale when you have to throw away any unused inventory that you no longer need. With a physical computer, it is hard to just get the right mix of specs to satisfy, but with a virtual one, things become slightly more manageable.

    One of the key strengths of the AWS, and perhaps the topic in question that I have in mind is, the ‘promise’ of utility computing, pay-as-you-go computing, ‘rent’ over ‘own’ type of computing.

    Historically, when computers were the size of a room, and mere mortals couldn’t afford (or even consider) to have one, IBM owned and dominated an industry of computing power available to corporations interested on a ‘rent’al basis. The premise was for IBM to offer computers to big companies, universities and let them use these under a pay-as-you-go sort of agreement. The idea was to be able to bill customers mainly on CPU time, but this soon expanded into an industry where it was a full-time job for one to understand, and perform accounting on CPU utilization, storage used, and even control the unwanted cost so that rented costs could be managed. I consider that this model had its run, and in some cases, is still prevalent in corporate worlds which use rental printers, infrastructure as a service, or some might say, even software as a service. This kind of model did have some benefits, mainly in terms of being able to not worry about maintenance of such complicated machinery, even not worry about servicing, maintenance since all of that could be bundled by IBM as a ‘service’.

    So, in a nutshell the benefits of using IBM’s model were

    1. You pay for only using what you used, nothing else. For a small cost, we take care of any hardware maintenance, patching, upgrades for you.
    2. No upfront costs, nor any costs down the line. We can offer, augment, decrease our rented resources to balance your needs
    3. Your environment, your assets. We give you the best computing resources to get things done cheaper, and faster.

    Of course, it may have been done differently for different sizes, different customers, different geographies, but I believe that was the promise expressed to alot of corporate consumers who started switching to personal computers, workstations before then. Of course, everybody wanted one computer of their own, and many still do.

    Now, when I look at AWS, I kind of feel many points are reminiscent of the time when powerful computing, networking, increased storage was not cheaply available for many of us to use. Networked computing, cost of managing servers, databases is hard, and not just that, it is ‘expensive’ too once you own it. Given the vast power offered by Amazon to anyone at their fingertips, many young entrepreneurs can surely do wonders. But if you consider for a moment about what goes with becoming together as a part of this ecosystem, you do have to question yourself – if you do wish to ‘pull-out’ at some point, would it be possible for you to do? The simple answer could be yes, but as with many things in life, an investment into something, even if it is a cloud, is not so easy (or practical) to undo.

    I predict that as with many trends within digital world, cloud computing will bring about a division within the digital world with big corporations driving market share towards cloud, yet still keeping their heads occupied towards new management issues resulting of out ‘wasted’ cloud usage. Similar to electricity savings during summers, there will be CoolBiz days where people are encouraged to optimize their ‘spend’ on utility computing. New jobs requiring cloud administration, monitoring, usage accounting on cloud will spring up. We’ll decide how advanced is a country by looking at its consumption charts on daily computing used compared to rest of the world. Most probably, utility computing might even become a government-owned service offered to anyone who would contract, and pay for its utilization.

    It’s not too often I compare the scales of performance that everyone sees of Amazon, Facebook, Google compared with their own, and be somewhat mentally assured about the fact that if you’re on the cloud, you can have all of that anytime. What many of us do fail to acknowledge is that when you’re the size of Google, Amazon or Facebook, you’ll have enough incentive to use a cloud, or even with the right team, have a mix of your own together with public clouds together. Whether we do have the incentive today or even now is definitely not an easy question. But a ‘lock-in’ into any kind of technology, be in PCs, cloud is always going to have implications on future for rest of us.

    As the digital world continues to become an increasingly complex world of its own, giants like Google, Amazon who are best are what they do will continue to fuel it. Whether one sees this as an opportunity, a trap, an evolution in networked digital computing is best left to people. But from an altogether different perspective, I believe one must see beyond the promise painted today into what it can become tomorrow.

    My advice – definitely exploit the cloud computing but in moderation. You’ll only want to live in a shared/rented apartment, no matter how good, for so long until you can finally own one of yours.

    I think most of us eventually do own one.

  • Undermining what makes things work

    Undermining what makes things work

    Computers used to improve our lives, automate seemingly mundane work, enable much done with less is omnipresent. As with anything commercially successful, software too has received careful scrutiny, tons of knowledge, plethora of suggestions on how to keep making software better. Probably many of us are aware, software industry is one of the most exciting, most confusing commercial domains of our age.

    My own experience attempting to do my startup has provoked me to the depths about thinking what could be right balance of software as technology forerunner for my company, against company as a managed organization to continue improving the technology. I ponder on questions like, should management be well-versed in technology, or should management be just good, plain old management? But then, how does management perceive managing technology different to any other case for management, say automobile industry? Do I favor a hands-on, roll up your sleeves approach (and attitude) from my management team? Or do I allow managers to carefully handle the veil between upper management aspects, to low-level technical, trench oriented projects?

    To me, the answer is very elusive, and not one that may have a definite answer best and safest weight loss pills. I’ll find out, but there is one small detail that I have some impressions about.

    Technology projects about improving the existing technology are not new. Almost every organization having an IT division has all of their technology projects about improving the existing ones. As it goes with everything else, most of these are assessed with one primary reason – the cost. Large technology changes, cost of maintenance, technology work owned, but essentially maintained by vendors, value proposition to any emerging business … in short, how much do we get over how much we give. That is an interesting aspect, borrowed over from commercial world of business. While there are reasons why such kind of monetary evaluation precedes technology value, the issue gets clouded when technology becomes almost secondary to any company’s growth preference, money comes first (and foremost).

    Amidst all this progress, I keep wondering about the value of existing technology.  To me the clear question is how do organizations perceive the existing systems value? How much of current technology can be written for future? By how much – 5 yrs, 10 yrs, 1 yr? Would we, as users, creators of the technology have the same unchanged need when we are in the future?

    Overall, how do you really evaluate technology improvements when one is unaware to the fact that it is current, existing technology which has led to this situation where you can think about improvements?

    I feel that most of us undermine working technology, over ideal one. Ideal one, if exists, will only come by when you stop looking any further. Working technology, however, is real, error-prone, touches you now. Improvements, not just in technology but anywhere, happen when we start asking the right questions to right problems. The other option is to keep yourself shrouded in veils, pretending there is a problem your teams are solving making few more along the way to improvements.

  • My views on Steve Jobs’s biography – Microsoft is here to stay

    I am reading Steve Jobs’s autobiography. Quite a detailed memo of Steve’s background as person who he was. The book is fantastic, and I recommend everyone should read it (atleast those in IT).

    One thing that got me thinking was the philosophy behind Apple’s products. These are never intended to replace any Microsoft products – ever! So why the heck do these seem in competition?

    As (it seems) Steve himself used to say ‘Good artists copy, great artists steal’, it easily could have been the case where Windows copied Mac. No point in arguing that further. But for how long?

    Windows 8, surface tablets, Androids, Dell Ultra books and so on … all trying to sell the same piece of technology and making wild predictions on attacking the same user base which Apple has.

    Personally, I’d be happy to use iPhone as a iPhone, and my Windows as a Windows machine. I wish they didn’t bother ordering what they think I need for me anymore.

  • Is recent IT talk just a show of hands

    I recently attended Oracle Events at Westin Hotel here in Ebisu. My topic of interest was to see what’s the future for a product we’re using that now has been acquired by Oracle.

    Quite interestingly the first session from a senior, hi-ranking Oracle official failed to woo me. I mean, c’mon. Just piggybacking on stuff that’s so prevalent nowadays with Apple doesn’t really make a case for Oracle to progress ahead. Big words were just thrown out on every page, every sentence. I sometimes wonder do these guys actually value much as far as the company is concerned. Oracle seems to be calling their new (but nothing novel) buzz as “Oracle Experience” to demonstrate an end to end service to their customers. Every experience you know about purchasing a thing is the exact same thing Oracle wants to offer?

    Just what is the customer these days? A lump of flesh, an idiot, or a baby who needs your constant attention, and love to continue using your product? Much recently, the Apple has garnered alot of attention, craze, hysteria within the so call consumer market. Now everyone wants to try it out – suddenly everyone’s got ‘it’.

    The Oracle Event was a prelude to their sudden attention to their customers. Surprisingly, I didn’t come across a single presentation that meant anything for the ‘customer’. Every statement was proclaimed as seen from where Oracle stands. At times I felt trouble just bearing the innate nonsense these guys keep churning about every keynote presentation they make.

    Make a genuinely good product that last forever, satisfy what the customer needs, and …

    just stay out of the way for f*k’s sake.

  • iPhone 3G/3GS SIM Unlock Guaranteed

    I unlocked my iPhone 3G to use in India using below simple steps

    Prerequisites-

    • Backup all contents of your iPhone
    • Ensure you have a wireless internet access point available (this is required while unlocking). Either create an adhoc WiFi network or do these steps where you have an accessible WiFi connection.
    • Download <a title="iPhone1,2_4 visit this web-site.2.1_8C148_Restore.ipsw” href=”http://appldnld.apple.com/iPhone4/061-9853.20101122.Vfgt5/iPhone1,2_4.2.1_8C148_Restore.ipsw” target=”_blank”>iPhone 4.2.1 firmware file
    • Download iPad 3.2.2 firmware file

    Steps to unlock iPhone 3G/3GS SIM-

    1. Connect your iPhone to iTunes, and click Shift+”Restore” button. This will prompt you to choose location of downloaded IPSW (Firmware) file.
      This will erase everything from your iPhone, and initialize it to factory settings (hence backup everything before you do this!) 

    2. Once iPhone is restored to iOS 4.2.1 in about 10-15 mins, download redsn0w rc12 (Alternate location) which is the tool we are going to use. Keep redsn0w.exe, iPhone 4.2.1 IPSW, iPad 3.2.2 IPSW files in same folder.
    3. Start redsn0w, and follow the steps (pretty much redsn0w screens are self-explanatory)
      1. Choose iPhone 4.2.1 IPSW file, redsn0w will verify and prepare contents for jailbreaking iPhone
      2. Choose “Install Cydia” (required for unlocking SIM), and “Install iPad baseband files” (required for SIM to detect your carrier) option. Other options can be selected/unselected as per your needs
      3. Shutdown your iPhone as next screen says, keep it connected to PC. And before hitting “Next” button, keep your finger on the iPhone power button ready to press, and hit “Next”
      4. Press iPhone Power button, after  3 seconds press iPhone Home button, keep both Power & Home button pressed for about 10 seconds, and then let go of Power button, keeping Home button pressed for another 5 seconds.The redsn0w screen guides you these steps, but since these are time-critical you need to keep both hands free to ensure that iPhone enters into so-called DFU (Device Firmware Update) mode, you should see your PC detecting new iPhone (DFU) mode while you perform these steps, and redsn0w should automatically move to next screen.

        In case you fail in above steps, redsn0w does not proceed. No worries, you can start from Step 1 again restoring iOS 4.2.1 via iTunes (hence it is better to download the IPSW files ahead for reuse)

      5. You need to keep connected to Internet since redsn0w uses Internet for accessing few files, before it jailbreaks, and boots your iPhone to custom iOS.
    4. Once done, rest of the steps are directly on iPhone, so when redsn0w says “Done” you can safely remove iPhone from your PC.
    5. After iPhone home screen appears, conntect to a WiFi network, and ensure you are connected to Internet (try using Safari)
    6. Lauch Cydia, and choose “Manage Sources” and choose repo666 at the bottom of the list. Adding this repository will show ultrasn0w packakge which you need to Install. Because Cydia does all of this over the Internet, you need WiFi.
      After ultrasn0w is installed, you no longer need WiFi, either disconnect it or keep it as per your needs.
    7. Once ultrasn0w is installed, shutdown iPhone, and put your new SIM
    8. Start iPhone, and within few seconds you should see your new carrier in your country, and be able to use iPhone!

    These steps are used by millions over Internet who wanted to unlock their iPhones and use them in whichever country they go. I hope you use them and leave a short note on how your experience was. I am using my iPhone without any problems, and am very happy!