Author Archives: Metin Arslan

Upgrade vSphere 5.0 to 5.5. 512 bit certificate issue

wmware-workstation-logoThis week I upgraded the vSphere 5.0 environment to 5.5 Update 1, which is usually not a big deal. I really can’t complain about the upgrade process itself, it’s more the result which I didn’t expect.
Once all components were up to date, I launched the vSphere Web Client which was working fine but at the top I saw the following error message:
Failed to verify the SSL certificate for one or more vCenter Server Systems: https://vCenter_FQDN:443/sdk
I was able to login via the C# client which showed the vCenter as usual, so it seemed to be a problem between the vCenter server and the Web Client.
After I spoke to the VMware Support it turned out that the vCenter Server doesn’t support the old 512 bit certificates. This problem is mentioned in the release notes:
After you upgrade vCenter Server 4.x to 5.5 Update 1, vCenter Server is inaccessible through vSphere Web Client*
When you upgrade from vCenter Server 4.x to 5.5 Update 1, the vCenter Server is not visible through vSphere Web Client. The issue occurs as vCenter Server 4.x supports SSL certificates with 512 bits but vCenter Server 5.5 supports only SSL certificates with greater than or equal to 1024 bits.
Workaround: To resolve this issue, replace the vCenter Server certificates with greater than or equal to 1024 bits
I wasn’t aware of this issue and even if so I would’t have recognize it, since I upgraded a 5.0 environment. The actual problem was that the environment has been upgraded from 4.1 to 5.0 before which is the cause why there still was the 512 bit certificate in use. To see if you are affected by this problem simply open the the rui.crt file (C:\ProgramData\VMware\VMware VirtualCenter\SSL) before upgrading vSphere:

The funny thing is that none of the installation wizards Continue reading

Automate VMware Tools Upgrade Proceses with PowerCli ( Free, Smart, Secure Deployment )

PowerCLIHello Pals,

If you need a fully automated guest vmtools upgrade process ,  Here you can find a scriptwork to do this automatically. In this script we’re using powershell job which has powercli snap-ins.

I hope it will help ;

####
###
## // This Script Automates the Vmware Tools Upgrade Process in a given Vcenter system ! //
# // To be cautious , script also runs snapshot processes before and after execution and uses powercli snap-ins. //
# // ….Developled by Metin Arslan – www.metinarslan.net …. //
###
#### Continue reading

All About Citrix XenApp Architecture

Citrix Xenapp 6.5 Installation step by step procedure

1. Document Scope:

This document describes the procedure to perform an initial setup of Citrix XenApp 6.5 on a Windows Server 2008 R2.

To support a globally centralized service desk it is necessary to follow this basis document’s procedures. This provides a similar Citrix environment worldwide with differences in view regional based configurations only, but nearly the same behaviour.

  1. System Requirements

•    Ensure that a new database for the new XenApp 6.5 farm is available on the SQL server hosting Citrix datastores in your environment

•   Install XenApp 6.5 on the first server in the farm and perform the initial configuration.

•   Install XenApp 6.5 on member servers and perform additional configuration as necessary.

 

  1. XenApp 6.5 installation

XenApp 6.5 Wizard based installation:-

To installing XenApp it is recommended to use the Wizard-Based Server Role Manager.On the installation media, double-click autorun.exe. The Citrix XenApp installation menu launches. Select Install XenApp Server.

The Server Role Manager launches and checks if any roles are already Continue reading

PowerCli Vmware Virtual Machines Without Vmware Tools

wmware-workstation-logoHello Friends ,

Here is the one line command that you can get the list of Virtual Machines that has no VMTools installed.

“Get-View -ViewType “VirtualMachine” -Property Guest,name -filter @{“Guest.ToolsStatus”=”toolsNotInstalled”;”Guest.GuestState”=”running”} | select name”

Hope it helps you
Regards.

PowerCli Vsphere Vcenter Cluster Utilization and Usage Reports

Hello Friends ,

Here you can find out the usage level determination powercli script to get cluster reports automatically.

———————————————

######
###
# This Script is developed by Metin ARSLAN
###
######

$report = @()
$clusterName = “*”
$report = foreach($cluster in Get-Cluster -Name $clusterName){
$esx = $cluster | Get-VMHost Continue reading

PowerCli to Monitor Dead / Lost Storage Paths on Vmware Vsphere Environment !

PowerCLIHello Friends,

I guess the most problematic scenario when you open a ticket to Vmware Technical Support is “All Path Down” (APD) situations.
Mostly the answer from Vmware support team is about to remove the dead paths to deny apd situations.
So what are you doing ? Are you still checking all hba connection state one-by-one ?

No matter ,

Here is the script that listing all Dead Paths to you if there is one or more. But I need to inform you , at the last of the algorith you can see a little if clause about if there is no any dead paths script returns 0.

———————————————

######
###
# This Script is developed by Metin ARSLAN
###
##### Continue reading

Vmware Report Virtual Server Resources PowerCli Script

PowerCLIHello Friends ,

The script below is reporting all vm’s on your vsphere environment with their all kind of resources like vcpu, memory, cluster name and Notices. If you need more detail like ipaddr, storage info .. etc you can add varible  after comma seperation.

# Script Starts—————————————————–

Connect-VIServer <$VCENTERNAME> -User <$domain\$user> -Password <$pwd>

Get-VM | Select Name, @{N=”Cluster”;E={Get-Cluster -VM $_}} , Notes , NumCpu , MemoryMB , ProvisionedSpaceGB , UsedSpaceGB  | Export-Csv “C:\Users\metinarslan\Report.csv” -NoTypeInformation -UseCulture

Disconnect-VIServer <$VCENTERNAME> -Confirm:$false

Automating Virtual Datacenters with Vmware PowerCli

PowerCLIHello Friends,

I think I’m one of the automation god and I love to do this, and also I can provide any kind of support who is following my website. Actually after lots of Linux and Microsoft Administration experiences, when i started to work on virtualization techologies, my first aim that i need to learn was PowerCli and vMA.

Here you can find out lots of scriptworks some beneficial scripts that you can use for your environment .

Warning : The scripts are written on Vmware Esxi 5.1 environment !

Check Categorization : Scripting please  or look for articles about scripts.

How to Install Citrix XenServer 6.2

50_certLogoHello Friends ,

Today I’ll try to write about how to install Citrix XenServer Software on a Physical Server,

XenServer is a complete solution of Citrix Server Virtualization platform that can support al server platforms.

At first let me write sth. about the difference between Xen environment to other vendor’s solutions ;

  • Xenserver is paravirtualizaed , another solutions like ESXi and Hyper-V has Cpu Scheduling Architectures. So they have cpu adressing problems on the usage times.
  • Xenserver environment doesn’t care anything about any management servers like Vcenter and if you loose vcenter that doesn’t make sense for Xen environment. All the administration goes on the pool servers and pool masters.

Also we need to see the prequisites and the installation steps one-by-one from the video below ; As you’ll watch it’s too simple .

As we can see on the video , the installation of XenServer hypervisor takes up to five minutes and very very simple to install. In XenServer environment you have lots of Continue reading