VMware vCloud Director for Service Provider upgrade from 9.7 to 10.0

Check prerequisites, documentation, release notes

Documentation: https://docs.vmware.com/en/vCloud-Director/index.html

Release notes: https://docs.vmware.com/en/vCloud-Director/10.0/rn/VMware-vCloud-Director-for-Service-Providers-100-Release-Notes.html
API: https://code.vmware.com/apis/553/vcloud-director

Instalation,configuration and upgrade guide: https://docs.vmware.com/en/vCloud-Director/9.7/com.vmware.vcloud.install.doc/GUID-F14315CC-B373-4A21-A3D9-270FFCF0A417.html
In my scenario I have CentOS 7 VM where is vCloud director 9.7 running. And another VM where is running PostgreSQL.

Step-by-step guide

  1. stop vCloud services

    /etc/init.d/vmware-vcd stop

  2. backup vCloud DB. In my case PostgreSQL

    su – postgres

    pg_dump vcloud > /var/lib/pgsql/vcloud-backup_20200124-1821.sql

  3. create snapshot on vCloud Director VM a PostgreSQL VM
  4. upload and run installation file

    ./vmware-vcloud-director-distribution-10.0.0-14638910.bin

    Checking free disk space…doneChecking for a supported Linux distribution…Detected CentOS7 systemdoneChecking for necessary RPM prerequisites…doneExtracting VMware vCloud Director. Please wait, this could take a few minutes…vmware-vcloud-director-25.2019.09.12-14636284.x86_64.rpmvmware-vcloud-director-rhel-25.2019.09.12-14636284.x86_64.rpmvmware-vcloud-director-h5ui-25.2019.09.12-14636284.x86_64.rpmvmware-phonehome-1.0.0-14574960.noarch.rpmdoneVerifying RPM signatures…doneAn older version of VMware vCloud Director has been detected and will beupgraded to 10.0.0.If you choose to proceed, the installer will stop the vmware-vcd service,back up any configuration files from the previous release and migrate theproduct configuration as necessary.

    Would you like to upgrade now? (y/n)? y
    Upgrading VMware vCloud Director…
    Installing the VMware vCloud Director 10.0.0 RPM…
    warning: vmware-vcloud-director-25.2019.09.12-14636284.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 66fd4949 : NOKEY
    Preparing… ################################# [100%]
    Updating / installing…
    1:vmware-vcloud-director-rhel-25.20################################# [ 13%]
    2:vmware-vcloud-director-25.2019.09warning: /opt/vmware/vcloud-director/etc/global.properties created as /opt /vmware/vcloud-director/etc/global.properties.rpmnew
    ################################# [ 25%]
    3:vmware-vcloud-director-h5ui-25.20################################# [ 38%]
    4:vmware-phonehome-1.0.0-14574960 ################################# [ 50%]
    Cleaning up / removing…
    5:vmware-phonehome-1.0.0-12611311 ################################# [ 63%]
    6:vmware-vcloud-director-h5ui-24.20################################# [ 75%]
    7:vmware-vcloud-director-24.2019.03################################# [ 88%]
    Update completed.
    8:vmware-vcloud-director-rhel-24.20################################# [100%]
    done
    No DSA certificates found; disabling DSA ciphers for SSL/TLS connections. See KB 2056026 for details

    Upgrade installation complete.
    Next steps:

    You will need to upgrade the database schema before starting the
    vmware-vcd service. The product upgrade tool should be run only once per
    vCloud Director group. The tool may be run with the following command:
    /opt/vmware/vcloud-director/bin/upgradeRun upgrade script

  5. Run upgrade script
    /
    opt/vmware/vcloud-director/bin/upgrade

    Welcome to the vCloud Director upgrade utility

    Verify that you have a valid license key to use the version of the
    vCloud Director software to which you are upgrading.

    This utility will apply several updates to the database. Please
    ensure you have created a backup of your database prior to continuing.


    Do you wish to upgrade the product now? [Y/N] y
    Examining database at URL: jdbc:postgresql://Postgre-DB.lab:5432/vcloud?socketTimeout=90
    The next step in the upgrade process will change the vCloud Director database schema.
    Backup your database now using the tools provided by your database vendor.
    Enter [Y] after the backup is complete. y
    Running 5 upgrade tasks
    Executing upgrade task:
    Successfully ran upgrade task
    Executing upgrade task:
    Successfully ran upgrade task
    Executing upgrade task:
    Successfully ran upgrade task
    Executing upgrade task:
    ……………./Successfully ran upgrade task
    Executing upgrade task:
    ……………[15]
    Successfully ran upgrade task
    Database upgrade complete
    Upgrade complete

    Would you like to start the vCloud Director service now? If you choose not
    to start it now, you can manually start it at any time using this command:
    service vmware-vcd start

    Start it now? [y/n] y

    Starting vmware-vcd-watchdog: [ OK ]
    Starting vmware-vcd-cell [ OK ]


 

HCI Bench – vSAN performance tool – Part 3: Tests and Results

Tests

Once you hit the “Test” button you can go watch some movies. It’s take a time depend on your HW. For me it was couple of hours.

  • It starts with VM deployment

  • It will create bunch of VM’s (each 4vCPU, 4GB of RAM, 9xHDD (total 250GB))

Testing was done by using Vdbench VM with input argument “-fvdb-8vmdk-100ws-4k-70rdpct-100randompct-8threads

Results

Tested VSAN configuration:

  • 4x Node configuration with 10gigabit connection
  • VC build: VMware vCenter Server 6.5.0 build-7515524

Each ESXi host:

  • Build: VMware ESXi 6.5.0 build-7388607
  • CPU: Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz ( Packages: 2, Cores: 20 )
  • Memory: 256 GB
  • Server vendor/model: Dell Inc. PowerEdge FC640
  • VSAN Disks:
    • SSD: Local TOSHIBA Disk (naa.58ce38ee2000c0ad)
      • TOSHIBA PX05SMB080Y
      • 800 GB
    • SSD: Local TOSHIBA Disk (naa.58ce38e06c8a274d)
      • TOSHIBA PX05SRB192Y
      • 1920 GB
    • SSD: Local TOSHIBA Disk (naa.58ce38e06c8a26fd)
      • TOSHIBA PX05SRB192Y
      • 1920 GB
    • SSD: Local TOSHIBA Disk (naa.50000397cc89cd79)
      • TOSHIBA PX05SMB080Y
      • 800 GB

HCI Bench – vSAN performance tool – Part 1: Installation

What is HCI Bench

HCIBench stands for “Hyper-converged Infrastructure Benchmark”. It’s essentially an automation wrapper around the popular and proven VDbench open source benchmark tool that makes it easier to automate testing across a HCI cluster. HCIbench aims to simplify and accelerate customer POC performance testing in a consistent and controlled way. The tool fully automates the end-to-end process of deploying test VMs, coordinating workload runs, aggregating test results, and collecting necessary data for troubleshooting purposes.

HCIBench is not only a benchmark tool designed for vSAN, but also could be used to evaluate the performance of all kinds of Hyper-Converged Infrastructure Storage in vSphere environment.

HomePage:
http://labs.vmware.com/flings/hcibench

User Guilde:
http://download3.vmware.com/software/vmw-tools/hcibench/HCIBench_User_Guide.pdf

Prerequisites

  • vSphere 5.5 environment or higher with vCenter (doesn’t support deployment on a standalone ESXi host).
  • Good to have DHCP on VLAN where the benchmark VM will be deployed.
  • vMotion configured

Installation

  • Select name and location for your VM

  • Review details

  • Accept license agreement
  • Select storage. Put it outside the VSAN datastore

  • Select destination network
    If there’s no DHCP Server on the VLAN which Vdbench client VMs will be deployed on, or the VLAN for Vdbench client VMs can not be routed from the Public Network, map this Network to the VLAN and Enable DHCP Service in the Web UI if needed

  • Customize the VM. As I am using DHCP in my LAB so all Network fileds are empty. And at the bottom enter your password for root.

  • Review configuration data before deployment

  • Hit “Finish” and watch progress in “Recent Tasks”

Related parts:

HCI Bench – vSAN performance tool – Part 1: Installation
HCI Bench – vSAN performance tool – Part 2: Configuration
HCI Bench – vSAN performance tool – Part 3: Tests and Results

Source: http://labs.vmware.com/flings/hcibench

VMware User Group Czech Republic – meeting – 4.12.2017

It’s almost a 2months back, but you know.. a lot of other stuff was more important.

Agenda:

Agenda:

8:00 8:50 Registration / Welcome tea/coffee
8:50 9:00 VMUGCZ Leader’s – Welcome…
9:00 9:45 Duncan Epping – “(r)Evolution of vSAN” – Keynote speaker
9:50 10:35 Andrey Zhelezko – Veeam and VMware Best Practices 2017 edition
10:35 10:55 Coffee break
10:55 11:40 Mark Brookfield – Moving Code from Dev to Prod using vRealize Automation and Code Stream
11:45 12:30 G2 server CZ – Michal Hampl (Chief Technology Officer), Martin Javorský (Infrastructure Director),
Vojtěch Morávek (Chief Product Officer) – Jak děláme cloud v G2
12:30 13:30 LUNCH
13:30 14:15 David Pasek – CLI for VMware Distributed Switch (Community project)
14:20 15:05 HPE – presentation
15:10 15:55 Andrea Mauro – The dark side of stretched cluster
15:55 16:15 Coffee break
16:15 17:00 Runecast – presentation
17:05 17:50 Vladan Laxa – vSphere Automation

Speakers Experts:

Duncan Epping:

Chief Technologist @VMware | Author of http://Yellow-Bricks.com , Essential Virtual SAN, Clustering Deepdive | Hyper-Converged, Software-Defined Storage, vSphere
http://www.yellow-bricks.com/

Mark Brookfield:
PSO Consultant @VMware specialising in cloud infrastructure & management. vExpert, VCAP5-DCA/DCD, VCP-DT, MCITP, MCSE, CCNA, ITIL. Tweets are my own.
http://virtualhobbit.com/

Andrew Mauro
ITPro. Accreditations: vExpert 2010-17,MVP 2014-16,NTC.Some certifications: VCDX-DCV,VCAP-*,VCP-*, MCSA,MCSE,MCITP,CCA,NPP. VMUG IT Co-Founder and board member.
http://vinfrastructure.it/

 David Pasek
An IT Pro specializing in next gen computing (virtualized compute/storage/networking). IT geek who knows he know nothing but everyday learns. VCP,VCAP,VCDX #200
http://www.vcdx200.com/

Vladan Laxa
virtualization enthusiast and opensource fan, VCP6.5-DCV
http://www.latraxa.cz/


Runecast
Automated VMware expertise – Proactively use VMware KBs, best practices and security hardening guidelines to protect your environment
http://www.runecast.biz/

Official agenda:

And some photos from event:

Duncan Epping – “(r)Evolution of vSAN” – Keynote speaker

Coffee break

Mark Brookfield – Moving Code from Dev to Prod using vRealize Automation and Code Stream

G2 server CZ – Michal Hampl (Chief Technology Officer), Martin Javorský (Infrastructure Director), Vojtěch Morávek (Chief Product Officer) – Jak děláme cloud v G2

David Pasek – CLI for VMware Distributed Switch (Community project)

HPE – presentation

Andrea Mauro – The dark side of stretched cluster

Runecast – presentation

And a lottery 🙂

Upgrade Veeam Backup & Replication from 9.0 to 9.5

 

Check status of Veeam services

Get-Service Veeam*

output:

Status   Name               DisplayName
------   ----               -----------
Running  VeeamBackupSvc     Veeam Backup Service
Running  VeeamBrokerSvc     Veeam Broker Service
Running  VeeamCatalogSvc    Veeam Guest Catalog Service
Running  VeeamCloudSvc      Veeam Cloud Connect Service
Running  VeeamDeploySvc     Veeam Installer Service
Running  VeeamMountSvc      Veeam Mount Service
Running  VeeamNFSSvc        Veeam vPower NFS Service
Running  VeeamTapeSvc       Veeam Tape Access Service
Running  VeeamTransportSvc  Veeam Data Mover Service

Before upgrade stop all your Veeam jobs and disable all Veeam services and restart server.

 Set-Service VeeamBackupSvc -StartupType Disabled
 Set-Service VeeamCatalogSvc -StartupType Disabled
 Set-Service VeeamCloudSvc -StartupType Disabled
 Set-Service VeeamDeploySvc -StartupType Disabled
 Set-Service VeeamMountSvc -StartupType Disabled
 Set-Service VeeamNFSSvc -StartupType Disabled
 Set-Service VeeamTapeSvc -StartupType Disabled
 Set-Service VeeamTransportSvc -StartupType Disabled

Once the server is back online run the setup.exe, accept the license and click Next

veeam1

 

Setup will inform you about detected previous version

veeam2

 

and recognize that you have already licenced version. If you want to provide new license number just click Browse and add new license file.

veeam3

Veeam 9.5 require Microsoft System CLR Types for SQL2014 and Management Objects. And if you didnt install it already, it will inform you. You have the option to install it now .. just press Install.

veeam4

 

once installed  you can click Next and continue with upgrade.veeam6

Choose under which account will be your Veeam Backup & Replication service running.

veeam7

Choose a database instance. I am using local MSSQLDB.

veeam8

Setup will ask if you are sure to use this database and if required upgrade it.

veeam9

Now all prerequisities are done and you can isntall upgrade.

veeam10

 

Progress…..

veeam11

 

.. and finished. Your Veeam Backup & Replication was upgraded to version 9.5veeam12

You can connect ..

veeam13

 

after login as a last step server componnents will be upgraded.veeam14

veeam16

Once done you can use Veeam Backup & Replication and do backups.

Note:

All services which were stopped and disabled before installation are automatically set as Automatic startup.

VMware Guest OS Compatibility Guide – updated

VMware Guest OS Compatibility Guide

if you are looking for information which guest operating system is supported in each version of ESX/ESXi. With all the info which NIC type or SCSI/IDE is supported and need reference to VMware KB. Then look/download this single PDF with all informations.
http://partnerweb.vmware.com/comp_guide2/pdf/VMware_GOS_Compatibility_Guide.pdf

VCSA – vCenter Server Appliance 6.5 – backup

 

  • Login to admin environment of vCenter appliance
http://VCENTER-DNS-NAME:5480/

 

vcsa65-backup1

  • Choose backup

vcsa65-backup2

 

And in wizard fill all the info:

  • Protocol [HTTPS or HTTP or SCP or FTPS or FTP]
  • Location [server_IP_or_DNS/EmptyDirectory]
  • Port [if you use standard ports for protocols above, then you can skip]
  • UserName
  • Password

Continue reading “VCSA – vCenter Server Appliance 6.5 – backup”