2013年1月23日
摘要: On Mac, "secret socks" is good choice for SSH. but it can not remember the password in the view. As the writer provide a source code on his blog, I decide to do it my own.I opened the project and found that the info are saved in an NSDictionary. So it is easy to do. just add 3 line code to 阅读全文
posted @ 2013-01-23 22:40 潘安+宋玉 阅读(227) 评论(0) 推荐(0) 编辑
  2012年12月31日
摘要: Continue the previous posts, I am planing to create a failover cluster to test the Cluster-Aware Updating. So thedifficulty part for me now, is the Storage part. It is my first time to use the storage part in SCVMM. I got a overview on this page. then I found a very detailed instruction for IBM XIV 阅读全文
posted @ 2012-12-31 19:11 潘安+宋玉 阅读(367) 评论(0) 推荐(0) 编辑
  2012年12月30日
摘要: In order to investigate the new Cluster-Aware Updating function in Windows 8, I need to set up a WSUS server in my Cloud environment. However, after I install the WSUS from the "Add role and feature" in the Server Management, the function doesn't work. it keep on showing the following 阅读全文
posted @ 2012-12-30 19:26 潘安+宋玉 阅读(1019) 评论(0) 推荐(0) 编辑
  2012年12月29日
摘要: 前一节介绍了SCVMM是什么之后,我们知道SCVMM主要用来虚拟机的管理。那么作为用户,总是希望可以对虚拟机进行自动化的管理,这一点SCVMM也有提供一个Web的接口可以实现虚拟机的Self-Service。但是如何能够最大的话利用机器的资源让虚拟机的利用率最大化呢?于是便有了PRO-Performance and Resource Optimization.这个功能可以自动的将执行于虚拟平台的机器配置到最佳的主机上运行。要运行该功能,需要和SCOM进行相应的结合。 在2008版本需要进行非常复杂的配置。但是在2012版本中,进行了极大的简化。首先介绍下2008中的设置,1.设定SCOM2 在 阅读全文
posted @ 2012-12-29 17:08 潘安+宋玉 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 微软在近年来推出了一系列的System Center产品。SCOM和SCVMM就是其中常用的两个产品。SCOM:System Center Operations Manager. 简单的来说这款产品主要用来监控机器的状态。当现在数据中心的管理中,可以使用SCOM监控机器的硬件状态,包括CPU,风扇,电源等等各种信息。SCOM会根据不同的等级,发出Warning 和Ciritical的错误信息,通过系统的Dashboard可以清晰的看到整个数据中心的运行状态。在SCOM2012版本中,又添加了很多的软件监控的功能。具体到IIS的监控,.NET程序的监控,还同时支持IBM WebSphere的监控 阅读全文
posted @ 2012-12-29 17:08 潘安+宋玉 阅读(957) 评论(0) 推荐(0) 编辑
摘要: This is the first posts for my newly create blog which is based on Windows Azure Virtual machine. It is very awesome. I can easily RDP to VM and control everything.I choose the BlogEngine.NET as my blog application. I have these reasons:It is based on .NET.I am a .NET programmer. however I work on t 阅读全文
posted @ 2012-12-29 17:05 潘安+宋玉 阅读(228) 评论(0) 推荐(0) 编辑
  2011年1月10日
摘要: [代码] 阅读全文
posted @ 2011-01-10 23:50 潘安+宋玉 阅读(277) 评论(0) 推荐(0) 编辑
  2009年12月20日
摘要: 专门针对Excel2007的读写操作,首先想到的是OpenXml,可以搜了很久,只有一个ExcelPackage,用了之后发现缺胳膊少腿的,还有性能问题,所以还是只能换成老老实实的Interop的方式。但数据量比较大,怎么解决呢?搜索了一下,使用Range的方式,先把数据保存在Object数组中,之后根据设定的大小一次性写入,速度的确提升很多代码Code highlighting produced... 阅读全文
posted @ 2009-12-20 20:00 潘安+宋玉 阅读(415) 评论(0) 推荐(0) 编辑
  2009年11月30日
摘要: 因为实现的功能是读取excel2007第一个sheet的内容,经过一系列处理后,将结果写到第二个sheet中,这样现在很多的工具myxls,npoi用来就不好用了,所以只有在网上搜了很久发现了codeplex上的一个项目:ExcelPackage(http://excelpackage.codeplex.com/)这个类库中提供了一些基本的excel操作方法,直接操作xml的方式速度还是不错的,但... 阅读全文
posted @ 2009-11-30 11:40 潘安+宋玉 阅读(878) 评论(0) 推荐(0) 编辑
  2009年11月12日
摘要: 百度搜索引擎提供了一段嵌入到页面中的代码<form action="http://www.baidu.com/baidu" target="_blank"><table><tr><td><input name=tn type=hidden value=baidu><input type=text name=word size=80&... 阅读全文
posted @ 2009-11-12 11:14 潘安+宋玉 阅读(964) 评论(2) 推荐(0) 编辑