Upgrade ESXi 6.5 to 6.7

  1.  Download and Mount 6.7 ISO.  In my case its via SuperMicro iKVM

2. Boot from the Media


3. Follow the Installer

4. Select the Media that contains the ESXi 6.5 Install and hit Enter

5. Select Upgrade and press F11

6. Press F11 to reboot to the new install

How to Create a VM Network in XenServer

Select your XenServer and select Networking

Capture.PNG

Click Add Network

Capture.PNG

For me I want to create a Network that can access the internet, so I select External Network

Capture.PNG

Name the Network

Capture.PNG

Select the NIC you wish to use.

Capture.PNG

You will see the new network show up in the Server Networks view

Capture.PNG

How to Add Local Storage to a XenServer

Log into XenServer via XenCenter

Click on your Server and Select Storage

Capture.PNG

Select New SR…

Capture.PNG

For me I have a 12G RAID Controller backing my storage, so I select Hardware HBA

Capture.PNG

Name Storage

Capture.PNG

XenServer will probe for Storage

 

Capture.PNG

XenServer found both my Storage Arrays, and I chose the Array(s) I wish to use.

Capture.PNG

We format the Storage Repository.

Capture.PNG

Capture.PNG

Then we will see the new drive show up.

Capture.PNG

 

How to Install XenServer 7.0

Download Xen Server 7.2

Write the ISO to a USB Drive or Install with a DVD Drive.  I chose to use Rufus

Boot the ISO

Capture.PNG

Select a Keymap

Capture.PNG

Accept the warning about your drive being overwritten.

Capture.PNG

Accept the EULA

Capture.PNG

Choose a drive to write the OS onto.

Capture.PNG

Choose a drive for VM Storage.  I chose to do this in the Windows Client, and deselect all choices.

Capture.PNG

Select where your installation source is.  For us, it is a local drive.

Capture.PNGChoose whether to verify the installation media.  I choose to skip it.

Capture.PNG

Enter a password for the XenServer Host

Capture.PNG

Select an ethernet adapter that you will use for Management of the Server.

Capture.PNG

Select and enter the appropriate network information

Capture.PNG

Name your host and enter an appropriate DNS Server

Capture.PNG

Select the appropriate geographically area

Capture.PNG

Select the appropriate time zone

Capture.PNG

Select the appropriate NTP Settings

Capture.PNG

Set the appropriate NTP Servers

Capture.PNG

Install Xen-Server

Capture.PNG

Choose whether to install an Supplemental Packs.  I have none, so I chose No

Capture.PNG

The installation will finish up

Capture.PNG

Reboot the server

Capture.PNG

Capture.PNG

Upon first boot I received this bug.  The host ultimately boots after a minute or two.

Capture.PNG

Once the host boots navigate to its Management IP Address and Download the Windows Client.

Capture.PNG

Capture.PNG

How to add a Content Library to vSphere

Log into your vSphere Web Client and click Menu – Content Library.

Capture.PNG

Click the plus sign to add a new Content Library

Capture.PNG

Add a Name and Location

Capture.PNG

Select a Local Content Library if you wish to upload ISOs, OVAs, and other templates.

Capture.PNG

Select your storage location, I use my local Freenas NFS Store.

Capture.PNG

Click Finish and your new Library will appear.  Capture.PNG

To add items, click on the Name of the Content Library, then select Actions and Import Item.

Capture.PNG

Select the item and click OK.

Capture.PNG

vSphere will then proceed to upload the item.

Once uploaded items like ISOs can be selected on the create VM Screens.

 

How to Install vRealize Operations

First step is to obtain the vRealize Operations Manager Appliance and install it via your VMware server.  Once the Appliance is uploaded and the installation is complete you will see the below screen on your VM.

2.PNG

Once you go to the URL you will find the Initial Setup screen.

1.PNG

I chose new Installation and started by setting the Administrator’s Password.

3.PNG

I then accepted the default certificate.

4.PNG

I named my Cluster Node.  We can add additional nodes later.

5.PNG

I then completed the install by clicking Finish.6.PNG

Now we wait, the Appliance will configure itself.

7.PNG

Then we need to start vRealize Operations Manager

8.PNG

9.PNG

Eventually the Node will show a State of Running and Online.

10.PNG

Once the node is up and running you will have to login

11.PNG

Note that the login username is admin and not root.

Now we have to do more configuration.

12.PNG

Accept the EULA, enter our Product Key, and opt in or out of CEIP.15.PNG

13.PNG

14.PNG

15.PNG

Finally we configure the installation.

16.PNG

First in order to gather information of our VMs and ESXI servers we need to configure the vSphere Adapter.

17.PNG

18.PNG

20.PNG19.PNG

20.PNG

Once the adapter is configured you should see Collecting.

21

For a time you will see your items in a grey color while the information is aggregated.

22.PNG

After a while you see the aggregation working and less and less grey.

Capture.PNG

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

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.

How to Install kmttg on Windows 2012 R2

KMTTG is a great program to transfer TiVo recordings off of your TiVo to either save space or archive.  Most channels support copying of recordings off, with the notable exception of channels like HBO, Cinemax and the like.

So let’s start the install.

  1.  Download kmttg from here
  2. Create a folder on your drive of choice, create a kmttg folder and extract it. Capture.PNG
  3. Install the latest JRE from here.
  4. Navigate to your kmttg install location and double click kmttg.jar.  If you get a prompt that the OS does not know how to launch the file you’ll need to associate JAR files with the Java JRE.
  5. If it launches correctly you will see the tools screen.  Click OK to install the tools.

Capture

  1.  While that download, put in your 10 digit Tivo Media Access Key.  If you don’t know where to find this, kmttg tells you where to look.

Capture

  1.  Now this step is optional.  I like to separate all my File Directories for conversion.

Capture.PNG

  1.  You will get errors from kmttg that it can’t save due to errors.  Ignore those and click OK.  Then go and create the folders that you specified.

  2.  Click on the Roamio Tab and Click Refresh and you will see all your shows.

Capture

That’s it, now copy and encode the shows you want for later viewing!