Archive for the 'VMWare' Category

Running ACU CLI on ESXi 4.1

See this Great link

http://v-front.blogspot.com/2012/03/how-to-run-hp-online-acu-cli-for-linux.html

My quick Tip

Copy the ACU folder to ESXi via Datastore Browsers. SSH on to device, and Change to the directory in the VMFS store where you upload the ACU folder.

Run the following command to fix the permission issue:

. ./fix4esxi.sh (Remember the space between the two full stop)

To start ACU CLI run the following command:

./hpacucli

 

12,659 total views, 21 views today

List running processes VMware ESXi 4.1 – hpacucli

On Esxi 4.1 and you are running hpacucli command line to manage array on a HP smart raid card.

If you session get discounted while you run  hpacucli. When you reconnect to host and try run the command again it will saying the process is already running. Run the following command to find the Process ID (PID):

ps | grep hpacucli

Once you have the PID run the ‘Kill’ command followed by the PID. To kill the process, you should then be able to run the  hpacucli command.

8,069 total views, 6 views today

vSphere 5.1 single sign on SQL named instance error

I have been testing upgrading vSphere 5.0 to 5.1, The first prerequisite is that you need to install VMware Single Sign On.

When you install this you can either use the built in SOL express or use full blown sql and then create your own database as describe in the user guide.

If you are using the SQL default instance  the install works fine. But if you are using a  SQL named instance like I was(testvc01\testsql) I could not get the setup to get past the database information screen, I could not get it talk to my  SQL named instance using  JDBC. Single Sign On uses JDBC and not DSN like vSphere and Update Manager to speak to SQL

I could not find any documentation from vmmare if the single sign on supports  SQL named instances. I found something that  it does not support SQL cluster database.

But after trial and error found out that from looking at the logs, it was get a connection refused error on port 1433. Doing  a

netstat -an |find /i "listening"

there was nothing listing on that port. Only the default instances of the SQL uses that port. All SQL named instance uses a dynamic port. If you use “SQL Server Configuration Manager”  look under Protocols  for that instance, Doube click on the TCP/IP, Then click on IP address tab and scroll down to the bottom it shown you the dymanitc port the name instance is using dynamic port in my case 49325.

On the datebase information screen, change the port from to 1433 to 49325. Making sure you have entered the FQDN of the sqlserver,Database name,Username and Password. You will be able to click next and get to the next page.

Obviously this a dynamic port which mean that it may change on the server when it get rebooted or when then the service is restarted. You can set a static port manually. Go back to the same place in “SQL Server Configuration Manager”  as before and scroll down to the bottom and you can enter a static port under used port into  the “TCP Port”. I chose 1435. Just stop and start the sql service to make the change happen.

 

 

 

6,420 total views, no views today

Rename Folder VMware Datastore Browser

If you need to rename a folder in vmware via Datastore Browser. In my case I copy a Virtual Machine folder to a new VMFS volume and wanted to rename the original folder for the rollback plan encase anything went wrong.

If you try and right click the folder on the left hand side pane to rename it. There  no option to rename it.

Dont worry you can select the top level folder (/) on the left hand pane so that you can see the folder on the right hand pane. Right click the folder and the option is there to rename it.

35,811 total views, 3 views today