要開啟的方式很簡單,修改 Web.config 檔案即可
若沒有 Web.Config 這個檔案,直接使用以下內容:
儲存後,上傳至 /site/wwwroot 目錄下即可
若是已經有 Web.Config 檔案,則直接加入
NexentaStor
|
Windows Storage Server 2012 (ReFS + NTFS)
| |
File System
|
ZFS
|
ReFS(無法作為開機磁區) + NTFS
|
發表年份
|
2005
|
2012
|
Hybrid Storage Pool
|
ZFS 原生支援
|
支援
|
Volume Max Size
|
16EB
|
256EB(理論) 16EB(實際)
|
Hot Spares
|
支援
|
支援
|
Read Cache
|
支援,分為 ARC(DRAM) & L2ARC(SSD) 兩層處理
|
支援 SSD Cache,但不支援 DRAM Cache(可透過 3-party 的元件解決)
|
Write Cache
|
支援 SSD
|
支援 SSD
|
授權方式/費用
|
以下價格最多能使用 8TB 的容量:
共有三種不同的 Support Level,分別為:
Silver($51,750)
Gold($83,700)
Platinum($125,550)
功能皆相同,磁碟數量、記憶體數量、CPU 數量都沒限制,但有總使用空間的限制(8TB / 16TB / 32TB …. etc)
每年續約 or 一次買 2 / 4 / 6 年的授權合約(買越長平均價格越便宜)
|
分為 Workgroup & Standard 版本:
=== Workgroup ===
最多 50 個連線
單一處理器插槽
最多 32 GB 的記憶體
最多 6 部磁碟 (不使用外接式 SAS)
=== Standard ===
連線數量無授權限制
多重處理器插槽
記憶體無授權限制
磁碟數量無授權限制
解除複寫、虛擬化 (主機外加 2 部虛擬機器,提供存放區及磁碟管理工具) 以及網路服務(無網域控制站)容錯移轉叢集,提供更高可用性
Microsoft BranchCache,降低 WAN 流量
|
支援協定
|
CIFS / SMB / NFS / iSCSI …. etc
|
CIFS / SMB / NFS / iSCSI …. etc
ReFS volume 無法使用 NFS,僅有 NTFS 能使用 NFS
|
操作介面
|
普通,透過 Web Browser
|
優,直接在作業系統 GUI 中操作
|
Deduplication(重複資料刪除)
|
ZFS 原生支援
|
支援,但有以下限制:
1. Windows Server 2012才能用 (沒有Deduplication Feature的Windows會抓不到Deduplicate後的檔案)
2. Boot 或 System 磁碟不能用
3. 不是NTFS的磁碟不能用 (新的ReFS也不行)
4. Cluster Shared Volumes(CSV)不能用
5. 加密檔案不能用
6. 暫時不能以群組原則設定
|
Snapshot (快照)
|
ZFS 原生支援
|
支援,但必須與 VSS(Volume Shadow Copy Service) 搭配才可以
|
Compress
|
ZFS 原生支援
|
不支援
|
HA(High Availability)
|
支援(JBOD + Multiple Servers)
|
支援(JBOD + Multiple Servers)
|
與 AD 整合
|
支援
|
支援
|
整合雲端
|
查無相關資訊
|
可與 Windows Azure 雲端服務整合
|
Tables without a clustered index are not supported in this version of SQL Server. Please create a clustered index and try againAns:Windows Azure SQL Database 規定每個 table 都必須要有一個 clustered index,才可以進行資料的編輯。
CREATE UNIQUE CLUSTERED INDEX [index name] ON [Schema Name].[Table Name]([Column Name 1], [Column Name 2], .... etc);
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.Ans:將專案中的所有參考,在屬性頁中都設定為"複製到本機(Copy To Local)"即可
Could not load file or assembly 'msshrtmi' or one of its dependenciesAns:Windows Azure Web Site 不支援 Microsoft.WindowsAzure.ServiceRuntime,改用雲端服務(Cloud Services) 即可。
Uninstall-WindowsFeature Server-Gui-Shell -Remove透過加上 -Remove 參數,指定 2012 將相關的安裝程式一併移除。
A. DNSAns: A & C
B. Web Server (IIS)
C. DHCP
D. Remote Desktop Services
A. Windows Server 2003 Standard to Windows Server 2012 StandardAns: B
B. Windows Server 2008 Standard to Windows Server 2012 Standard
C. Windows Server 2008 R2 32-bit to Windows Server 2012 64-bit
D. Windows 7 Ultimate to Windows Server 2012 Essentials
A. Graphical Management Tools and InfrastructureAns: A
B. Server Graphical Shell
C. Windows PowerShell
D. Microsoft Management Console
A. WindowsAns: D
B. System32
C. bin
D. WinSxS
A. A Server Core installation can be converted to the full GUI without reinstalling the operating system.Ans: A & B & C
B. The PowerShell 3.0 interface in Windows Server 2012 includes more than 10 times as many cmdlets as PowerShell 2.0
C. The new Server Manager in Windows Server 2012 makes it far easier to administer servers remotely.
D. A Windows Server 2012 Server Core license costs significantly less than a full GUI license.
string DBConnectionString = @"Data Source=(DESCRIPTION = (ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = 這是 Oracle Server IP)(PORT = 1521)) )(CONNECT_DATA = (SID = 這裡放SID)(SERVER = DEDICATED) ) );Persist Security Info=True;User ID=這是使用者帳號;Password=使用者密碼;";