Archive for the ‘Uncategorized’ Category

Why is my RES Workspace Manager database growing that fast….??

Last week I was troubleshooting a RES Workspace Manager 2012 environment by one of our customers. A couple of times in one week, the datadisk of the SQL server was full, so at that time the SQL environment was not running anymore. The database of RES Workspace Manager was growing that fast….but why??

When looking for the actually size of the database, I saw that the size is just above the 20 GB. That’s pretty big if you ask me! The biggest data is the “logging” section. Okay…but which logging?? Sinds a few years, there’s a great tool available called DBLogCleanup. This tool has been written by Patrick van Grinsven and is extremely usefull for troubleshooting this kind of stuff.

http://resguru.com/2014/02/new-utility-db-cleanup-tool/

Just run the tool, make a connection to your SQL environment and select the RES Workspace Manager database. At the log section, select “User Settings Sampling mode data“. As you can see, there were over the 16 million items in the database! The process iexplore.exe with the AppGUID 02222….6862 is growing realy fast!! So there’s a lot of User Sampling data in the database. After deleting the sampling data, the size of the database was 10 GB smaller.

1.) Run the DBLogCleanup Tool
2.) Fill in the SQL server, database, user and password
3.) Select the section you want to view
4.) Browse through the processes and note the AppGUID
5.) Open your RES Workspace Manager Console
6.) Navigate to your applications and find the specific AppGUID
7.) Open the properties of the application
8.) Navigate to User Settings and open the Sampling tab
9.) In the right corner hit “clear all sampled data”
10.) Make sure you turn off the sampling mode for that application

Conclusion: make sure you do not use sampling mode for a very long time! All the sampled data is stored in your database, so the database is growing very fast!!

RESDB_01    RESDB_02    RESDB_03

RESDB_04    RESDB_05    RESDB_06

 

 

 

How to: Building a virtual Hyper-V 2012 R2 infrastructure

NOTE! Building this environment is not supported by Microsoft. This is only usefull for study Hyper-V and the System Center 2012 R2 Suite.

When you want to build an Hyper-V cluster, you’ve have to had at least 2 servers or desktop machines for your Hyper-V host servers. I don’t have that much hardware, so I want to install and run everything on my desktop machine (see this blogpost). But wait for a moment, we want to install a hypervisor within a hypervisor? Is this  possible? The answer is yes and no!

Installing Hyper-V isn’t that difficult. Just hit a copple of times on “Next” and your Hyper-V host is up and running. But the next step is to install a new VM and enabling the Hyper-V Server Role. When you enable the Hyper-V Server Role within a virtual machine, you’ll receive an error. This is because Windows is checking all the prerequisites for enabling the Hyper-V role.

So, there’s a way to install Hyper-V whitin a Hyper-V environment. The only thing is, you cannot start a VM within this virtualized Hyper-V host. So you can build for example a Hyper-V cluster with multiple VM’s on it, but you cannot start these machines!! For me it is enough for testing purposes and studying. For example, you can build your own virtual Private Cloud with Hyper-V 2012 R2 and System Center 2012 R2.

1.) I’ve installed 2 new VM’s within Hyper-V 2012 R2. These are going to be the virtualized Hyper-V hosts.
2.) The Hyper-V Server Role is still disabled
Get-WindowsFeature -Name Hype*
3.) Install the Hyper-V role
Enable-WindowsOptioanlFeature -Online -FeatureName Microsoft-Hyper-V -All -NoRestart
4.) Install the Hyper-V management tools
Install-WindowsFeature RSAT-Hyper-V-Tools -IncludeAllSubFeature
5.) Install the Windows Failover Clustering Feature
Install-WindowsFeature RSAT-Clustering -IncludeAllSubFeature
6.) Install the Multipath IO feature for ISCSI storage
Install-WindowsFeature Multipath-IO
7.) Restart the machine 8.) After the reboot you’re able to create and build your Hyper-V cluster

NOTE! Building this environment is not supported by Microsoft. This is only usefull for study Hyper-V and the System Center 2012 R2 Suite.

2013-12-16_11h58_06    2013-12-16_11h58_41    2013-12-16_12h00_08

2013-12-16_12h00_30    2013-12-16_12h02_58    2013-12-16_12h03_22

2013-12-16_12h04_26    2013-12-16_12h04_51    2013-12-16_12h05_16

2013-12-16_12h05_29    2013-12-16_12h05_46    2013-12-16_12h19_19

2013-12-16_12h20_04

System Center 2012 R2 Configuration Manager Toolkit Now Available!

The Microsoft System Center 2012 R2 Configuration Manager Toolkit contains fifteen downloadable tools to help you manage and troubleshoot Microsoft System Center 2012 R2 Configuration Manager. The following list provides specific information about each tool in the toolkit.

Note: Items with an * are new in the R2 Toolkit and require Microsoft System Center 2012 R2 Configuration Manager for full functionality.

Server Based Tools:

DP Job Manager – A tool that helps troubleshoot and manage ongoing content distribution jobs to Configuration Manager distribution points.
Collection Evaluation Viewer – A tool that assists in troubleshooting collection evaluation related issues by viewing collection evaluation details.
Content Library Explorer – A tool that assists in troubleshooting issues with and viewing the contents of the content library.
Security Configuration Wizard Template for Microsoft System Center 2012 R2 Configuration Manager – The Security Configuration Wizard (SCW) is an attack-surface reduction tool for the Microsoft Windows Server 2008 R2 operating system. Security Configuration Wizard determines the minimum functionality required for a server’s role or roles, and disables functionality that is not required.
Content Library Transfer – A tool that transfers content from one disk drive to another.
Content Ownership Tool – A tool that changes ownership of orphaned packages (packages without an owner site server).
Role-based Administration Modeling and Auditing Tool – This tool helps administrators to model and audit RBA configurations.
Run Metering Summarization Tool – The purpose of this tool is to run the metering summarization task to analyze raw metering data

Client Based Tools:

Client Spy – A tool that helps you troubleshoot issues related to software distribution, inventory, and software metering on System Center 2012 Configuration Manager clients.
Configuration Manager Trace Log Viewer – A tool used to view log files created by Configuration Manager components and agents.
Deployment Monitoring Tool – The Deployment Monitoring Tool is a graphical user interface designed help troubleshoot Applications, Updates, and Baseline deployments on System Center 2012 Configuration Manager clients.
Policy Spy – A policy viewer that helps you review and troubleshoot the policy system on System Center 2012 Configuration Manager clients.
• Power Viewer Tool – A tool to view the status of power management feature on System Center 2012 Configuration Manager clients.
Send Schedule Tool – A tool used to trigger a schedule on a client or trigger the evaluation of a specified DCM Baseline. You can trigger a schedule either locally or remotely.
Wakeup Spy – A tool that provides a view of the power state of Configuration Manager client computers and which operate as managers or manages.

Toolkit

Microsoft Server Posterpedia Windows 8.1 App

Microsoft released an update in the Windows App Store for their Server Posterpedia App, including the new Hyper-V 2012 R2 posters and some design changes.

Server Posterpedia is an interactive app that uses technical posters as a reference for understanding Microsoft technologies. This app includes all the reference posters from different Microsoft Server Technologies such as Windows Server 2012 Hyper-V, Exchange or Windows Azure. The great thing about this App, you can not only checkout the different posters and zoom in, if you click on a specific topic for you get directly linked to the right TechNet article. This can help find some TechNet references really easy and fast.

Download the Posterpedia App in the Windows Store.

2013-10-28_10h51_50

Hyper-V 2012 R2 connect with enhanced session to a Gen2 VM

A great new feature within Hyper-V 2012 R2 is the enhanced session connection. With this new feature you are able to connect to a Gen2 VM through the VM Bus. This will bring a lot of new possibilities and capabilities. One of the missing things in Hyper-V 2008 R2 is copy and paste from the parent to the child VM. With the new Generation2 (Gen2) VM’s, this is also possible!! 🙂

Now you can copy and paste items like, ISO’s, textfiles, folders, etc. to your child VM. How cool is that! In this example I’m copy and paste a simple folder, but here you can see how powerfull it is.

EH_01    EH_03    EH_02

EH_04     EH_05    EH_06

Hyper-V: Generation 2 Virtual Machine compatibility error

Today I want to deploy a new virtual machine within Hyper-V (Windows 8.1 Client Hyper-V). The virtual machine was an Windows Server 2008 R2 machine. After hitting the “Start” button, I received an error message:

“Boot Failed. EFI SCSI Device. Failed Secure Boot Verification”.

2013-09-20_15h08_19    2013-09-20_15h10_54

The reason for this error was the new Generation 2 VM. I’ve created a new Generaion 2 (Gen2) VM for Windows Server 2008 R2, but it supports only Windows Server 2012 and Windows 8 or higher!! So just remember, when you want to create an virtual machine whit an “older” operating system, just create an Generation 1 VM (Gen1).

How to: Print multiple documents from Windows Explorer using RES Workspace Manager

Normally users have the ability to right click on a file, or multiple files in the Windows Explorer, and print the file(s). When using RES Workspace Manager, this option is default not available for all your file extensions. This is a feature that you want enable for your users, for example for PDF files. So let’s configure this option.

1.) First of all start the RES Workspace Manager console
2.) Navigate to Composition / Applications /  Adobe Reader XI (in my example for PDF files)
3.) Navigate to the Properties / File Types tab and click Add
4.) Add the PDF file extension
5.) Select the command Print
6.) Select the parameter “%1”, this is default
7.) Now login with a user again and the Print option for PDF files within the Windows Explorer is back again!

2013-06-13_14h10_47    2013-06-13_14h11_17    2013-06-13_14h12_00

2013-06-13_14h12_32    2013-06-13_14h15_20

How to: Enable data deduplication in Windows Server 2012

A very cool new feature within Windows Server 2012 is Data Deduplication. Windows will look on block level to duplicate files and removes this files with pointers to the duplicate files. This can save you a lot of diskspace! Data Deduplication can be enabled on all the volumes of your server, except the boot volume!

By default, Data Deduplication will only deduplicate data that is not changed over the last 30 days. You can change this value to any numbers of days you want. Lets enable Data Deduplication. After enabling Data Deduplication, there are three scheduled tasks available (only vissible through PowerShell).

In my example I’ve copied the Windows Server 2012 ISO three times to my ISO partition. So there are three folder called ISO1, ISO2 and ISO3. All the folder contains exact the same data. So three times the ISO files are around the 10 GB of storage on my disk. Watch the result after enabling this great new feature….do you have any idea?? 😉

1.) Open the  Server Manager and enable Data Deduplication on the File and Storage Services server role.
2.) Or open PowerShell and enable this rol
Import-Module ServerManager
Add-WindowsFeature -name
FS-Data-Deduplication
3.) Enable Deduplication on the specific volume or volumes
Import-Module Deduplication
Enable-DedupVolume
E:
4.) View the new scheduled Deduplication jobs
Get-DedupSchedule
5.) Change the MinimumFileAgeDays value to 0
Set-DedupVolume E: -MinimumFileAgeDays 0
6.) Start the Deduplication jobs manualy
Start-DedupJob E: -Type Optimazation
Start-DedupJob E: -Type GarbageCollection
Start-DedupJob E: -Type
Scrubbing
7.) After a few minutes, watch the result!
Get-DedupStatus
How cool is that. Are you also going to enable Data Deduplication? 😉

DEDUP_02    DEDUP_03    DEDUP_04

DEDUP_05    DEDUP_06    DEDUP_07

DEDUP_08    DEDUP_09    DEDUP_10