Migrate from Windows base vCenter PSC to VCA PSC

I tried how can migrate from windows base vCenter to linux base VCA server. In this post I would like to share my experience.

Fortunatlely the migration process reconize our vCenter environement, and it is able to determinate wich type of vCenter (PSC or not) want we migrate.

First of all we can runing VMware Migration Assistant on source vCenter server. You can find this app on vCenter install media.

This console base app will check our server is meet the requiments of migration. Eg.: in my lab environment i didn’t use gateway, becouse i used same subnet for all servers. This tool notice me, this is an error!

When everithing was fine, you will see “Waiting for migration to start…” message end of lines.

vcenter_migrate_to_vcsa_000

Next step we can runing vCenter Server Appliance 6.5 Installer, and click to “Migrate” option.

vcenter_migrate_to_vcsa_001

Follow the install’s instructions, fill the gaps.

vcenter_migrate_to_vcsa_002

vcenter_migrate_to_vcsa_003

Add ESXi host’s IP address where have you been install the vCenter Server Appliance, and add root user’s password.

vcenter_migrate_to_vcsa_005

Fill the temporary IP datas. Until the migration process the temp. IP address will be change.

vcenter_migrate_to_vcsa_006

Summary page.

vcenter_migrate_to_vcsa_007

When U clicked to Finish button the installer will deploy a new PSC server.

vcenter_migrate_to_vcsa_009

After the installation process, click “Continou” button to migration process let started.

vcenter_migrate_to_vcsa_010

Migration stage 2 will be started.

vcenter_migrate_to_vcsa_011

When your server was part of MS Active Directory domain, you can join your Appliance to domain during installation process.

vcenter_migrate_to_vcsa_012

Why not? 🙂 Join the VMware’s Customer Experince Imp. Program.

vcenter_migrate_to_vcsa_013

The migration summary tab. You have to click to I have backed up my source server option, despite the process can’t start.

vcenter_migrate_to_vcsa_014

vcenter_migrate_to_vcsa_015

vcenter_migrate_to_vcsa_016

YES! Your source server will be shut down, becouse two ip address in one network don’t exist!

vcenter_migrate_to_vcsa_017

vcenter_migrate_to_vcsa_019

vcenter_migrate_to_vcsa_020

Done! Your vCenter Server was migrate to VCA!

If you have any question, pls. dont’t hesitate contact me. Leave message!

 

VMFS 6 Upgrade

We have tested our new demo Dell EMC Unity 400F storage and we conneceted this test to our vSphere 6.5 test. 2 in 1 solution I really like it 🙂

I red White Pepaer about vSphere 6.5 Storage, and i find in this article, VMware introduce new VMFS. I want upgrade our VMFS version to latest version. Like always i have started search upgrade option, but i couldn’t find it.

I started read about whats new vSphere 6.5 Storage, and i find this in VMware Document Center: https://pubs.vmware.com/vsphere-65/topic/com.vmware.vsphere.storage.doc/GUID-7552DAD4-1809-4687-B46E-ED9BB42CE277.html

End of this article I recognize why I couldn’t find any upgrade button 🙂

“Upgrade. After you upgrade your ESXi hosts to version 6.5, you can continue using any existing VMFS5 datastores. To take advantage of VMFS6 features, create a VMFS6 datastore and migrate virtual machines from the VMFS5 datastore to VMFS6 datastore. You cannot upgrade the VMFS5 datastore to VMFS6.”

 

Enable SSH VMware vRealize Operation Manager (vROps 6.x)

We have investigated our problem with VMware Support and they want run a query in Postgres database. Usually I use Putty for SSH connection, but before I could do this I should on the ssh on vROps:

  1. Open vROps Console and press “Alt+F1” to switch console
  2. Type “root” user
  3. In default vRealize root user hasan’t password
  4. Press enter for Old password and the promt will change New password
  5. Type new password and type again
  6. When we are able to login by root type: “chkconfig sshd on”
  7. Start service: “service sshd start”

Go back to Putty and connect to vRealize Operation Manager by ssh.

Upgrade from single vCenter server on separate DC to Linked mode common SSO domain with external PSC solution

We use DR site and SRM for protection our applications like SAP. Both data center used to single node vCenter server witch server served all VMware component: vCenter Server, SSO, Inventory Service and Web Client. It was a separate sso domain. In this year we have upgraded our VMware infrastrucuture from 5.5 to 6.0 and SRM too.

The recommendation says use external PSC to SRM envinronment. So we had to upgrade single vCenter servers to external PSC environment. Becosuse we hade to this i would have liked to use common SSO domain and Enhanced Linked Mode. The usage of this architecture are easier for Administrators and anybody else.

So in this article i will write about how you can do that.

First of all look where is the bigining and what is our goul. The picture below you can see, at the begining. We had two separated vCenter server and we can upgrade this envinroment to a totally different architecture. External PSC, Common SSO and Enhanced Linked Mode. Let’s start.

Logical view
Logical view

Here is official doccumentation of supported upgrade path:
http://pubs.vmware.com/vsphere-60/topic/com.vmware.vsphere.upgrade.doc/GUID-78B9F91E-36BE-4B76-B214-BF8229576C30.html

1 – Install two External PSC server each site (DC1 and DC2)
vCenter Server for Windows Requirements: http://pubs.vmware.com/vsphere-60/topic/com.vmware.vsphere.install.doc/GUID-F072712B-F568-4C3A-A4BC-EE6856D50CDA.html

2 – Install first PSC server on DC1

install_external_psc_001

install_external_psc_002

install_external_psc_003

install_external_psc_004

3 – Install the other PSC server witch are going to join to common SSO domain and part of link (vsphere.local)

install_external_psc_005

install_external_psc_006
In this point you can join to PSC1 domain, Select “Join a vCenter Single Sign-On domain” and fill the fields.
install_external_psc_007
Click to “OK” button
install_external_psc_008
Create a new site name, in this eg.: Site2 (eg.: use geographically separation like LA)
install_external_psc_009
This is a summary tab where you can review the final settings

Ok, now we have two Platform Service Controller in common SSO domain, and Enhanced Linked Mode configuration. Next step is we can pin our vCenter Servers to PSC servers. Becouse we used to single vCenter solution, we decided to uninstall the vCenter server from Windows exept SQL DB, and reinstall only vCenter role. You will see steps of resintall below.

!!!! Before you uninstall your vCenter Server role from OS, export all users and permission settings. I recommend for you this VMware Kb Article: https://kb.vmware.com/kb/0000172

We don’t use complex permission system, therefore we handle this by manul solution.

4 – Install vCenter Server whitch will be pin to PSC1-DC2

install_vcenter_server_001

install_vcenter_server_002
Add Platform Service Controller server where want to pin this vCenter Server (in this example PSC1-DC2.domain.loc)
install_vcenter_server_003
In our environment we use a dedicated local user for Service Account
install_vcenter_server_004
This is the DSN created earlier. Type User/Pass for connection to SQL DB
install_vcenter_server_005
This is a very IMPORTANT step!!! You CAN choose “NO” or else your vCenter DB will be erese.

5 – Install the other vCenter server to PSC1-DC1

I don’t show the same steps as above, i will show you the only one different witch is you can type the other Platform Service Controller FQDN or IP address.

install_vcenter_server_006

I hope this article will help for your upgrade. If you have any question pls. don’t hesitate contact me!

Cisco UCS memory inventory by PowerShell

We upgraded our Cisco UCS environment, every host got extra memory from 128 to 256GB. Before we did it we had mesured CPU usage by VMware vRealize Operation Manager. It was a great help to this process. We ware able to proof the CPU performance will be ok with this memory size. We would have liked to incrase our VMware environment density.

We had to coolect every memory module serial numbers, and information about that witch chassis consist of witch memory modul.

We used to Cisco PowerShell for this task. Yes, exist PowerShell tool for Cisco UCS 🙂

You can download Cisco UCS Power Too pack (click link) and install your computer.
(You must restart your computer after install process)

Collect memory serial numbers, and UCS chassis information:

Get-UcsMemoryUnit | Export-Csv c:\tmp\UCS_Memory.csv -Encoding utf8

Get UCS chassis serials:

Get-UcsBlade | Export-Csv c:\tmp\UCS_Serials.csv -Encoding utf8

Whit this two Excel you are able to determine witch memory modul are witch chassis.