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!

vmware vCenter Appliance (port 5480 & Patch/Update)

I installed VMware-VCSA-all-6.0.0-2562643 at first time. I tried connet to the Web Console of Appliance at default port 5480 and i got error message. Telnet didn’t work too, so i started looking for solution on internet, and i found this articel (KB2120477) “Logging in to the VMware vCenter Server Appliance Web Console on port 5480 fails”

OK, i have to update my vCSA system, bot how!? The only way was CLI update, right, let’s go!

First of all, we needs the latest patch/build of vCenter Appliance, and we can download it from this website. Log in to the myVMware site.

patch

Upload the iso file to one DataStore. I used the ESXi local DS, that ESXi where my vCenter Server Appliance ran.

Upload_Patch_file

We hade to create SnapShot from Server Appliance.

Right click VM, Select “Snapshots” option, and clik “Take Snaphot”

Take_Snapshot_from_vCenter

Wait until snapshot will be done, check Tasks.

Take_Snapshot_from_vCenter_91_precent

Next step: mount this iso into vCenter Server Appliance VM CD drive…

mount_iso_to_vcenter

and don’t forget fill the “Connected” checkbox! 🙂

mount_iso_to_vcenter_fill_the_box

Open SSH application, (i use to Putty) and loging into Server.

connect_to_vcenter_via_SSH

Type this: “software-packages install –iso –acceptEulas”

install_software_packages

install_software_packages_running_pre-install_script

install_software_packages_upgrading_software_packages

install_software_packages_successfully

You can see similar to this, when the upgrade was successfully.

I checked the disk performance during installation process. You can see below. This is avarage value.

install_software_packages_upgrading_software_packages_performance_iscsi_commands

You have to rebbot your vCenter Server, use this command:
“shutdown reboot -r updates”

reboot_vcenter_server

Wait for the boot process!

rebooting_vcenter_server

After boot process was done, check your system. LogIn to the vCenter Server, check build numbers, Open console selected VM… ect.

When U are sure, the system is working correctly, and update process is done, remove the snapshot, and disconnect mounted ISO image.

Manage_snapshots

Right click the VM, select “Snapshots” than “Manage Snapshots…”

Manage_snapshots_Delete_All

Click “Delete All” button.

I hope this short article will be able to help you in the future!

And woala, port 5480 (I almost forgot) 🙂

vCenterServerAplliabce

If U have question pls. don’t hesitate ask me!

vCSA 6.0.0 – Client Inegration Plugin not work in browsers

I have just started build a new HomeLab. I decided to try vCSA (Linux base vCenter Appliance), becouse i had saw vmWorld2015 session (upgrade vSphere environment Part1 & Part2) where told good from it.

My first problem was with Client Integration Plugin 6.0. My browsers dasn’t show vCSA page well. I saw this error message, but app was installed my computer.

Browser

I have searched internet and found a vmware KB (2125623) witch solved that problem.
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2125623

I’m installing my vCSA server now! 🙂

vCSA install
vCSA install

Thank You VMware! 🙂

vCenter 6.0 Install Linked Mode

I have 2 site in my lab environment. For eximple HQ site and DR-SITE, and each site have one-one vCenter server. Management will be easy when use this two vCenter servers in linked mode options. You can see two vCenter servers in same management application, WebClient or vSphere Client (thick). Platform Services Controll are going to replicate between two vCenter. I will show  you how able to create linked mode vCenter environment.

Requiments: You need VC1.LAB.LOC, this is a simple embedded deployment vCenter 6.0, nothing special, typical next next finish install.

1 – Insert VMware vSphere 6.0 media into the CD-ROM, or mount ISO, then choose vCenter Install

VC1-2015-03-14-12-26-41

2 – Accept license Agreement

VC1-2015-03-14-12-26-44

3 – On Select deployment type page, you can choose Embedded deployment

VC1-2015-03-14-12-26-49

4 – Type System Network Name (FQDN – Full name)

VC1-2015-03-14-12-26-52

5 – vCenter Single Sign-On you can choose “Join a vCenter Single Sign-On” option

VC1-2015-03-14-12-27-04

VC1-2015-03-14-12-27-11

6 – Create a New Site like DR-SITE

VC1-2015-03-14-12-27-22

7 – Configure vCenter Service Account (You can use AD domain service Account. In this example i select local system admin account)

VC1-2015-03-14-12-27-26

8 – Select database, like embedded vPostgress or full MS SQL 2008 r2 on external or internal server
http://pubs.vmware.com/vsphere-60/index.jsp#com.vmware.vsphere.install.doc/GUID-2F1D0E79-52C4-4DC2-AF01-11564207FBE1.html

VC1-2015-03-14-12-27-28

9 – Check ports

VC1-2015-03-14-12-27-30

10 – Select destination folders

VC1-2015-03-14-12-27-43

11 – Check the summary

VC1-2015-03-14-12-27-47

12 – Install process

VC1-2015-03-14-12-34-54 VC1-2015-03-14-12-47-22 VC1-2015-03-14-22-22-55

13 – If you did everyfing right, you can see someting like this picture, when you loged in any vCenter server.

VC1-2015-03-14-22-25-05

I hope this article help for you a little bit!