Posts

Showing posts from 2012

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...

Windows Management Framework 3.0 breaks Exchange 2007 and Exchange 2010

Recently, Windows Update began offering the  Windows Management Framework 3.0  as an Optional update. This includes all forms of update distribution, such as Microsoft Update,  WSUS , System Center Configuration Manager and other mechanisms. The key bit here is that the Windows Management Framework 3.0 includes PowerShell 3.0. Windows Management Framework 3.0 is being distributed as  KB2506146  and  KB2506143  (which one is offered depends on which server version you are running - Windows Server 2008 SP2 or Windows Server 2008 R2 SP1). What does that mean to you? Windows Management Framework 3.0 (specifically PowerShell 3.0)  is not yet supported  on any version of Exchange  except  Exchange Server 2013, which requires it. If you install Windows Management Framework 3.0 on a server running Exchange 2007 or Exchange 2010, you will encounter problems, such as Exchange update rollups that will not install, or the Exchange Manag...

System Center 2012 SP1 RTM'ed

On 12/12/12 Mike Jacquet  announced  quietly on a microsoft forum that SC 2012 had been RTM'ed and should be generally available in January 2013. ZDNET also picked up the story with more explanation of what is to be expected.

Exchange 2013 and Lync 2013 Released

So this showded up today on Technet Exchange Server 2013 (x64) - DVD (Multilanguage) Lync Server 2013 (x64) - DVD (English) https://technet.microsoft.com/en-us/subscriptions/securedownloads/hh442904.aspx There is nothing about it being a "preview" as many other download suggest. This comes out at the same time as the following were released today: Office Web Apps 2013 (x64) - DVD (English) Office Professional Plus 2013 (x64) - DVD (English) Office Professional Plus 2013 (x86) - DVD (English) SharePoint Server 2013 (x64) - DVD (English) Visio Professional 2013 (x64) - (English) Visio Professional 2013 (x86) - (English) Project Professional 2013 (x64) - (English) Project Professional 2013 (x86) - (English) I guess since it went RTM on 10/11, this should not be a surprise http://blogs.technet.com/b/exchange/archive/2012/10/11/the-new-exchange-reaches-rtm.aspx Crazy not to have a big announcement from Microsoft about it.

Office 2013 and Sharepoint 2013 on Technet

For those of us waiting , Office 2013 is now available for download from technet along with sharepoint 2013. It so far has not shown up on the VL site. https://technet.microsoft.com/en-us/subscriptions/securedownloads/hh442904.aspx

Powershell - Get folder size

So i ran into a situation where i needed to get the size of a set of folders, allot of folders. I created this powershell script to do a couple of things 1. point to the root of where the folders reside 2. list all the folders in that directory 3. recursivly go through each folder and sub-folders to and get the total sum of the size of folders 4. out-put the size and name of folder both on screen and to a text file. Enjoy! $rootPath = "C:\Folders\" $colItems1 = Get-ChildItem $rootPath foreach ($i in $colItems1) { $colItems = (Get-ChildItem -recurse "$rootPath\$i" | Measure-Object -property length -sum) "{0:N2}" -f ($colItems.sum / 1MB) + " MB,$i" "{0:N2}" -f ($colItems.sum / 1MB) + " MB,$i" >>C:\result.txt }

DPM 2012 Update Rollup 3 released

Microsoft has released update rollup 3 for DPM 2012 http://blogs.technet.com/b/dpm/archive/2012/10/10/system-center-2012-update-rollup-3-ur3-released.aspx Issues that are fixed in Update Rollup 3 for System Center 2012 Update Rollup 3 for System Center Data Protection Manager 2012 (KB2751230) Issue 1   After you upgrade System Center Data Protection Manager 2010 to System Center Data Protection Manager 2012, the tape management report does not display overdue tapes.  Issue 2   System Center Data Protection Manager 2012 Client Protection does not scale to the limits that are expected.  Issue 3   When you try to specify a client computer name in the DPMServerName attribute by using Windows PowerShell, Windows PowerShell crashes.  Issue 4   When the name of a Microsoft SharePoint site collection contains a space, and you perform a SharePoint item-level recovery operation in System Center Data Protection Manager 2012, the operation fails....

HP not supporting all servers.........

Well this is rather unfortunate since the servers we bought a year ago are all G6's but i guess that is how IT goes. HP will only officially support G7 and G8 server series. http://h18004.www1.hp.com/products/servers/windows/index.html

Windows 8 RSAT tools released for 2012 Server

Image
Remote Server Administration Tools for Windows 8 enables IT administrators to manage roles and features that are installed on computers that are running Windows Server 2012 from a remote computer that is running Windows 8. http://www.microsoft.com/en-us/download/details.aspx?id=28972 Overview Remote Server Administration Tools for Windows 8 includes Server Manager, Microsoft Management Console (MMC) snap-ins, consoles, Windows PowerShell cmdlets and providers, and command-line tools for managing roles and features that run on Windows Server 2012. In limited cases, the tools can be used to manage roles and features that are running on Windows Server 2008 R2 or Windows Server 2008. Some of the tools work for managing roles and features on Windows Server 2003. Top of page System requirements Supported operating systems:  Windows 8, Windows 8 Pro **Remote Server Administration Tools for Windows 8 can be installed ONLY on computers that are running Windows 8.** Remote ...

Windows Server 2012 First Look Clinic's

http://www.windows-server-launch.com/Home

Free ebook: Introducing Windows Server 2012 (RTM Edition)

Microsoft has released a free E-Book for Server 2012. http://blogs.msdn.com/b/microsoft_press/archive/2012/09/05/free-ebook-introducing-windows-server-2012-rtm-edition.aspx?Loc=zTS3z&type=zDLz&media=zBKz&prog=zPressz&prod=zWSz

Historical Disk usage with Powershell and SQL

Checking hard drive space gets old, and if you want historical data it was a manual processes, so i created this script i run once a day to update a SQL database, and connect to it from excel to give me a historical data usage on our shared drives. Enjoy.

Enumerating Groups of users and properties with Powershell ADSI

So the other day it was brought up to give a user access to see what users are in a specific set of groups in a specific OU. I did not want to install the admin tools just so they could use the ActiveDirectory modules, so i had to write this script using only ADSI. using ADSI only requires the end user to have read access to the objects. Here ya go have fun. # Group enumerator script by Jeramy Thompson # Downloaded from http://jeramythompson.blogspot.com/ # Change $ouPath to the path of groups you want to enumerate # To popluate different user properties # change $userCN.mail to $userCN.(property) for example # if you wanted the samaccount name change it to # $userCN.sAMAccountName # # # $ouPath = "OU=OUNAME,DC=netbiosdomain,DC=domain,DC=com" [void][System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") [void][System.Reflection.Assembly]::LoadWithPartialName("System.Drawing") $Form1 = New-Object System.Windows.F...

Upgrading to 2012....Wait a minute.

So I was all gung-ho about getting my servers upgraded to 2012. I had done all my testing on the RC's , had my documentation all setup and ready to go then ran into these issues: Windows 2012 VM Freezes or reboots host 2008 R2 SP1 - I actually read about this prior to installing it on my clusters. I was able to use the same hardware as a cluster node to verify that my shop is indeed having the issue. The best thing to do would be to upgrade the nodes to 2012 hyper-v 3.0. but again there are roadblocks in the way of that too! To backup the servers with DPM 2012 you need SystemCenter 2012 SP1 , as of right its still CTP2 so it is not going on my production servers. To manage the cluster nodes with VMM 2012, it needs, you guessed it, System Center 2012 SP1 . so as of right now I'm in a holding pattern for my production servers until SP1 is released. Update for HP customers:

DPM2012 Crash on recovery tab...

Image
So this was just a flat out weird issue that i was not able to lock down the cause of the issue but did find a fix. After reading countless articles on TechNet, asking questions   , and even creating a support ticket with Microsoft (I didnt even get to utilize them), I found the fix. Im Assuming that KB2706783 caused the issue. While waiting for microsoft to start the incident process, I was getting ready to send some tapes offsite, and noticed not only did the console crash but reports were not able to be generated any more either. on the server navigate here http://localhost/Reports_MSDPM2012/Pages/Folder.aspx click the DPMReports_* click DPMReporterDataSource Now here is where the issue was,the credintails were set to "DPMR$COMPUTERNAME" i have no idea where this came from or the password, i changed this part to "Windows Integrated Security" Now Reports work again, and so does the console. -Update- This is not a complete fix, just a step...

DPM 2012 4.0.1915.0 agent in wrong directory

Image
Though id make a quick post about the latest DPM blunder and easy fix. Once you upgrade to update roll up 2 KB2706783  , you will need to upgrade all the agents on your servers. The on domain servers you can click on the console and upgrade them quickly, however for your off domain (untrusted) servers you have to manually install the update. Now reading this would tell you that the folder is located in the C:\Program Files\Microsoft System Center 2012\DPM\DPM\ProtectionAgents\RA\ folder. well that's not true. I guess the programmers at Microsoft fell asleep at the wheel and put it in the "C:\Program Files\Microsoft System Center 2012\DPM\DPM\agents\RA" folder. not sure why its there but it is, just copy that folder to your servers and run the installer, it will update and you will be good to go.

Windows 8 RTM hits TechNet and MSDN

With the RTM in early August, MS has released Windows 8 in its various flavors to TechNet and MSDN. Current Releases Windows 8 (x86) - DVD (English) Windows 8 (x86) - DVD (English-United Kingdom) Windows 8 (x64) - DVD (English) Windows 8 (x86) - DVD (English-United Kingdom) Windows 8 Enterprise (x86) - DVD (English) Windows 8 Enterprise (x86) - DVD (English-United Kingdom) Windows 8 Enterprise (x64) - DVD (English) Windows 8 Enterprise (x64) - DVD (English-United Kingdom) Windows 8 Enterprise N (x64) - DVD (English) Windows 8 Enterprise N (x64) - DVD (English-United Kingdom) Windows 8 Enterprise N (x86) - DVD (English) Windows 8 Enterprise N (x86) - DVD (English-United Kingdom) Windows 8 N (x86) - DVD (English) Windows 8 N (x86) - DVD (English-United Kingdom) Windows 8 N (x64) - DVD (English) Windows 8 N (x64) - DVD (English-United Kingdom) Windows 8 Pro VL (x86) - DVD (English) Windows 8 Pro VL (x86) - DVD (English-United Kingdom) Windows 8 Pro VL (x64) - DVD (...

KB2647753 - repeat install (Updated manual Fix)

I noticed that after installing windows updates for 8/14 KB2647753 , installed successfully, then requested that it be installed again. It does show up when you run in systeminfo. Waiting on a response from Microsoft on this issue here http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/6e8d5ffd-045f-4184-98a0-b79109361ded created this quick powershell script to show the version number to verify against the website. Get-Item $env:windir\system32\localspl.dll | foreach-object {$L = $_.VersionInfo.FileVersion} Get-Item $env:windir\system32\win32spl.dll | foreach-object {$W =  $_.VersionInfo.FileVersion} Get-Item $env:windir\system32\spoolsv.exe | foreach-object {$S = $_.VersionInfo.FileVersion} $L = $L.substring(0, $L.IndexOf("",15)) $W = $W.substring(0, $W.IndexOf("",15)) $S = $S.substring(0, $S.IndexOf("",15)) Write-host "localspl.dll -FileVersion- $L win32spl.dll -FileVersion- $W spoolsv.exe -FileVersion-...

DPM 2010 Tape Belongs to a DPM server sharing this library

I wrote a powershell script to fix this issue in 2010, it does not appear to be an issue in 2012. a full explanation i got from here.  Enjoy $ServerInstance = "DPMSERVER\MSDPM2012" $Database = "DPMDB" $ConnectionTimeout = 30 $Query = "select media.BarcodeValue, media.SlotNum, media.MediaId, gmedia.MediaPoolId from tbl_MM_Global_ArchiveMedia gmedia  inner join tbl_MM_Media media on gmedia.MediaId = media.GlobalMediaId " $QueryTimeout = 120 $conn=new-object System.Data.SqlClient.SQLConnection $ConnectionString = "Server={0};Database={1};Integrated Security=True;Connect Timeout={2}" -f $ServerInstance,$Database,$ConnectionTimeout $conn.ConnectionString=$ConnectionString $conn.Open() $cmd=new-object system.Data.SqlClient.SqlCommand($Query,$conn) $cmd.CommandTimeout=$QueryTimeout $ds=New-Object system.Data.DataSet $da=New-Object system.Data.SqlClient.SqlDataAdapter($cmd) [void]$da.fill($ds)  $conn.Close() ...

KB2718704 breaking DPM 2012 for non domain servers

If you an administrator you are aware of  KB2718704  and its exploits via the Flame software. After patching my DPM server it appears all non domain servers are no longer allowing the DPM 2012 server to connect. to fix the error re-attach the servers in DPM Management Shell attach-nondomainserver dpmservername   -psname remoteservername   -username remotelocalusername

Hyper-V clustering on 2008 R2 Server Core

So i thought id put in some notes on configuring a Hyper-V Cluster on 2008 R2 SP1 core. in my scenario i an using 4 nics team for Hyper-V data, 1 nic for management , one for cluster traffic and one for live migration data. I am also using 8GB FC clusters consists of 5 nodes (removing the need for a quorum drive) This is only connected to 1 VLAN , if you need mutiple VLANS, create them before creating your cluster as it will be easier. one tool you will need in this setup is nvspbind.exe , this allows for the configuration of network services tied to the adapters. first you will want to install all your cluster servers exactly the same with the same hardware etc. Then install the OS (im using 2008 R2 Datacenter) and select the Core installation once installed loginto the server , you will get a command prompt install the SNMP feature Dism /online /enable-feature /featurename:SNMP-S Enable Remote Administration of Firewall (optional) netsh advfirewal...

DPM 2012 Upgrade from 2010..

Image
So upgrading is very simple, there are many different post on how to upgrade , and its mostly point and click, however there are some things you should do to "make it work", or maybe it was just me. also depending on how large your infrastructure is, now backups can run until the whole process is done, that means you need your dpm server on 2012, and client agents on on 2012 (2003 servers may require a reboot) 1st backup your 2010 database run your upgrade once completed reboot then BACK UP your 2012 DATABASE NOW! this will save you frustration later down the road, just put it on disk somewhere. FYI, if your using the SQL that came with DPM, it does not include SP1 (yeah that's right), update this later. everything will be out of sync begin sync them now. if you remember setting the tape write period ratio along time ago, guess what, it dosen't exist any more in powershell Set-DPMGlobalProperty –DPMServerName -TapeWritePeriodRatio you now get to se...