搜尋本站文章

2015-04-24

安裝 telnet 用戶端,使用「封裝管理員(Pkgmgr.exe)」

示範環境:Windows Serve 2012 R2



安裝 telnet 用戶端,使用「封裝管理員(Pkgmgr.exe)」

步驟01. 開啟「命令提示列」視窗。

步驟02. 輸入以下命令:

pkgmgr /iu:"TelnetClient"


-- 01_使用「封裝管理員(Pkgmgr.exe)」,安裝 telnet 用戶端





參考資料

封裝管理員命令列選項
https://technet.microsoft.com/zh-tw/library/cc749465(v=ws.10).aspx

2015-04-22

SSIS_實作練習:使用「變更追蹤(Change Tracking)」

示範版本:SQL Server 2012
開發工具:SSDT - Visual Studio 2012



本影片所示範的工作有:

工作1:啟用「變更追蹤(Change Tracking)」
工作2:建立預存程序,取回異動的資料

工作3:重置「暫存資料庫(staging database)」
工作4:異動資料流程

工作5:測試與執行SSIS封裝




影片:

SSIS_實作練習:使用「變更追蹤(Change Tracking)」






參考資料

使用「變更追蹤(Change Tracking)」- 以 SSIS 2012 為例
http://sharedderrick.blogspot.tw/2014/12/change-tracking-ssis-2012.html


L07_實作累加ETL流程

2015-04-21

使用 telnet 測試 Web Server,以 IIS漏洞-漏洞編號CVE-2015-1635 為例

依據
微軟IIS驚爆HTTP.sys死亡漏洞,一Ping系統恐癱瘓, SANS警告駭客正大肆搜尋肉票伺服器
http://www.ithome.com.tw/news/95323

Microsoft 已經釋出 MS15-034 漏洞修補程式
https://support.microsoft.com/zh-tw/kb/3042553



使用 telnet 測試 Web Server,以 IIS漏洞-漏洞編號CVE-2015-1635 為例

示範環境:Windows Serve 2012 R2

步驟01. 開啟「命令提示列」視窗。

步驟02. 輸入與執行以下命令:

telnet www.YourSampleWebsite.com 80


步驟03. 繼續輸入與執行以下命令:

GET / HTTP/1.1
Host: MS15034
Range: bytes=0-18446744073709551615


若回應:

顯示「Requested Header Range Not Satisfiable」,就表示有HTTP.sys漏洞。





注意事項

微軟已經在2015/4月例行更新中釋出編號MS15-034漏洞修補程式,目前使用微軟IIS 6.0版以上的使用者,都應該儘速修補漏洞以確保網頁伺服器的安全。

受影響範圍
包括:Windows 7 SP1、Windows 8、Windows 8.1、Windows Server 2008 R2 SP1、Windows Server 2012、以及Windows Server 2012 R2等


參考資料

Microsoft 資訊安全公告 MS15-034 - 重大

Vulnerability Summary for CVE-2015-1635

MS15-034:HTTP.sys 的資訊安全風險可能會允許遠端執行程式碼:2015 年 4 月 14 日

微軟IIS驚爆HTTP.sys死亡漏洞,一Ping系統恐癱瘓, SANS警告駭客正大肆搜尋肉票伺服器

--

網站除錯小技巧-用TELNET模擬HTTP請求

IIS更新通告:MS15-034



安裝 telnet 用戶端,以Windows Server 2012 R2為例

示範環境:Windows Server 2012 R2



安裝Telnet 用戶端,使用「伺服器管理員」

步驟01. 啟動 [伺服器管理員]。按一下 [開始],在 [電腦] 上按一下滑鼠右鍵,然後按一下 [管理]。

步驟02. 如果出現 [使用者帳戶控制] 對話方塊,請確認顯示的動作為所需動作,然後按一下 [繼續]。

步驟03. 在 [功能摘要] 區段中,按一下 [新增功能]。
步驟04. 在 [新增功能精靈] 中,選取 [Telnet 用戶端],然後按 [下一步]。

步驟05. 在 [確認安裝選項] 頁面上,按一下 [安裝]。
步驟06. 安裝完成時,請按一下 [安裝結果] 頁面上的 [關閉]。

-- 01_沒安裝telnet 用戶端



-- 02_勾選_安裝 Telnet 用戶端


-- -- 03_測試 192.168.10.10 伺服器的 SMTP port(port 25)是否正常





參考資料

安裝 Telnet 用戶端
https://technet.microsoft.com/zh-tw/library/cc771275(v=ws.10).aspx

使用 Telnet 診斷各種伺服器與網路連線問題
http://blogger.gtwang.org/2013/10/troubleshooting-telnet.html

2015-04-20

SSIS_實作練習:使用「CDC 控制工作」

示範版本:SQL Server 2012
開發工具:SSDT - Visual Studio 2012



本影片所示範的工作有:

工作1:啟用「異動資料擷取(Change Data Capture)」
工作2:檢視「暫存資料表(staging table)」

工作3:建立ADO.NET連線管理員
工作4:建立SSIS封裝,初始化資料

工作5:測試此初始化用的資料提取之封裝
工作6:建立SSIS封裝,用於提取出累加的資料

工作7:測試提取出累加資料用的封裝




影片:
SSIS_實作練習:使用「CDC 控制工作」






參考資料

使用「CDC 控制工作」與 「CDC 流程元件」- 以 SSIS 2012 為例
http://sharedderrick.blogspot.tw/2014/11/cdc-cdc-ssis-2012.html

L07_實作累加ETL流程

2015-04-17

SSIS_實作練習:使用「異動資料擷取(Change Data Capture)」

示範版本:SQL Server 2012
開發工具:SSDT - Visual Studio 2012



本影片所示範的工作有:

工作1:啟用「異動資料擷取(Change Data Capture)」
工作2:建立預存程序,取回被異動的客戶資料

工作3:重置staging資料庫
工作4:修改資料流程

工作5:測試與執行SSIS封裝




影片:
SSIS_實作練習:使用「異動資料擷取(Change Data Capture)」






參考資料

使用「異動資料擷取(Change Data Capture)」 - 以 SSIS 2012 為例
http://sharedderrick.blogspot.tw/2014/11/change-data-capture-ssis-2012.html

L07_實作累加ETL流程

2015-04-16

SQL Server 2014 SP1,暫時先下架...日期:2015/04/16

更新日期:2015/05/14

SQL Server 2014 SP1 重新開放下載

版本:12.0.4100.1
發佈日期:2015/5/14
http://sharedderrick.blogspot.tw/2015/05/sql-server-2014-sp1.html



日期:04/16/2015

確認公告:移除 SQL Server 2014 Service Pack 1 (SP1),等待數周修復後,將重新上架。

公告網頁內,也包含:使用先前有問題的版本,導致升級失敗的解決方式。


--

Important Updates on 4/16:
Dear SQL Customers,
We have chosen to remove SQL Server 2014 Service Pack 1 (SP1) from the Microsoft Download Center due to a significant installation issue discovered shortly after release. We sincerely apologize for the inconvenience this has caused you.
We will fix the installation issue and release the Service Pack for production use in a few weeks. Although operationally equivalent, only the newly released SP1 will be serviced (security updates, cumulative updates, hotfixes). Therefore, it will be important that you replace the current version of SP1 (12.0.4050.0) with the upcoming one.
In the meantime, you can continue to test and use build 12.0.4050.0. If you are experiencing the issue below, please implement the steps described in the workaround section.
We will communicate further as we approach the release date and we appreciate your patience.

Rong Wu
SQL Engineer Team




日期:2015/04/16

暫時先下架...

Notice: 
The SQL SSIS team has found an issue with SP1 installation if SSIS catalog is present in the SQL Server instance.They are currently investigating this issue including possible workarounds and fixes. We have temporarily put the package download on hold and will provide an update with a solution.



SQL Server 2014 Service Pack 1 has released
http://blogs.msdn.com/b/sqlreleaseservices/archive/2015/04/16/sql-server-2014-service-pack-1-has-released.aspx





請注意
受影響的 Microsoft SQL Server 2014年的累積更新 1 問題先前已造成我們從下載伺服器移除這個更新。我們必須立即解決這個問題,並更新一次可供下載。

Notice
An issue that affected Cumulative Update 1 for Microsoft SQL Server 2014 had previously caused us to remove the update from the download server. We have now resolved the issue, and the update is again available for download.




下載 SQL Server 2014 SP1
http://www.microsoft.com/zh-TW/download/details.aspx?id=46694

SQL Server 2014 SP1 download page
http://go.microsoft.com/fwlink/?LinkID=519065









2015-04-16 10:21:15.23 spid8s Schema build in SSISDB has been updated to 12.0.4050.0
2015-04-16 10:21:15.37 spid8s Error: 1088, Severity: 16, State: 12.
2015-04-16 10:21:15.37 spid8s Cannot find the object "internal.object_parameters" because it does not exist or you do not have permissions.
2015-04-16 10:21:15.37 spid8s Error: 912, Severity: 21, State: 2.
2015-04-16 10:21:15.37 spid8s Script level upgrade for database 'master' failed because upgrade step 'SSIS_hotfix_install.sql' encountered error 3602, state 251, severity 25. This is a serious error condition which might interfere with regular operation and the database will be taken offline. If the error happened during upgrade of the 'master' database, it will prevent the entire SQL Server instance from starting. Examine the previous errorlog entries for errors, take the appropriate corrective actions and re-start the database so that the script upgrade steps run to completion.




參考資料

SQL Server 2014年累積更新 1
https://support.microsoft.com/zh-tw/kb/2931693/zh-tw

SQL Server 2014 Service Pack 1 is now available
http://blogs.technet.com/b/dataplatforminsider/archive/2015/04/15/sql-server-2014-service-pack-1-is-now-available.aspx

2015-04-15

SSIS_實作練習:使用DateTime資料行來提取累加的資料

示範版本:SQL Server 2012
開發工具:SSDT - Visual Studio 2012



本影片所示範的工作有:

工作1:建立練習環境
工作2:檢視要提取的資料

工作3:檢視SSIS封裝
工作4:建立資料提取用的變數

工作5:使用「運算式工作 (Expression Task)」來設定變數值
工作6:修改與過濾資料來源

工作7:更新紀錄用的提取記錄檔
工作8:測試與執行SSIS封裝



影片:

SSIS_實作練習:使用DateTime資料行來提取累加的資料 01-03




SSIS_實作練習:使用DateTime資料行來提取累加的資料 04-08






參考資料

使用DateTime資料行來提取累加的資料 - 以 SSIS 2012 為例
http://sharedderrick.blogspot.tw/2014/01/datetime-ssis-2012.html

L07_實作累加ETL流程

2015-04-13

SSIS_實作練習:部署與組態 SSIS 封裝

示範版本:SQL Server 2012
開發工具:SSDT - Visual Studio 2012

影片:
SSIS_實作練習:部署與組態 SSIS 封裝



本影片所示範的工作有:

練習1:建立 SSIS 目錄
練習2:部署 SSIS 專案
練習3:在 SSIS 方案內建立「環境(Environments)」
練習4:在 SSMS  管理工具上,執行 SSIS 封裝
練習5:使用 SQL Server Agent 服務,排程執行 SSIS 封裝




參考資料

認識SSIS 目錄(Catalog)、專案部署(Deploy Projects) - 以 SSIS 2012 為例
http://sharedderrick.blogspot.tw/2013/05/ssis-catalogdeploy-projects-ssis-2012.html

SSIS 目錄
https://msdn.microsoft.com/zh-tw/library/hh479588.aspx

L12_部署與組態