Friday, 4 April 2014

[YLN] WinFix: Failover Cluster – Add Cluster Node Name as in DNS

When you add new node to Failover Cluster, the new node name is always added in lower capital and it differs from DNS name.

While it does not affect the operation of FOC, it does affect the display of the node name listed in FOC.

To add the new node as in DNS, you can read further WinFix: Failover Cluster – Add Cluster Node Name as in DNS

Thursday, 27 March 2014

SQL Server: Installation completed with warning "Setup has detected a non canonical DACL on directory"

The first of SQL Server installataion completed with success. However, when I installed SQL Server second instance, I encounter the SQL Server with two warnings on DACL:
  1. Setup has detected a non canonical discretionary access control list (DACL) on directory 'C:\Program Files\Microsoft SQL Server\MSAS10_50.SS2008R2EE02\OLAP\bin\'. Please verify your security settings and make corrections if needed. 
  2. Setup has detected a non canonical discretionary access control list (DACL) on directory 'C:\Program Files\Microsoft SQL Server\MSAS10_50.SS2008R2EE02\OLAP\bin\'. Please verify your security settings and make corrections if needed. 

Upon investigation, I found extra DACL entries that can be safely removed.

Fortunately, SQL Server warning does not affect SQL Server operation.

Have a great day


Tuesday, 25 March 2014

Admin Script: Increase Service time out to start SQL Server Reporting Services

During SQL Server Installation, SQL Server Reporting Services fails to start for setup default configuration. Fortunately, it can be bypass by press 'Cancel'.

However, SSRS still fails to start manually and it always complain of timeout (default is 30000 = 30 seconds) as shown in below Event viewer.

Hence, the only solution is to increase the Service Timeout.

Have a great day

[Move to blog.ylnotes.com] Incorrect Computer System Date can cause SSL fails to load

moves to

http://blog.ylnotes.com/appfix-incorrect-computer-system-date-can-cause-ssl-fails-to-load/

Monday, 24 March 2014

Script Library - Windows Batch - Generic Date Value

Script Library is my collection of reusable component as plugable script to get DATE value to be used in Windows Batch Scripting.

The scripts have the same usage but is written using different approach depending your needs:
  1. Script 1: Batch command [Date /T]
  2. Script 2: VBScript
  3. Script 3: Powershell
Have a great day

Sunday, 23 March 2014

Android Page

I have moved my blog to new location.
In new blog, i have compiled a page for android related articles:


Saturday, 22 March 2014

Sample Admin Script: Performance Monitoring Script using VBScript and WMI

My friend asks me whether I have a sample script for Performance Monitoring.
I have created a sample script for performance monitoring using VBScript and WMI.
The output is in html.

To modify, you must understand VBScript and WMI.


Have a great day


Friday, 21 March 2014

[Move to blog.ylnotes.com] Windows Updates: Build WSUS Offline Update ISO

http://blog.ylnotes.com/windows-updates-build-wsus-offline-update-iso/

[YLN] System Image Backup using Windows Backup ( Windows 8.1) to Linux NAS

Windows 8.1 comes with System Image Backup but it needs to be manually run and cannot be scheduled from GUI.

If you have purchased Linux NAS storage that uses sparse file allocation and does not have root privilege, you will encounter error when running Windows System Image Backup directly into Linux NAS share folder.

Since you have purchase it, I advise make use of it and create a system image backup with VHD for recovery in case.

You decide!!

Wednesday, 19 March 2014

[YLN] System Image Backup using Windows Server Backup (2012/2012 R2) to Linux NAS

Windows Server Backup is backup software that comes with Windows Server with no additional cost.

It supports Bare metal backup but it only supports disk backup only.

Organization that has little budget for backup storage may purchase Linux NAS appliance but Windows Server Backup cannot write when Linux NAS installed with file system that uses sparse file allocation such as ext4/XFS.

If the organization already purchased this NAS, it is better to make full use of it rather than no backup being performed at all.

You decide!

To read further System Image Backup using Windows Server Backup (2012/2012 R2) to Linux NAS

Monday, 6 January 2014

Admin Script: Backup SQL Server Databases with Week Of Month Timestamp

This is my collection of generic database backup script for SQL Server using SQLCMD.exe.

The purpose of the script is to backup SQL Server database in the Week Of Month format. The script is invoked via task scheduler to perform database backup (System and User database) weekly

This script consists of two files:
1. SqlServerBackup_WeekOfMonth.cmd
    Script to setup configuration and the script invocation from Task Scheduler

2. SqlServerBackup_WeekOfMonth.sql
    T-SQL Script to perform the database backup


This script works for SQL Server Database (Express or Full Version) from version 2008 and above.

If the setup is done properly, the final result is as follows: