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.

Reset vRealize Operation Manager root password

I forgeted our vRealize Operation Manager (6.0) root password. At first time, when u used console, u can set up a password to root user. I forgeted it, but i find an easy solution how can reset it:

http://www.vmbaggum.nl/2015/11/how-to-change-your-forgotten-vrealize-operations-6-x-root-password/

Follow this steps, and u are able to reset root password. Thank you Marco!

Resetting VMware vRealize Infrastructure Navigator database

Today we have deployed VMware vRealize Infrastructure Navigator¬†appliance. This app is part of our vRealize Operation Manager¬†Advanced and Enterprise environment. This intriduction is a new project at my Company, and I’m glad to lead that.

The reason why I’m writing this post, because when we deployed Infrastructure Navigator, we got this error message: “An unknown VM access error has occurred”

We find this article: http://www.thegurleyman.com/how-to-fix-infrastructure-navigator-error-an-unknown-vm-access-error-has-occurred/

Unfortunately it isn’t worked ūüė¶ but I’m sharing this link, maybe will help for somebody who are looking for solution similar problem.

We find an other blog: http://www.virtualiseme.net.au/index.php/resetting-vin-database/ whitch explan how could reset database of Infrastructure Navigator.

  1. Log onto the VIN server as root
  2. Run the command : monit stop vadm-engine This will stop the VIN service
  3. Execute the file: /opt/vadm-db-config/bin/drop_db.sh This will drop the VIN database
  4. Execute the file /opt/vadm-db-config/bin/update_db.sh This will re configure the database
  5. run the command: monit start vadm-engineThis will start the VIN service The appliance should then start preparing the environment.
  6. Another good command to run is monit summary this will show the service status.

A good advice: don’t overwrite Infr. Navigator host name, because the first step won’t be work!!