網頁

2012年3月18日 星期日

Install SQL Server 2008 R2 Cluster (part 1 of 4)

In the previous articles, I ever introduce how to build windows failover cluster with Microsoft iSCSI Target 3.3. So this is time to express what application will be installed on this cluster environment. It will be SQL Server application now.
Why? Because I need to build this lab for one project to realize the basic database management and SQL language even though I am not an DB expert or DBA!

At first, I search the related information from Internet or document to study hard. Then I summary some basic step and process to write down on this Blogger. If you will follow the procedure(including cluster service prerequisite in the previous article), I will promise SQL Server Cluster will be installed successfully. Let us begin to do the related process now!

(1).Install Application Server
Enable "ktmRm for Distributed Transaction Coordinator" Service

  • Click "Start" --> "Administrative Tools" --> "Services"


  •  Right-Click "ktmRm for Distributed Transaction Coordinator" Service and click "Properties" in menu


  •  Change "Startup type" from Manual to Automatic ,click "Start" button next to click "OK" button


  •  So do that the service status will be started now.


Add Application Server Role

  • Click "Start" --> "Administrative Tools" --> "Server Manager"


  •  Click "Roles" --> "Add Roles"


  •  Click "Next > " button


  •  Click "Application Server" check box


  •  The message tell you need to install the required features firstly next to install Application Server. In the moment, please directly click "Add Required Features".


  •  Click "Next > " button


  •  Click "Next > " button


  •  Click "Incoming Remote Transactions" and "Outgoing Remote Transactions" check box next to click "Next > " button


  •  Click "Install" button


  •  The installation process is running now.


  •  Finally, the installation is successful now.


2012年3月11日 星期日

Create a new domain in a new forest

Do you ever promote a windows role to Active Directory?
I think a lot of people know how to do it if the window platform exist on corporate environment and the authentication mechanism need to be built. Maybe it will be good choice because never need to spend the money or time for surveying another product! Of course, there is more and more open source or free software supply the same function. That is another good choice as well.

After installing Windows Server 2008 R2 with hotfix up-to-date, I need to promote one machine to play an Domain Controller for preparing my lab environment. When you execute a command "dcpromo" in prompt console, the Active Directory Domain Services Installation Wizard will show up.


  • Enable "Use advanced mode installation" check box next to click "Next > " button


  •  A message will remind you the security difference between now and before version and compatible problem if your environment still exist the previous operation system. Due to it is my first new DC and doesn't exist the previous DC, I will directly click "Next > " button to go into the next step.


  •  Select "Create a new domain in new forest" option next to click "Next > " button


  •  Key in "FQDN of the forest root domain" as Adatum.com next to click "Next > " button


  •  Key in "Domain NetBIOS name" as ADATUM next to click "Next > " button


  •  Select Windows Server 2008 R2 as "Forest functional level" next to click "Next > " button


  •  Enable "DNS Server" check box because I want this DC play DNS role as well. 


  •  Due to it is my first DNS role and never need to be integrated with any existing DNS, please click "Yes" to ignore this message.


  •  Confirm whether need to change the default path as "Database folder", "Log files folder", and "SYSVOL folder". If you agree, click "Next > " button directly.


  •  Key in a password for using Directory Service Restore Mode in the future next to click "Next > "button.


  •  Click "Export settings" button

  • Select a safe location to save this file

 
 

  •  The process will begin to install or configure the related DC necessity.


  •  Finally, the Active Directory Domain Services Installation Wizard will be completed.


  •  And you have to restart it now to let DC function take effect. otherwise, it still is a generic windows platform if never restart after promote it firstly.

2012年3月4日 星期日

動手做豆漿

"豆漿"---這種在中式早餐店、 一般便利商店隨手都可以買到的飲品, 在現今環境中到處充滿危機的飲食---"瘦肉精"、 "禽流感"等病菌下,不得不讓我們聯想到:是否自己動手做才安全?

或許多少有點心理因素,讓我們也擔心:是否外部販賣的豆漿,也會存在不確定的因素? 當然,我相信,絕大部分商家都是本著良心做生意. 但自己動手做,除了多少自己心裡可以安心,且成本也較低,這樣一舉兩得、 和樂而不為!

說到這裡,您一定會認為:接下去我一定會寫"如何製作豆漿"的內容. 錯! 因為我也不會做豆漿,平常也跟大夥一樣,直接在早餐店或飲料店買豆漿喝,壓根不會想到要自己做豆漿. 但今天會想寫這個題材,原因是我老婆居然會做豆漿,且過程是全手工,絕不是使用購物台所介紹的豆漿機製作,這有夠稀奇吧! 因為我相信,現在的中年婦女們會做豆漿的應該很少了. 至少就我周邊的同事相比,真的算是異類!

或許您覺得"豆漿"沒什們特別,有必要大費周章的論述嗎? 是沒錯! 但您喝過剛煮出來、 熱呼呼的豆漿嗎? 或許您會說:在早餐店也可以買到,喝到熱呼呼的豆漿,沒什們稀奇! 但令人感動的是:若在寒冷的天氣,躲在溫暖的窩中,立即可享用熱呼呼的豆漿,這樣的場景與時間,我想不是人人都可以遇到的. 當下有種內心暖暖,幸福的感覺!!!

況且,若您能夠關注由一顆顆黃豆、 轉變成一鍋熱豆漿,頓時您將會覺得老祖宗的神奇,怎們能夠得知這樣的製作.也感謝老天爺,慶幸這手藝能夠普及與流傳,讓後世人們能夠享受到這種廉價的美食! 然而,製作過程是有點繁瑣,也需要花費一番工夫,至少讓我老婆煮完豆漿後也要稍些休息,這讓我更能夠重視這飲品,不能夠等閒之、浪費它, 所幸就大口地喝下它.

正當我一碗接著一碗的喝下它時,突然聽到一陣呼喊, "叫我這隻豬別喝太多,因為豆漿甜份及熱量很高", 慘!~ 老婆發現了! 原本想趁她不注意的時候喝個痛快,沒想到還是被發現. 這時,只好乖乖地放下碗公,與我的"豆漿" Say Goodbye!!!


2012年3月3日 星期六

Free Web monitor --- UptimeRobot

In the world, I know there is more Web monitor belongs to commercial or freeware production. But until now, I just find a "free" Web Monitor and the node setting is over than my request.

I need this function to monitor the corporative Web service but doesn't need any beautiful report. I just want to get error message at first time if web site has any problem. I realize the function of commercial production is better than freeware one. At the moment, I don't need this special function because I have a monitor system in internal environment of company.

Until now,the UptimeRobot list item satisfy my requirement and its operation is very simple --- Registry and Setting.

How to do it?
  • Navigate http://www.uptimerobot.com/ to click "Start Now", it will show up a window and let you register some information as email address and password.


  •  After finish the registration process, the system will send out a invitation mail to  your "registered" mail address. Later you just click the hyper-link URL to active your account.


  •  When you see the successful information, you can click "Sign-in" to begin to setup the Monitored Web Site.


  •  Again, log into this Web site by registered email and password.


  •  Click "Add New"


  •  Select "HTTP(s)" in Monitor Type menu



  •  Write down "URL" that is monitored web site, enable "Alert contacts to notify" check box and click "Add Monitor", this Web site will begin to be monitored now.


I am not sure whether its quality is good and its function can be running. Maybe need to view the status for a long time. Thanks the UptimeRobot!

2012年2月26日 星期日

Change BUFFALO Official firmware to DD-WRT

Today, I am clearing my house then and suddenly find out an old AP device --- BUFFALO  WHR-HP-G54. This device is powered off for a long time and it is hided on box. I remember its value doesn't cheap when buy it then.

How to reuse it? Whether can enhance its function?
Due to this device has already stopped, the official website never support it for a long time. That is why need to upgrade firmware to non-official version.

The DD-WRT is a good choice and its usage is earlier than other version.In this time, I will use it to replace the original firmware.

How to do it?
Refer to some article by Google next to write down my successful process as follows:
(1).Download the latest firmware version from Official DD-WRT Website
Connect to this URL http://www.dd-wrt.com/ next to click "Router Database"
 In "Support" tab, key in your AP model as "WHR-HP-G54" to search whether this model has been supported now. In this example, we can find it support for "WHR-HP-G54".
 Select the newest version as "v24 preSP2[Beta] Build 14896". (PS: This selection will depend on yourselves. Don't need to follow my choice.)
Select Standard Generic filename as "dd-wrt.v24_std_generic.bin"
Save this file into my local disk

(2).Refer to the Installation - DD-WRT Wiki
Go to this URL http://www.dd-wrt.com/wiki/index.php/Installation to realize what method can be selected,how to do it and so on.

(3).Download tftp utility
Go to this URL http://www.dd-wrt.com/wiki/index.php/TFTP_flash to download TFTP utility

(4).Change to "Obtain an IP address automatically"

(5).Execute upgrade firmware
After executing tftp utility and finish the related setup,press WHR-HP-G54 reset button about 30 sec until the red light appear.
When the red light of WHR-HP-G54 begin up and down, please click "upgrade" button right now so that bypass Official Flash limitation.

In the duration of firmware upgrade, the light will from Diagnose(Red) to Normal(Green) status. Now you can connect to http://192.168.1.1/ by Web Browser.

If you can see the above screen, congratulation, it is successful to upgrade DD-WRT firmware on WHR-HP-G54 now.



2012年2月20日 星期一

Why Microsoft Loopback Adapter cannot work?

Recently, I am studying to realize system center 2012 product. Specially,the SCVMM 2012 create cloud environment based on physical network card. Otherwise, you just can create one private cloud due to the PC has only one network card by default.

How to resolve it? to buy "new" network card?
I don't want to purchase it by my memory because there is a method to save cost. That is to use Microsoft Loopback Adapter!

How to install it? It is very simple to do it on Windows Server 2008/R2/7.

  • In Computer Management, click "Device Manger" --> "Network adapters" --> "Action" --> "Add legacy hardware"


  •  Click "Next > " button


  •  Select "Install the hardware that ..." option next to click "Next > " button


  •  Select "Network adapters" next to click "Next > "button


  •  Select "Microsoft " in Manufacturer and "Microsoft Loopback Adapter" in Network Adapter, next to click "Next > " button


  •  Click "Next > " button


  •  Click "Finish" button to complete this Add Hardware Wizard.


  •  Now you will see it exist another network card --- "Microsoft Loopback Adapter"


If you think the network function is normal, it will be wrong.
When you open this property of network card, the speed is 10.0 Mbps and Sent/Received traffic almost is very small. (Even Received package equal 0)
Why?
Because the function of Microsoft Loopback Adapter is limited by defualt!

How to open this function?
Open "Command Prompt" by "Run as administrator"
 To realize what is the loopback adapter name as "Adatum RD"
 Do the following command to open receive/send function.


After finishing the above activity, the speed and sent/received traffic is normal now.

Since 2010 Design by Davidwa
©Copyright Davidwa Inc. All rights reserved.