Posts

Showing posts from December, 2010

TMG 2010 Firewall Routing

Image
We are using Microsoft Forefront Threat Management Gateway 2010 in the virtual environment for high availability. It was quite difficult to find documentation on how to route IP addresses and use the firewall. Here is how I setup routing and firewall. I am assuming that you have already installed the software ready to begin.

Step 1. First you need to assign all of the IP addresses to NIC that will eventually be routed through the firewall. This is done in the networking interface and not TMG. Step 2. Now that you have all of the IP addresses assigned to the NIC you can open the Forefront TMG Console. Click on the Firewall Policy. Step 3. Click on the "Publish Non-Web Server Protocols". Then create a name for the rule. Step 4. Now enter the IP address for the server within the NAT pool/behind the firewall. Step 5. Now choose the port that you want to forward. You will need to create a rule for each port you want to forward. Step 6. Network Listener, choose External and then …

XenDesktop 5 on vSphere 4.1 (Part 1.)

Image
I recently upgraded our XenDesktop 4 lab to XenDesktop 5 to show off some of the new features. As with the last lab I am using VMware's vCenter 4.1 which is the most recent version at the time of this post. I am using the Express version since my lab will be small. Here are my notes for the install:

Software Used: Windows 2008 R2 x64 - This will be the Citrix broker for the desktops and the web server.Windows 7 x86 - This will be the desktop we are connecting to with the Citrix plugin.Windows Active Directory - I will not be going through the setup in this walk through.vSphere 4.1 & vCenter 4.1 - This should be configured prior to this walk through.
Step 1. Windows 2008 R2 / Citrix Delivery Controller - I assume that you have installed VMware Tools, joined the server to the existing Active Directory and ready to install the Xen Broker. I have ISO mounting software and will transfer the XenDesktop5.iso to the desktop to run the installer. Step 2. Windows 7 Virtual Desktop. Now t…

VDI Desktop Setup for Performance

When building Windows 7 VDI master images you might find that these changes will help you get the most out of your Windows 7 clones. While this list is not complete it will help you get started. If you have any addition you think should be added please post them.

Disable Windows Autoupdate [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update] "AUOptions"=dword:00000001 "ScheduledInstallDay"=dword:00000000 "ScheduledInstallTime"=dword:00000003 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv] "Start"=dword:00000004 Disable Offline Files [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\NetCache] "Enabled"=dword:00000000 Disable Disk Defragmentation BootOptimizeFunction [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction] "Enable"="N" Disable Background Layout Service [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Optim…

XenDesktop 4 on vSphere 4.1

Image
I recently setup a XenDesktop 4 lab to show our customers the difference between both VMware's View 4.5 and XenDesktop 4. I am using VMware's vCenter 4.1 which is the most recent version at the time of this post. I am using the Express version since my lab will be small. Here are my notes for the install:

Software Used: Windows 2003 x86 - This will be the Citrix broker for the desktops and the web server.Windows 7 x86 - This will be the desktop we are connecting to with the Citrix plugin.Windows Active Directory - I will not be going through the setup in this walk through.vSphere 4.1 & vCenter 4.1 - This should be configured prior to this walk through.Step 1. Windows 2003 / Citrix Delivery Controller - I assume that you have installed VMware Tools, joined the server to the existing Active Directory and ready to install the Xen Broker. I have ISO mounting software and will transfer the DDC_VDA.iso to the desktop to run the installer.
Step 2. Windows 7 Desktop - Once you ha…

List User Accounts

If you want to get a list of users on the Linux box you can find out using the following. cat /etc/passwd

Create a system user

If you have a need to create a new system user for things like Mongrel use the commands below.
adduser [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID] [--firstuid ID] [--lastuid ID] [--gecos GECOS] [--ingroup GROUP | --gid ID] [--disabled-password] [--disabled-login] [--encrypt-home] USER Add a normal user adduser --system [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID] [--gecos GECOS] [--group | --ingroup GROUP | --gid ID] [--disabled-password] [--disabled-login] USER Add a system user adduser --group [--gid ID] GROUP addgroup [--gid ID] GROUP Add a user group addgroup --system [--gid ID] GROUP Add a system group adduser USER GROUP Add an existing user to an existing group general options: --quiet | -q don't give process information to stdout --force-badname allow usernames which do not match the NAME_REGEX[_SYSTEM] configuration variable --help | -h usage message --version | -v version number a…

Install previous rails version

If you want to install previous version of Rails here is the code needed. Just replace the version you are looking for. gem install rails --version=1.1.6