Saturday, June 11, 2011

Unable to copy data over map drive using task scheduler bat file?

When the scheduler runs, it doesn't know what drives you have mapped in your explorer.

Use the complete network path instead. It worked for me.

move somefile.txt t:\ This will not work.

Try:

move somefile.txt \\192.168.0.2\sharefoler\ Change to your ipaddress and sharefolder.

Thursday, May 12, 2011

Attach USB Hard Drive to VM in Hyper-V using Virtual SCSI

The below guide shows the way to attach an USB hard drive into the VM, to allow VM access the hard drive directly without going through Hyper-V host.

Conditions:
1. The USB hard drive must be in NTFS
2. The USB hard drive must attach to Hyper-V host
3. The USB hard drive can only be accessed by 1 VM at the same time.

1. In Disk Management of Hyper-V host, select the USB HDD, in this scenario, Disk 3 is the USB drive

2. Put Disk 3 into Offline mode


3. Go into VM setting


4. Go to SCSI Controller section, select Hard Drive, and click Add


5. Select the USB HDD (Disk 3), click OK


6. The USB HDD is now appear in the VM








Monday, April 11, 2011

Configure WSUS Update at non AD Environment

Usually in an AD environment, we only need to configure Group Policy to point update source to WSUS to allow GPO members to receive Windows Updates.

However, in the environment without Active Directory, we need to manually modify the registry to point the update source to WSUS server. The link below shows registry keys involved in this registry modification

http://technet.microsoft.com/en-us/library/cc708449(WS.10).aspx


Sunday, April 10, 2011

Core Parking in Action

Core parking is one of the highlight feature in Server 2008 R2. With the processors produced by Intel and AMD nowadays, when combine with Core Parking abilities, the core can be more capable and efficient on every watt spent.

http://blogs.technet.com/b/mattmcspirit/archive/2009/05/07/seeing-core-parking-in-action.aspx


Monday, March 21, 2011

Unable to Ping VM After P2V

After performing P2V conversion, user might have difficulty to connect to or ping to the newly created VM. The problem was still there after changing the new VM IP, DNS, or even MAC address.

The problem is mainly caused by same SID with source computer. Microsoft does not support changing a computers SID outside of a new deployment scenario using the Sysprep tool. The source computer have either to be reprovisioned or taken off from the network immediately after the P2V deployment, to avoid SID clashing in the same network.

http://blogs.technet.com/b/scvmm/archive/2009/01/13/p2v-conversion-and-the-source-computer.aspx

Sunday, February 27, 2011

Intel Thunderbolt is here!

Thunderbolt is a familiar-looking port, a brand-new chip, and a cord, which allows devices to pipe two data streams simultaneously in both directions with over a single cable at up to 10 gigabits per second to start, primarily using PCI Express x4 for data and DisplayPort for video. The Thunderbolt controller chip is required for the system, but Intel says it's hardware-agnostic and doesn't require an Intel processor or chipset to use, similar like a miniature router of sorts that rapidly switches between the two bidirectional channels of data.


Intel Thunderbolt previously was known as Light Peak, the Thunderbolt will be shipped together along with new MacBook Pro model. Intel also reinforces that this is compatible with existing DisplayPort devices and it also uses the PCI Express protocol for enhanced compatibility. Daisy-chaining will be possible, along with bus-powered devices, and cables can be made using either optical or electrical construction.

http://www.engadget.com/2011/02/24/intel-thunderbolt-a-closer-look/


Wednesday, February 16, 2011

Samsung Galaxy S II is here!


Samsung has introduced its latest Android phone, Galaxy S II. According to official, it is powered by dual core processor with 1GB RAM. The main highlight of this phone is its 4.3" Super AMOLED Plus display panel. I really looking forward to take a look of its performance compare with its predecessor, Galaxy S. Official launch date is unknown, but it will be available as soon as this month.

2011 is shaping up to be an amazing year for Android Phone enthusiasts all around the world, currently there are 2 dual core Android phones in market, including LG's Optimus 3D and Motorola's Atrix, Samsung's Galaxy S II and HTC Scorpion will taking part in this competition soon, guess which phone will be in most Android enthusiasts' pocket?


http://www.engadget.com/2011/02/13/samsung-galaxy-s-ii-official-tegra-2-4-3-inch-super-amoled-plu/


Tuesday, February 15, 2011

SCVMM Self-Service Portal

Recently I got a chance to play with SCVMM Self-Service Portal and deployed in a test environment. I found it is quite an useful tools to provision virtual machines in term of time saving and consumes lesser human resource, especially in large environment, where as the member of departments able to deploy own VM self-service.


Introduction of SCVMM Self-Service Portal (SSP)

SSP is a component of Microsoft System Center Virtual Machine Manager, where SCVMM is required in order to run SSP. SSP is cloud based application, it requires a web server to host, and this web server will communicate with SCVMM server. The SSP is like a middleman, to allow user to communicate with SCVMM via a web interface. In order to use SSP, the user must have Internet Explorer installed on the computer, as ActiveX is required for SSP.


The main purpose of using SSP is to allow the user to self-provision their own VMs on Hyper-V host.

SCVMM server is used to communicate and administrate Hyper-V host group which already consolidated. By using the web interface to logon to SSP, user will be able to provision and manage own VMs.

This product is specially made for the environment which lack of human resource to provision and manage virtual machines to end user, due to excessive demand.

Differences of VMM SSP and SCVMM Console

SCVMM Console is actually a console solely build for administrative purposes, such as like managing host group, VM provisioning and managing, create and modify VM templates, resource management and optimization of virtual environment. VMM SSP is actually a console solely built for end user, with a limited features and functions compared to SCVMM Console. The purposed of VMM SSP is mainly allow end users to provision and manage their own VMs, the user in SSP do not have any rights to administrate other users in SSP. The rights of users in SSP can be assigned by using SCVMM Console.

Self-Provisioning


By using VMM SSP, end users will be allowed to self-provision and manage their own VMs by using the web interface. The web interface is simple and user friendly as shown above. The provisioned VMs are based on VM template. The VM template is created in SCVMM Console by SCVMM administrators.


In the same time, the user also allows to connect and remote desktop to the VMs using web interface.

Simple and user friendly web interface for end user


This interface of SSP is simple and can be understand easily.

Assign user rights according to user type


The administrator can assign different rights to end user according to user type. The screenshot above shown the rights assigned to the user group. The administrator also able to assign the VM to deploy to particular Hyper-V host group based to respective user type. For example, user type A will only deploy VM to Hyper-V host group A.

Set boundary to users to avoid excessive provisioning


SSP allows end user to self-provision VMs for themselves, however, if the VM deployment didn’t controlled properly, this will lead to resources depletion.

SSP introduce Quota Point to allow administrator to control resource allocation effectively. Administrator can assign a maximum quota to a user group, and also quota point required for deployment on VM templates. End user able to provision VMs, and the quota points will be deducted after the provisioning, the point deducted is based on quota point of template.

By using Quota Point feature, administrator can assign the VMs template quota point based on how much resource consumed for deployment. For example, assign 2 quota points for a VM required 4GB of RAM, and 1 quota point for VM required 2GB of RAM. Indirectly, administrator can keep track of software license used by end user.

Extras

During the first time I remote accessed to VM using computer out of domain, the SSP prompted me for domain user and password when I trying to access to VM. This is because the computer does not have credentials to access the resources in the domain. As for Win 7, it will prompt for user name and password, however in Win XP, the web interface will prompt error and without asking for credentials.


In order to overcome this problem, on the login page of SSP, select Store my credentials. This will allows SSP to carry the credentials entered in this page to access VM within the domain. It is quite useful for computer out of domain.

It is recommended to update all VMs version into latest version to make VMs compatible with SSP. I have faced this problem during my Win XP deployment, where the VM unable to be remote accessed via web interface as the Win XP version is SP2, after I updated it to SP3, it has no problem to be remote accessed via web interface.