Wednesday 7 August 2013

VMware Error (Solved) : The attempted operation cannot be performed in the current state (Powered Off)

Hi Guys,

You may be face this error on ESXi server after deploy the vm image onto ESXi.

" The attempted operation cannot be performed in the current state (Powered Off)"

After convert the vm, you will try power-on to the vm image. But vm can't boot up and it's only show above error at the console. And you can't power-off to that vm image also. This may occur relatively snapshot of vm image.

Here I will show how to solve this error.

First, you need to power-off the vm, but you can't power off from vSphere or vCenter.
So login to the ESXi server via ssh.

And use the "esxtop" and need to find out the WID of that vm's process and kill it.
#esxtop
By default, esxtop won't show the WID, you need to enable in the feild order.
So Press "f"
and choose the WID feild and press "Enter".


Now it's showing WID at the esxtop field. And record the WID of your vm name.


And To kill the process, press "k" and put the WID of your vm then press enter . Now you can quit from the esxtop, Press "q". Check at the vSphere, you will be see your vm is already power off.

Now you need to go VM folder location, So browse the datastore, and find your vm image folder and browse it.


There, you will be found  "xxxxx.vmsd" file and delete it.


Now you can power-on the vm image again, It will up successfully without error. :)

>>

UTEE

Ref : http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1000959

Friday 2 August 2013

Google Authenticator !!!

Hi Guys..

Now a day, most of the service (gmail, facebook, dropbox, etc..) are provide secure authentication as know as verify to your authentication with verification code to secure to your account. In this case, some can be done to verify to your authentication/ to generate verify code with your smart phone ( iPhone, Andriod, etc..). Sample: Gmail : If you are active the google 2-setp authentication, Gmail will send the verification code with the SMS service to your phone to verify to your authentication when you login to your gmail on a browser. For the facebook, you can use the code generator which a feature of facebook app of your smart phone. But you will be limited access to use that services on some of the country and in a situation as without internet access.

So to be convenient in anytime and everywhere, I want to share the one of the smart phone app "google authenticator". This will provide you to code generator service as offline.

You can easily to download this app from app store and google play and very easy to setup and use.

Here, check out to setup the google authenticator for gmail ...
https://support.google.com/accounts/answer/1066447?hl=en

This is for facebook ..
http://andrew.kvalhe.im/how-to-set-up-google-authenticator-with-facebook/

And this one is for dropbox ..
http://www.iphoneincanada.ca/how-to/how-to-setup-dropbox-with-2-step-verification-and-google-authenticator/

And This google authentication can be use for other popular services.. 

-Amazon Web Services
-Microsoft account
-WordPress
-Evernote
and more ... check out here .. http://en.wikipedia.org/wiki/Google_Authenticator#Usage


I am highly recommend you to use this app, if you have smart phone... :)

 >>

UTEE


Ref : https://support.google.com/accounts/answer/1066447?hl=en
        http://en.wikipedia.org/wiki/Google_Authenticator#Usage