How to Apply Updates to VCenter 6.0

Starting after Update 1 for VCenter 6.0 you are able to update your Vcenter from the Web Interface.  Unfortunately for me, I have pre-version one installed so I need to update via SSH.

First step is login via SSH to your VCenter as the Root User using your SSO Administrator User and password

Capture.PNG

Next you download the Update for your VCenter from here.

Once the update is downloaded, you will need to mount the ISO to your VCenter VM.

Then we execute

software-packages install –iso –acceptEulas

Capture.PNG

The update will inform you when completed and instruct you to reboot

Advertisements

How to Install VSphere Appliance 6.0

There is only so many installations of a Windows or Linux box you can do before you ask yourself if there is any easier way to do this.  In order to use templates and automate your VM building tasks, one of the choices is to use Vsphere with a variety of tools that plug in like Vagrant, Chef, or Puppet.

First we must acquire the VCSA 6.0 ISO and have a VM or other Windows Host on which to run the VSphere installer from.  For me this is just my Windows 10 Laptop.

First we browse the ISO to /vcsa/VMWare-ClientIntegrationPlugin-6.0.0.exe and install the Plugin.  This is needed to run the installer which is Web Browser Based.

Once installed Capture.PNGwe open vcsa-setup.html

Capture.PNG

 

 

 

 

 

 

 

 

On Internet Explorer, you will be prompted twice to accept the Client Integration Plugin Access to your system.   Accept the access and you will see the Install Window for vCenter Server Appliance 6.0

Capture.PNG

Capture.PNG

First we click Install and Accept the License AgreementCapture.PNG

Then we enter the IP, User, and Password for our ESXi Host

Capture.PNG

You will be prompted to trust your SSL Certificate, and since its the default install certificate it will be for localhost.localdomain.  If you have changed your hostname it won’t match and won’t be trusted.  You can click Yes to accept and continue.

Capture.PNG

The installer will Validate your setup and if any connection issues are found, it will let you know.  Then it asks you to set the appliance name, and OS Password.  Set these as appropriate.  When setting the OS Password be sure to have an uppercase, lowercase, and special character as it is required by the installer.

Capture.PNG

For our installation, since it is such a small VCenter Install, we are going to go with the Embedded Platform Service Controller.

Capture.PNG

Next we create our SSO or Single Sign On Domain.  If you plan to have Active Directory Integration, you need to be sure that your Domain Name and Site Name are different than your Active Directory Forest Name.

Capture.PNG

Next you pick your Appliance Size.  The Tiny Size fits our installation well, but just incase we decided to bigger, I have decided to go to the Small Size.

Capture.PNG

Next Select your Datastore.  Be sure there is enough space to fit your VMs.  The Installer states 150GB is needed, so I have chose a Datastore that has at least that.  I have also enabled Thin Disk Mode as it only allocates storage as needed.

Capture.PNG

We chose the embedded database.

Capture.PNG

We chose the appropriate Network Settings.  Since my entire homelab is 10Gbe, I want to be sure that I am using a 10gbe Virtual Switch/Network.

Capture.PNG

The installer will warn you not to use DHCP, but if you do reservations of DHCP address you will be fine.  Finally accept the Customer Improvement Settings and Finish the installer so that it can build your VMs.  If you want to see how the installer is doing, hop over to your Web Page for your ESXi host.

Capture.PNG

Once the VM is built you can also watch it do the installation.

Capture.PNG

Once it’s finished, verify you can login and off you go!

Capture.PNG

How to Install Plex on Centos 7 with NFS Mounts for Media

The first question you may ask is why on Linux?  Simply, the Linux install of Plex uses less memory resources than a standard Windows Installation in my experience.  With Windows I have also run into instances where the Plex Media Server fails to start on reboot.  With Linux I never experienced this, and it just continues to work without issues.

First step is to provision a Centos 7 VM.  I did this via a VM in my ESXi Environment.

Next we should update the system by executing

yum update

Then we go to the Plex website and download the latest RPM for Plex Media Server and download it via wget and install it.  If you used a minimal ISO Installation disk, you will need to install wget.

yum install wget

wget https://downloads.plex.tv/plex-media-server/1.5.5.3634-995f1dead/plexmediaserver-1.5.5.3634-995f1dead.x86_64.rpm

rpm -Uvh plexmediaserver-1.5.5.3634-995f1dead.x86_64.rpm

[root@plex ~]# rpm -Uvh plexmediaserver-1.5.5.3634-995f1dead.x86_64.rpm
warning: plexmediaserver-1.5.5.3634-995f1dead.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 3adca79d: NOKEY
Preparing… ################################# [100%]
Updating / installing…
1:plexmediaserver-1.5.5.3634-995f1d################################# [100%]
Created symlink from /etc/systemd/system/multi-user.target.wants/plexmediaserver.service to /usr/lib/systemd/system/plexmediaserver.service.

Then we want to enable the Plex Media Server Service and set it to start on reboot

sudo systemctl enable plexmediaserver.service
sudo systemctl start plexmediaserver.service

Next we want to mount our media shares via NFS.  I currently have mine shared out via an UNRaid instance.  First we want to install the utilities used to mount shares for NFS.

yum install nfs-utils

Next we want to make the directories that will will mount the share to.

mkdir -p /mnt/Plex

Now we want to make sure all the related NFS Services are enabled and start on boot

systemctl enable rpcbind
systemctl enable nfs-server
systemctl enable nfs-lock
systemctl enable nfs-idmap
systemctl start rpcbind
systemctl start nfs-server
systemctl start nfs-lock
systemctl start nfs-idmap

Then we mount the share that we shared via NFS to the server

mount -t nfs 192.168.1.25:/mnt/user/PLEX /mnt/nfs/Plex/

Now we disable firewalld or put exceptions in so we can reach the Plex Web Interface.  I have chosen to disable firewalld.

systemctl stop firewalld

Then cd 0we browse to http://<YOURIP>:32400/web/index.html and configure the host.