Working from Home – Tips from a remote worker

Working from Home – Tips from a remote worker

Working from Home – Tips from a remote worker

Disclaimer *This post is unlike most posts published on the {code} blog* In these unprecedented times, it will be an adjustment for all of us to start working remotely over the course of the next few weeks. As someone who works remotely most of the time, I wanted to put together some tips that have The post Working from Home – Tips from a remote worker appeared first on VMware {code}.


VMware Social Media Advocacy

Why Large Organizations Trust Kubernetes

Why Large Organizations Trust Kubernetes

Large enterprises clearly trust Kubernetes, according to our most recent State of Kubernetes survey, and are using it for applications in production. And while there are barriers to adoption, they’re worth it for the productivity and resilience benefits that using Kubernetes yields. Among the key highlights from the new survey: 59 percent of large organizations The post Why Large Organizations Trust Kubernetes appeared first on Cloud Native Apps Blog.


VMware Social Media Advocacy

Upgrade vCloud Director for Service Provider to 9.7

Upgrade to 9.7 is little bit more complicated, because you need to upgrade (if you are using it) PostgreSQL.

Step-by-step guide

  1. Put vCloud Director + PostgreSQL DB vm’s into maintenance in monitoring system.
  2. SSH to vCloud VM and shutdown services:

    /etc/init.d/vmware-vcd stop

  3. Start nginx or apache to show temporary web page (this needs to be configured ahead). It’s just for cases, that users are trying to connect and you don’t want to have a lot of calls/tickets why the vCloud is not running/etc/init.d/nginx start

  4. Check that the temporary page is visible.
  5. Do + check a vCloud vm + vCloud DB vm backup

    do a PostgreDB backup

    1. check free spacedf -hsu – postgrespg_dump vcloud > /var/lib/pgsql/vcloud-backup_20200202.sql

    2. check that backup is not zerols -la /var/lib/pgsql/vcloud-backup_20200202.sql

    3. output must look similar to this:-rw-r–r– 1 postgres postgres 4114824617 Feb 2 22:03 /var/lib/pgsql/vcloud-backup_20200202.sql

  6. Do snapshots on both  VMs “vCloud Director” + “PostgreSQL DB”
  7. Installation and upgrade PostgreSQL DB to v.10

    yum install postgresql10-server

    sudo systemctl stop postgresql-9.6.service && sudo systemctl stop postgresql-10.service

    systemctl stop postgresql-9.6.service

    su postgres

    /usr/pgsql-10/bin/initdb -E UTF8 –locale=en_US.UTF-8 -D /var/lib/pgsql/10/data/

    /usr/pgsql-10/bin/pg_upgrade –old-datadir /var/lib/pgsql/9.6/data/ –new-datadir /var/lib/pgsql/10/data/ –old-bindir /usr/pgsql-9.6/bin/ –new-bindir /usr/pgsql-10/bin/

    change /var/lib/pgsql/10/data/pg_hba.conf same as /var/lib/pgsql/9.6/data/pg_hba.conf

    # TYPE DATABASE USER ADDRESS METHOD
    # “local” is for Unix domain socket connections only
    local all all trust
    # IPv4 local connections:
    host all all 127.0.0.1/32 trust
    # IPv6 local connections:
    host all all ::1/128 trust
    # Allow replication connections from localhost, by a user with the
    # replication privilege.
    #local replication all trust
    #host replication all 127.0.0.1/32 trust
    #host replication all ::1/128 trust
    host all all 0.0.0.0/0 md5

    vi /var/lib/pgsql/10/data/postgresql.conf

    listen_addresses = ‘*’


    Disable PostgreSQL 9.6 and enable and start PostgreSQL 10

    systemctl disable postgresql-9.6.service
    systemctl enable postgresql-10.service
    systemctl start postgresql-10.service

    su postgres
    ./analyze_new_cluster.sh
    ./delete_old_cluster.sh

    Remove old PostgreSQL service

    yum remove postgresql96-server

  8. Check that vcloud DB user is owner of the DB in the postgress!!

    su postgres
    psql
    #list DB’s
    \l

    1. if not change owner of DB “vcloud” to user “vcloud” :ALTER DATABASE vcloud OWNER TO vcloud;
      \l
      \q

    2. optional you can do second DB backup on new PostgreSQL versionpg_dump vcloud > /var/lib/pgsql/vcloud-backup_pg10_20190505.sql

  9. upgrade vCloud to 9.7
  10. Upload new version/patch to vCloud VM ( ./vmware-vcloud-director-distribution-9.7.0-14535248.bin )
    ensure that file is executable +x flagchmod a+x vmware-vcloud-director-distribution-9.5.7.0-14535248.bin

  11. Run the installation bin file./vmware-vcloud-director-distribution-9.7.0-14535248.bin

  12. run upgrade script/opt/vmware/vcloud-director/bin/upgrade

  13. Dont start vCloudDriector services after upgrade DB. Manually started Nginx is running!/etc/init.d/nginx stop
    /etc/init.d/vmware-vcd start

  14. Reboot vCloud Director VMshutdown -r -t 1

  15. Check vCloud Director: https://_VCLOUD.DOMAIN/
  16. Run script for checking edge VM

    /opt/vmware/vcloud-director/bin/cell-management-tool edge-ip-allocation-updates –host vcloud.domain.xyz –user administrator –status/opt/vmware/vcloud-director/bin/cell-management-tool edge-ip-allocation-updates –host vcloud.domain.xyz –user administrator –update-ip-allocations
  17. After 1-2 business days delete snapshots + DB backup file.

Homelab 2020

Still in progress… not all HW is in the list.. for now just the CORE HW is in the list… and new homeDC building is being build ..

DC5

Networking:

  • Internet 500Mbit
  • Cisco 2970G
  • Zyxel GS1920

Compute:

DELL R710

  • 2x Xeon
  • 192 GB RAM
  • iDRAC
  • 4x NIC

DELL R710

  • 1x Xeon
  • 92GB RAM
  • 4x NIC

DELL R710

  • 1x Xeon
  • 92GB RAM
  • 4x NIC

NUC1 – Test & Dev

  • i3-6100U @ 2.3GHz
  • 32GB RAM
  • 256GB NVMe
  • 500GB SATA 2,5″
  • 2x 1Gbit NIC (one of them is USB TP-LINK U300)

VSAN ROBO:

ESX2 (whitebox)

  • Intel G4560 @ 3.5GHz
  • MB: B250M-D3H
  • 64GB RAM
  • 500GB NVMe Samsung 970EVO
  • 1TB SSD SATA Samsung 860EVO
  • 2x 256GB SSD SATA Kingston
  • 4x 1Gbit NIC
  • 2x 10Gbit NIC (intel X540-AT2) Base-T

ESX5

  • Xeon D-2123IT @ 2.2GHz
  • MB: Supermicro SYS-E300-9D-4CN8TB
  • 128GB RAM
  • 500GB NVMe Samsung 970EVO
  • 1TB SSD SATA Samsung 860EVO
  • IPMI
  • 4x 1Gbit NIC
  • 2x 10Gbit NIC (intel X722) Base-T
  • 2x 10Gbit NIC (intel X722) SFP+

Storage:

NearStore

  • Xeon E3-1220L @2.3GHz (4core)
  • MB: Supermicro X9SCM
  • Case: Nanoxia Deep Silence 6, Rev. B
  • 32GB RAM
  • 16x 2TB SATA
  • 3x 3TB SATA
  • IPMI
  • 2x 1Gbit NIC (82574LM + 82574L)
  • 2x 10Gbit NIC (intel X540-AT2) Base-T
  • 1x 10Gbit Asus

QNAP 653Pro

  • 6x 3TB SATA
  • 4x 1Gbit

DC 1

Networking:

  • Internet 100Mbit

Compute:

GOLEM – ESXi 6.5.0 – Build 10719125

  • Xeon X3450 @ 2.67GHz
  • MB: S3420GP
  • Case: 1U
  • 24GB RAM
  • 5x 1Gbit NIC
  • 2x 1TB HDD SATA
  • 2x 512GB SSD SATA

D&R Site

Networking:

  • Internet 50Mbit

Compute:

ESX

  • Xeon E3-1220L @2.3GHz (4core)
  • MB: Supermicro X9SCM
  • 32GB RAM
  • 2TB SATA
  • 2x 1Gbit NIC (82574LM + 82574L)

Storage:

Synology DS210j

  • 2x 3TB SATA
  • 2x 1Gbit

vSpeaking Podcast Ep 144: Home Labs Powered by…

vSpeaking Podcast Ep 144: Home Labs Powered by vSAN

vSpeaking Podcast Ep 144: Home Labs Powered by…

This week on the Virtually Speaking Podcast it’s all about Home Labs. Our good friend William Lam has been aggregating an amazing collection of Home Labs in the IT Community. On this episode we welcome William, Max Abelardo and Johan van Amersfoort do discuss this new Home Labs aggregated list and things to consider when The post vSpeaking Podcast Ep 144: Home Labs Powered by vSAN appeared first on Virtual Blocks.


VMware Social Media Advocacy

VMware vSphere 6.0 Reaches EoGS in March 2020

VMware vSphere 6.0 Reaches EoGS in March 2020

VMware vSphere 6.0 Reaches EoGS in March 2020

Proactively inform your customers about the vSphere 6.0 End of General Support (EoGS) and help them upgrade to vSphere 6.5 or 6.7. Note that by upgrading to vSphere 6.5 or 6.7, customers not only get all the latest capabilities of vSphere, but also the latest vSAN release and capabilities (with the separate vSAN license). Learn […] The post VMware vSphere 6.0 Reaches EoGS in March 2020 appeared first on Partner News.


VMware Social Media Advocacy

vExpert 2020 Award Announcement

vExpert 2020 Award Announcement

Thank you to everyone who applied for vExpert and thank you to the vExpert PROs for helping with the voting process. We are pleased to announce the list of 2020 vExperts. You can visit https://vexpert.vmware.com/directory to see a list and profile of each vExpert and see the list at the bottom of this post. All The post vExpert 2020 Award Announcement appeared first on VMware vExpert Blog.


VMware Social Media Advocacy

New KB articles published for the week ending…

New KB articles published for the week ending 9th February,2020

New KB articles published for the week ending…

VMware App Volumes Impact of March 2020 LDAP Channel Binding & Signing Requirement for Microsoft Windows (ADV190023) on App Volumes Environments Published Date:03-02-2020 VMware Cloud on AWS [VMC on AWS] Creating an SDDC with AWS CloudFormation template fails with an error on AWS console Published Date:03-02-2020 [VMC on AWS] Resize SRM/VR Protected Virtual Machine Disk The post New KB articles published for the week ending 9th February,2020 appeared first on VMware Support Insider.


VMware Social Media Advocacy

vCloud Automation University: Replacing the vRA…

vCloud Automation University: Replacing the vRA VAMI Certificate

vCloud Automation University: Replacing the vRA…

In this video, we’ll walk through the process of replacing the VAMI certificate for the vRA appliance. Applying custom certificate to the VMware vRealize Automation Appliance Management interface on port 5480 https://kb.vmware.com/s/article/2078167 Replace the vRealize Automation Appliance Management Site Certificate https://docs.vmware.com/en/vRealize-Automation/7.6/com.vmware.vra.prepare.use.doc/GUID-E6515C12-61DA-4F67-8F44-C740B778743B.html https://vmwarelearningzone.vmware.com/


VMware Social Media Advocacy

Certification Upgrade Policy Update

Certification Upgrade Policy Update

Along with the change in the recertification policy in February 2019, VMware has introduced a couple of easier ways to upgrade your previous certifications. The different upgrade paths for 2020 will be listed on our website within the next few weeks; this blog will help outline the general upgrade policy that you will see reflected The post Certification Upgrade Policy Update appeared first on VMware Education Services.


VMware Social Media Advocacy

Deep dive into VMware Cloud Foundation – Part 1…

Deep dive into VMware Cloud Foundation – Part 1…

If you’re like me, you like to dive deep into technology to learn how things work in the safety of a lab environment. I enjoy experimenting with a live lab. I’ll use the lab to look behind the curtain and see what’s going on behind the scenes. The safety of the lab allows me to The post Deep dive into VMware Cloud Foundation – Part 1 Building a Nested Lab appeared first on Cloud Foundation.


VMware Social Media Advocacy

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 ]


 

Getting started with VMware Cloud Foundation (VCF)

Getting started with VMware Cloud Foundation (VCF)

After returning from the holidays, one of the items at the top of my agenda was to become more familiarity with VMware Cloud Foundation (VCF). For those of you who are not familiar with VCF, it is basically the ‘easy button’ for deploying the full vSphere stack of products, including virtual storage (vSAN), virtual networking (NSX) as well as monitoring and logging products such as vRealize Operation, vRealize Log Insight and so on. However, it is so much more, because once VCF is stood up,…Read More


VMware Social Media Advocacy

PCIe Device NUMA Node Locality

PCIe Device NUMA Node Locality

During this Christmas break, I wanted to learn PowerCLI properly. As I’m researching the use-cases of new hardware types and workloads in the data center, I managed to produce a script to identify the PCIe Device to NUMA Node Locality within a VMware ESXi Host. The script set contains a script for the most popular […] The post PCIe Device NUMA Node Locality appeared first on frankdenneman.nl.


VMware Social Media Advocacy

Introducing 2020 Certifications and Badges

Introducing 2020 Certifications and Badges

The new 2020 VMware Certifications and Badges are now available. With the year designator, it becomes clearer when you earned it and how current your expertise is. The credential you earn depends on when you complete the requirements. If you met all the requirements in 2019 (starting on January 16, 2019 – ending December The post Introducing 2020 Certifications and Badges appeared first on VMware Education Services.


VMware Social Media Advocacy

vRealize Network Insight Search Poster for NSX-T

vRealize Network Insight Search Poster for NSX-T

Continuing our Search Poster series, we’ve arrived at the NSX-T search poster! Using the search engine inside VMware vRealize Network Insight can be a revealing experience. It has every single bit of data you ever wanted to see about anything in your infrastructure and it’s available at your fingertips. Because of the vast amount of The post vRealize Network Insight Search Poster for NSX-T appeared first on VMware Cloud Management.


VMware Social Media Advocacy

Project Pacific – VMworld 2019 Deep Dive Updates

Project Pacific – VMworld 2019 Deep Dive Updates

I’m sure most readers will be somewhat familiar with VMware’s Project Pacific at this point. It really is the buzz of VMworld 2019. If I had to describe Project Pacific in as few words as possible, it is a merging of vSphere and Kubernetes (K8s) with the goal of enabling our customers to deploy new, next-gen, distributed, modern applications which may be comprised of container workloads and virtual machine workloads. Not only that, but we also need to provide our customers with a consistent…Read More


VMware Social Media Advocacy

Introducing NSX Service Mesh on VMware Tanzu

Introducing NSX Service Mesh on VMware Tanzu

Authors: Mark Schweighardt, Tom Spoonemore Modern enterprises are sprawling and complicated. They are transitioning from private to public clouds to address, for example, performance, availability, and data residency requirements, and to gain access to advanced services such as analytics and ML. They are also transforming their application architectures from monoliths to distributed microservices. In August 2019, VMware introduced The post NSX Service Mesh on VMware Tanzu: CONNECT & PROTECT…Read More


VMware Social Media Advocacy

Five Tips for a Successful BYO vSAN Cluster

Five Tips for a Successful BYO vSAN Cluster

Five Tips for a Successful BYO vSAN Cluster

Guest blog author Sidharth Swami wrote this article. He is a Sr. Technical Account Manager here at VMware. As such Sidharth spends a lot of time with customers in real-world environments. Thank you, Sidharth, for sharing your time and expertise regarding build-your-own (BYO) vSAN clusters. vSAN Turn-key Appliances and vSAN ReadyNodes are Recommended One of the many The post Five Tips for a Successful BYO vSAN Cluster appeared first on Virtual Blocks.


VMware Social Media Advocacy