Posts

Showing posts with the label VMware

How to get llama 2 up and running , in a VM, with no GPU, and limited memory on Ubuntu

Image
OK I decided to write this up after unsuccessfully being able to find all the required info I needed in one place. In this setup we will be using Ubuntu Server 22.04.2 LTS as the OS. I have this running on a home lab ESXi server 8, on a HP Compaq Pro 6300 SFF CPU = Intel Core i7-3770 Installed Memory 16 GB I have some 10K SAS drives installed for the VM's If you have not already, navigate to  Get Ubuntu Server | Download | Ubuntu and download the 22.04.2 LTS ISO Next Lets create our VM that we are going to run this in. *Note Im using ESXi however you can probably do this in Workstation, Fusion, VirtualBox etc The main things to note on the VM creation. Set Ubuntu 64 bit as the guest OS Set your CPU relevant to the physicals CPU, I will be starting with 4 VCPU Set your Memory to as much as you can tolerate, I will be using 12 Disk Space - we are creating a 100G swap file, and the rest of the file can take up some room , so more is better if you can afford it Dont forget to add the U

UAGCommander

Image
UAG Commander Introducing a new way to manage the deployments of your VMware UAG's With UAG Commander, you can consistently deploy UAG's with the already existing powershell script. No more guessing on the correct syntax, order / location of the correct settings, or remembering what settings you used previously. UAG commander currently has the following features: Gui for Automatic creation of properly formatted INI files Automatic backup of INI files before deployment (up to five backups are auto rotated) Deployment through existing powershell scripts Importation of existing INI files Auto enumeration of datastores, networks, and hosts Check the download page for the latest version and updates Requirements VMware OVF tool vSphere 6.5 (the application calls 6.5's rest api to get the correct values) UAG powershell scripts from VMware .Net 4.6 or later installation is straightforward run the installer (if you do not have OVFTool already installed a w

UAGCommander Downloads

UPDATE: Unfortunately I no longer have the time to invest into this. For any one that wants to move forward with this project I have uploaded the source code Here:  https://github.com/JeramyThompson/UAGCommander1.git Current downloadable version of UAGCommander CurrentUAGCommanderVersion=1.0.1.0 Pre-Alpha  Download Version 1.0.1.0 -Whats New in 1.0.1.0 New Installer using Wix Added Radius options Implemented installer check for OVF tool. -Known Issues Currently only works with 64 Bit OS. Smartcard and Certificate Authentication are not implemented at this time Does not handle errors from powershell script Pressing the get vcenter values button multiple times does not clear existing values and continues to add more of the existing values Changing to a different UAG with out saving first clears modified values with out prompting, all changes are lost -Resolved Issues Logging is not working correctly - Resolved in 1.0.0.5 Does not check if OVFtool is inst

Google Authenticator Server - Proof of concept | VMware Horizon View or Identity Manager

Image
Update 10/2017:  Since starting this project  I was informed that such a thing already existed , so I will not be moving forward with this. You can use LinOTP in your enterprise environment. As a continuation of my previous post I wanted to see if I could build a simple server to to allow users to generate google authentication keys, and authenticate to Horizon View.  After some research I was finally able to get a 'functional' server up and running and easily deplorable. No going forward please realize as I said before this is a PROOF OF CONCEPT, you should not deploy this in your production environment, you have been warned (See notes at the end of this page), however if you want something to mess around with to build your own , here ya go. To being your going to need an ubuntu server, see my original posts Part1 and Part2 to get a working Ubuntu server in your environment.(make the username gauth as it will make ruining the config scripts easier) Once your have

Access Point Gui 3.0.2 - Final

Image
Access Point Gui 3.0.1 3.0.2 Ok so this is My last, last version of this as I am moving on to other projects. Last Updates include: config options for vIDM config options for system settings. removal of background image (it was causing long load times. some code cleanup. Also forgot to add a thumbprint box for vIDM Note about auto thumbprint for vidm, this will get the thumbprint from the server however it will not add the sha value at the beginning, this is due to a framework limitation, and i dont have the time figure out a new way, so if you auto generate your thumbprint, make sure to put a 'shat1:" or "sha256:" in front before submitting. Enjoy! Download Here

Access Point Gui 3.0 ( For AP 2.7.2)

Image
Access Point Gui 3.0 ( For AP 2.7.2) So I didn't think id write another one of these since I figured there would be one in the latest realease of AP. Well I guess they skipped any sort of Gui again, so here we go! Requirements: .NET 4.5.2 or greater A deployed AP (just needs to be accessible via management IP) So to start download , extract and double click the Access Point Gui.exe Once the App has loaded you will be presented with a console  Enter your AP's management IP or the host name and password. At this point you could continue filling out the settings but lets see what we currently have set by clicking the [Get Current Info] button. OK Great , there are our current settings, we can copy those off some where in case we need them. Click the View Enabled? check box to open up the rest of the settings. Fill out the rest of the settings as required. I have added a function to get the Thumbprint for the connection server (or LB server

VMware View VMs stuck on logoff

You may get into a situation where your View VMs do not log off correctly. Typically this happens because the VM is waiting for an application to close and is prompting for user interaction. This is a common issue. This can be worked around by setting some registry keys in the HKCU hive. however this is quite cumbersome , so i have created a user GPO to do exactly this! I created this adm template that can be imported into AD and pushed to your VDI users, it allows you to change the following settings: AutoEndTasks: Determines whether user processes end automatically when the user either logs off or shuts down https://technet.microsoft.com/en-us/library/cc978604.aspx HungAppTimeout: Specifies how long the system waits for user processes to end after the user clicks the  End Task  command button in Task Manager . If this threshold is exceeded, the  End Task dialog box appears, stating that the process did not respond. https://technet.microsoft.com/en-us/library/cc978614.aspx

VMware View local \ remote user information

Image
In some instances you may want to get some information on the users that are logging in to the VM's. This is not easily accessible through View its self. So I have come up with a way get the information from the VM's themselves. First of all your going to need the MOF file i created in an earlier post here for the WMI queries. Install this into your parent image. You will also need the logon script , that runs at logon located here . And lastly a remote SQL database that will hold the data, I have taken the liberty of creating a script to create the database for you here. After running trough this, you will be able to query for users that logged in to a specific VM and find any additional information provided by the agent. So lets get started. Create a database with the script Open up Microsoft Management studio and connect to your database server, create a new database, and use the script to create a new table. Paste the contents of the script into a new q

WMI Query VMware View Agent Variables

Image
The purpose of this post is to show how you can query the "Volatile Environment" variables from the View agent to get WMI information. I though I would share what I have done to maybe help others in similar situations. Requirements: The requirements for this view environment is to allow client drive redirection for internal users and disable it for external users. The users are always in the same pool, and in this case we only have one connection server and one security server. Because this is a feature that is either on or off and no built in way to control this, the thought is that we can create a GPO that and run off a WMI query to determine if the users are inside the network or outside of the network and disable client drive redirection based on the IP. Lets Filter! So we can create a simple GPO to disable CDR , however we do not want this to happen internally so we need something to query off of. It would seam this would be an easy task however I ran into the f

View 6.2.1 Upgrade

So One thing to keep in mind is if you are doing a staged upgrade of View, you may run into some issues with older versions of the client, or older versions of the agent. One thing that came up in my testing is if you are using PSG, and upgrade your servers first, you will not be able to connect. This has to do with the fact that TLS 1.0 is completely disabled by default. To fix this you must either enable it or upgrade your agents sooner. http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2130798 It looks like they updated the documentation to show this. https://pubs.vmware.com/Release_Notes/en/horizon-6-view/horizon-621-view-release-notes.html

VMware View and vsphere 5.5U3b cause composer issues

So one thing I wanted to make people aware of is that if you upgrade your host to 5.5U3b, you will break VMware View on version older than 6.2. So why does this happen? With the release of 5.5U3b VMware has disabled SSLv3 http://pubs.vmware.com/Release_Notes/en/vsphere/55/vsphere-esxi-55u3b-release-notes.html Older version of View utilize the SSLv3 to communicate with both vCenter and the ESXi hosts. You may see errors such as: | UFA main thread 16 | FATAL | CommonLib.UfaSubsystem.UfaWorkItem - UFA error: fail in open computer operation. | UFA main thread 16 | INFO | CommonLib.UfaSubsystem.InitializeDiskUfaWorkItem - UFA error: fail to finish init disk operation for disk: datastore: [datastore_name] VMNAME1/VMNAME1-internal.vmdk, host: FQDN, port: 902. | UFA main thread 16 | FATAL | CommonLib.UfaSubsystem.InitializeDiskSetUfaWorkItem - Error: CompletionCallbackProxy failed to init disk with result If you have upgraded your host , you have 2 options. 1. Upgrade to Vi

VMware Access Point fails to start

Ran across an issue with access point the other day where it refused to start. After searching four hours found this post on editing the vmware_ap_supervisord file to fix the stale pid file issue. http://skewedhorizon.loredous.net/2015/12/04/access-point-hard-reset-recovery/

VMware View Security Server Dynamic IP update script.

To go along with my previous post http://jeramythompson.blogspot.com/2015/09/vmware-horizon-access-point-dynamic-ip.html Im adding a new script for dynamically updating a security server. Simply replace the cn=SEC with the name of your security run the scrip on a schedule on your connection server as some one who has access to the ADAM database. Enjoy: https://drive.google.com/open?id=0Bwf718kXFFS8WVVvR1NBS1EtaVU
Image
VMware Access Point GUI 2.0 Hi everyone, so I updated the script, added in some new features and  hope this works better than the last one for every one. Enjoy: For a much Deeper Dive into VMAP, check out Carl's Blog: http://www.carlstalhood.com/vmware-access-point/ Chang Log: Added output box to show submissions (errors are still logged in powershell console) Added pre-check on startup to verify you are on power shell 3.0 or higher Added Get Current Info option to read current settings from VMAP Added Proxy Pattern box to allow changing this to something other than default Re-arranged submission boxs for better flow Add tab ordering to allow tabbing through the fields in the natural order Added Help button, pops up new window with instruction on how to use the script. Cleaned up some of the code Download Link Here https://drive.google.com/open?id=0Bwf718kXFFS8NWdTeFFsQWFMYmM

VMware Horizon Access Point GUI power shell script

Image
I have created an Updated version 2.0, Please go Here for more info: VMware Horizon Access Point GUI power shell script: I wrote this script as an easy way update your VMware Horizon Access Point with power shell 3 or later.Enjoy Created a Video to show how easy this is: https://www.youtube.com/watch?v=-_byc3JxNew To run my power shell script, since its not sighned , you have to allow power shell to run unsigned scripts run to following to allow it to run open power shell as administrator Set-ExecutionPolicy Unrestricted Fill these out. ProxyDestination URL = your connection server ProxyDestinationURLThumbprint  = cert thumbprint, if you just put * its accepts all PCoIP Enabled: check this box if your using PCoIP PCoIP External URL = externally accessible IP for your access point Tunneling Enabled = check this box Tunnel external URL = externally accessable url for your access point, or IP VMware Access Point IP = VMware Access Point IP VMware Access Point Us