Thursday, August 21, 2014

HTTP to HTTPS Redirector / IIS URL Rewriter / IIS 8.0

Redirecting all traffic from HTTP to HTTPS in IIS7 will make sure your users always access the site securely.

Method – 1
Install URL Rewrite module 2.0 (Latest @ this time)
This is a add ins for IIS will allows you to manipulate URL’s.
You can download it from :

 How to Add a URL rewrite rule

Rule Name: Redirects to HTTPS
Pattern: (.*)
Add Condition: {HTTPS}
Check if input string: Matches the Pattern
Pattern: ^OFF$
Tick this - Ignore case
Action type: Redirect
Redirect URL: https://{HTTPS_HOST}/{R:1} 
Tick this - Append query string
Redirect type: See Other (303)

Method – 2
By inserting the following code in to the web.config file located “C:\inetpub\wwwroot”
 
Thanks
-Roshan



Wednesday, August 20, 2014

Smart Array Controller \ Physical Drive Write Cache - Should we enable or disable ? (HP Servers)

What is Physical Drive Write Cache ?
Drive write cache, is a separate cache that exists on each physical drive in an array. It can be enabled for all drives attached to a controller using HP array configuration tools, including the Array Configuration Utility (ACU). Drive write cache lets the Smart Array controller post a low level disk write to a physical drive’s low-level controller and continue to its next operation without having to wait for the write to be completed to the disk drive.

Enabling drive write cache can sometimes further improve array performance; however, you must first understand its potential impact on data integrity.

Smart Array Controller Cache ?
Cache on the Array Controller available in 512MB, 1GB, 2GB. Earlier generations of Smart Array controllers may require a firmware upgrade to enable physical drive write cache.

Risks of enabling physical drive write Cache
In general, physical drive write cache should not be enabled when using a Smart Array controller in any application environment where data loss would be
completely unrecoverable. By default this is disabled.

When you should enable PDWC.
If your environment has write intensive applications that tend to write in bursts, enabling drive write cache can improve your
storage performance. Applications that continuously write large amounts of data to the array will eventually fill up write
cache, causing throughput to slow down to the basic rate supported by the drives.

However, enabling drive write cache can prove beneficial in certain write intensive application
environments, such as high-end video editing, that make extensive use of temporary files in the editing process.

Earlier generations of Smart Array controllers may require a firmware upgrade to enable physical drive write cache.
This feature is supported for all firmware versions of the current generation of Smart Array controllers.