RSS

Category Archives: Windows Server

repair file and folder permission is corrupt

today find my windows 10 10130 is fail to boot on due to the double boot windows 8.1 repair the windows 10 disk and repaired the disk which has no issue and in the end the whole windows 10 disk can not be accessed.

after try manually GUI fix the folder and file permissions it does not help too much (Take Ownership And Grant Permissions To Access Files & Folders).

While after some research, the cmdlet tools helps

takeown /f e:\* /R /A

icacls E:\* /grant administrators:(F) /inheritance:e /t

it is much faster than the gui operation.

 

Windows OS version numbers

Client Operating System Version Number Server Operation System
Windows 1.0 1.04
Windows 2.0 2.11
Windows 3.0 3
Windows NT 3.1 3.10.528
Windows for Workgroups 3.11 3.11
Windows NT Workstation 3.5 3.5.807
Windows NT Workstation 3.51 3.51.1057
Windows 95 4.0.950
Windows NT Workstation 4.0 4.0.1381
Windows 98 4.1.1998
Windows 98 Second Edition 4.1.2222
Windows Me 4.90.3000
Windows 2000 Professional 5.0.2195
Windows XP 5.1.2600
Windows XP x64 Edition (AMD64/EM64T) 5.2.3790 Windows Server 2003
Windows Vista 6.0.6000
Windows Vista with Service Pack 1 6.0.6001 Windows Server 2008
Windows 7 6.1.7600 Windows Server 2008 R2
Windows 7 with Service Pack 1 6.1.7601 Windows Server 2008 R2 with Service Pack 1
Windows 8 6.2.9200 Windows Server 2012
Windows 8.1 6.3.9200 Windows Server 2012 R2
Windows 8.1 with Update 1 6.3.9600
 
Leave a comment

Posted by on September 15, 2014 in Windows, Windows Server

 

使用windows 2012 RC hyper-V的virtual FC

之前VMware的vSphere的一个功能是virtual FC到虚拟机内部。目前Windows 2012 RC的hyper-V也支持了。今天正好有截图和配置过程分享给大家。

  1. 配置虚拟的FC网络,请注意:这里可不是SAN交换机的概念,而是类似于一个二层switch 分配,扩大了广播域而已。
  2. clip_image001
  3. 为虚拟机创建一个HBA卡
  4. clip_image002
  5. 选择SAN网络,然后注意看到port address中的WWPN,一会在存储上还要使用到这个WWPN号。
  6. clip_image003
  7. 然后去存储上将对应的WWPN号创建好对应的端口对应。
  8. clip_image005
  9. 开启虚拟机。这时候你会发现虚拟机的开启变得缓慢了一些,这可能是因为vFC虚拟层的初始化需要一定时间。(vOS系统是windows 2008 r2,VHD格式还是hyper-v2.0版本)。
  10. 进入虚拟机,可以看到虚拟的HBA卡。
  11. clip_image004
  12. 然后刷新一下设备,可以发现存储磁盘了。
  13. clip_image006
  14. 可以正常的mount磁盘,并进行读写操作。
  15. clip_image007

 

这篇文档只是walkthrough了整个过程,具体的性能测试并没有时间操作。

目前遇到的问题是如何design vFC. 发现一段不错的描述:来自http://www.aidanfinn.com/?p=12115

You create a virtual SAN on the host (parent partition), for each HBA on the host that will be virtualized for VM connectivity to the SAN.  This is a 1-1 binding between virtual SAN and physical HBA, similar to the old model of virtual network and physical NIC.  You then create virtual HBAs in your VMs and connect them to virtual SANs.

And that’s where things can get interesting.  When you get into the FC world, you want fault tolerance with MPIO.  A mistake people will make is that they will create two virtual HBAs and put them both on the same virtual network, and therefore on a single FC path on a single HBA.  If that single cable breaks, or that physical HBA port fails, then the VM has pointless MPIO because both virtual HBAs are on the same physical connection.

The correct approach for fault tolerance will be:

  1. 2 or more HBA connections in the host
  2. 1 virtual SAN for each HBA connection in the host.
  3. 1 virtual HBA in each VM, with each one connected to a different virtual SAN
  4. MPIO configured in the VM’s guest OS.  In fact, you can (and should) use your storage vendor’s MPIO/DSM software in the VM’s guest OS.

Now you have true SAN path fault tolerance at the physical, host, and virtual levels.

 
1 Comment

Posted by on June 23, 2012 in Windows Server

 

Tags:

windows 2012 boot from VHD

下载好微软做好的windows 2012 RC vhd文件

解压并拷贝到d盘根目录

run command prompt as administrator

diskpart

attach vdisk file=d:\win8rc.vhd

自动会挂载到某一个盘符中。比如E:

run command prompt as administrator

bcdboot e:\windows

稍微等等,然后重启服务器就可以看到win8rc的os选择菜单了。

 
 

Tags:

Windows 2012 vFC performance test is better than expected

x还是之前的那个虚拟机,这次采用了标准的方式虚拟了2个虚拟vFC hba卡,分别绑定到2个不同的fc san中(每个FC san绑定一个hab卡),然后连接存储IBM DS4800的SATA 磁盘硬盘柜(16块盘,14+2 RAID5)。

这次将CPU数量设置为24颗。(最大支持64颗)

image

从fc到本地拷贝,大约196MB/s. 磁盘性能大约是300MB/s最大

image

从本地到fc,速度247MB/s(最大300MB/s)

image

这样看起来性能相当不错了。

 
 

Tags:

windows 2012 RC .net framework 3.5 installation method

首先吐槽一下,windows 2012 RC VHD (从微软下载)中已经安装好了.net framework 4. 但是目前应用软件大部分还是需要使用.net framework 3.5,所以需要enable这个.net framework 3.5的特性。 这里微软给我们开了一个玩笑:.net framework 3.5 默认情况下是需要手动去安装的。请注意,这里说的手动有点类似于windows 2003 让你安装.net framework 2.0 的情况, 也就是需要安装光盘。

安装方法有很多。

请看:这里http://msdn.microsoft.com/en-us/library/windows/hardware/hh975396.aspx

这里http://social.technet.microsoft.com/Forums/en-US/winserver8setup/thread/d98de0f8-b158-451e-b18a-5a75dd8b9ea7

还有这里http://blogs.technet.com/b/askcore/archive/2012/05/14/windows-8-and-net-framework-3-5.aspx

我这里采用的步骤是光盘的方式。步骤为:

  1. mount windows 2012 RC image (windows 2012 原生支持ISO mount)
  2. 使用server manager 去启用.net framework 3.5
  3. 这个步骤需要点选specify an alternate source path.
  4. 然后输入咱的光盘位置: E:\sources\sxs 就可以了。

目前的安装方式一共有下列:

  1. windows update
  2. 离线安装包 (目前微软下载未发布)
  3. 使用工具直接将.net framework 3.5集成到安装镜像(安装OS前)
  4. 使用光盘将\sources\sxs文件夹弄出来,让服务器可以直接读取
 
 

Tags:

Check CPU information

post from VPN
required windows server 2008 r2

wmic cpu get name,SocketDesignation

Name SocketDesignation
Intel(R) Xeon(R) CPU E7- 4807 @ 1.87GHz Node 1 Socket 1
Intel(R) Xeon(R) CPU E7- 4807 @ 1.87GHz Node 1 Socket 2
Intel(R) Xeon(R) CPU E7- 4807 @ 1.87GHz Node 1 Socket 3
Intel(R) Xeon(R) CPU E7- 4807 @ 1.87GHz Node 1 Socket 4

 
Leave a comment

Posted by on January 28, 2012 in Windows Server

 
 
%d bloggers like this: