<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>仮想化通信 &#187; 遠山 洋平</title>
	<atom:link href="http://blog.virtualtech.jp/author/tooyama/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.virtualtech.jp</link>
	<description>仮想化のいろは、お教えします。</description>
	<lastBuildDate>Thu, 26 Jan 2012 10:56:36 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>AVX対応Bulldozerを搭載したマシンでHyper-Vの仮想マシンが動作しない</title>
		<link>http://blog.virtualtech.jp/tooyama/1119</link>
		<comments>http://blog.virtualtech.jp/tooyama/1119#comments</comments>
		<pubDate>Fri, 13 Jan 2012 12:52:07 +0000</pubDate>
		<dc:creator>遠山 洋平</dc:creator>
				<category><![CDATA[Hyper-V]]></category>

		<guid isPermaLink="false">http://blog.virtualtech.jp/?p=1119</guid>
		<description><![CDATA[AMDのAVXをサポートしたBulldozerベースのMulticore ProcessorsでHyper-Vを実行した場合、「ハイパーバイザが実行されていないため、仮想マシンを起動できませんでした(en:Virtual [...]]]></description>
			<content:encoded><![CDATA[<p>AMDのAVXをサポートしたBulldozerベースのMulticore ProcessorsでHyper-Vを実行した場合、「ハイパーバイザが実行されていないため、仮想マシンを起動できませんでした(en:Virtual machine could not start because the hypervisor is not running.)」というエラーが表示されて、仮想マシンが起動しません。<br />
<br />
これはWindows Server 2008 R2およびWindows Server 2008 R2 SP1において、<strong>AVXをサポートしたBulldozerベースのCPUがサポートされていないため</strong>このような問題が起きるようです。<br />
<br />
この問題を解決するには以下のパッチを当てるか回避策を実行する必要があります。<br />
<a href="http://support.microsoft.com/kb/2568088/en-us">http://support.microsoft.com/kb/2568088/en-us</a></p>
<p>ちなみに弊社の環境ではこのパッチを適用後、BulldozerベースのCPUを搭載したマシンでHyper-Vの仮想マシンが正常に動作することを確認しています。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.virtualtech.jp/tooyama/1119/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Samba 3.6.0のSMB2ではまる</title>
		<link>http://blog.virtualtech.jp/tooyama/1041</link>
		<comments>http://blog.virtualtech.jp/tooyama/1041#comments</comments>
		<pubDate>Thu, 25 Aug 2011 07:26:00 +0000</pubDate>
		<dc:creator>遠山 洋平</dc:creator>
				<category><![CDATA[サーバー]]></category>

		<guid isPermaLink="false">http://blog.virtualtech.jp/?p=1041</guid>
		<description><![CDATA[Samba 3.6.0が8月9日にリリース[1]されました。
リリースノート[2]をみると、今回のバージョンは初めてSMB2をフルサポートしたバージョンで、早速使ってみた人の話によると、「ファイルのアップロードのパフォー [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://sourceforge.jp/magazine/11/08/10/0413213">Samba 3.6.0</a>が8月9日にリリース[1]されました。<br />
<a href="http://samba.org/samba/history/samba-3.6.0.html">リリースノート</a>[2]をみると、今回のバージョンは初めてSMB2をフルサポートしたバージョンで、早速使ってみた人の話によると、「ファイルのアップロードのパフォーマンスがかなり上がって感動もの」とのこと。<br />
<br />
「これは使ってみるしかない」と思い立ち、新しい物大好きな私は早速テストサーバーを立てて試してみることにしました。なお、テストサーバーはUbuntu Server 11.04のKVM環境上で動かしました。実機やXen環境上で同じテストを行うともう少し良い結果が出るかもしれません。<br />
<br />
現在、Samba 3.6.0を通常の方法で利用できるディストリビューションはないため、外部リポジトリの<a href="http://wingse.blog57.fc2.com/blog-entry-216.html">wingリポジトリ</a>[3]を使って、CentOS 5.6にSamba 3.6.0をインストールすることにしました。</p>
<p>wingリポジトリの設定をして、いざSambaのインストールだ！と思いきや、早速つまずきました。<br />
wingリポジトリはsambaのインストール時、依存関係でいくつかのパッケージを更新するらしく、yum-prioritiesパッケージを導入してwingリポジトリのpriorityを低く設定してしまうとインストールできないようです。いつもの癖でpriorityを設定したらこんな罠が待っていたとは(^^;<br />
<br />
wingのpriorityをとりあえず1に設定していざインストール開始！<br />
&#8230;っとその前に、samba関連のパッケージを削除する必要があります。<br />
<br />
<strong>$ sudo yum erase samba samba-common samba-client</strong><br />
<br />
古いSambaパッケージの削除が終わったら、新しいSambaパッケージを導入します。<br />
<br />
<strong>$ sudo yum install samba36 samba36-common samba36-client</strong></p>
<p>インストール後はいつものように<a href="http://www.tooyama.org/samba33-pass.html">smb.confの設定</a>[4]を行います。<br />
ただ、これまでと違うのは、[grobal]セクションに以下のように記述する必要がある点です。<br />
<br />
<strong>[global]<br />
max protocol = SMB2</strong><br />
<br />
これで、対応しているクライアントのアクセスの場合、SMB2プロトコルが使われます&#8230;と、ところが！<br />
<br />
SMBの認証モードの設定で「security = share」と設定すると、<strong>SMB2プロトコルで通信してくれない</strong>ようです。<a href="http://help.lockergnome.com/linux/Samba-Windows-smb2-connect-guest--ftopict525251.html">Web検索して見つけたページ</a>[5]を元に「security = user」に設定したところ、SMB2プロトコルで通信してくれるようになりました(3日、これで悩みました)。</p>
<p>
さて実際の使用感ですが、当然「SMB2」に設定した方が速いという結果が出ました。<br />
以下の比較をみてください。<br />
<br />
<strong>[8/29 修正]</strong><br /> <a href="http://support.microsoft.com/kb/932170/ja">エクスプローラによる大容量のファイルコピーは時間がかかることがある</a>らしく、ROBOCOPYコマンドを使い、再度速度を測定してみました。その結果は以下の通りです。<br /> <br />
<strong>LAN環境でのisoイメージ(673MB)を転送した場合の速度(有線LANアクセス時)</strong><br /> SMB2<br /> 速度: 13M バイト/秒<br /> 速度: 726.394 MB/分<br /> SMB<br /> 速度: 10M バイト/秒<br /> 速度: 580.364 MB/分</p>
<p> ▲SMB2とSMBの転送速度の比較。SMB2の場合、SMBと比べ約30%速度が向上している </p>
<p><strong>合計5MBのファイルを転送した場合の速度(e-moblileでVPNアクセス時)</strong><br />
SMB2 　110KB/秒(平均)<br />
SMB  　　70KB/秒(平均)<br />
<br />
▲SMB2とSMBの転送速度の比較。SMBでは100KB/秒を超えることはなかったが、<br />
SMB2では最大で130KB/秒を超えることもあった。転送速度は確実に上がっていることがわかる<br />
<br />
これはアップグレードする価値がありますね！<br />
<br />
<strong>今回の教訓</strong><br />
これを機会に、security=shareを使うのはやめましょう。<br />
<br />
<strong>参考サイト</strong><br />
[1] <a href="http://sourceforge.jp/magazine/11/08/10/0413213">http://sourceforge.jp/magazine/11/08/10/0413213</a><br />
[2] <a href="http://samba.org/samba/history/samba-3.6.0.html">http://samba.org/samba/history/samba-3.6.0.html</a><br />
[3] <a href="http://wingse.blog57.fc2.com/blog-entry-216.html">http://wingse.blog57.fc2.com/blog-entry-216.html</a><br />
[4] <a href="http://www.tooyama.org/samba33-pass.html">http://www.tooyama.org/samba33-pass.html</a><br />
[5] <a href="http://help.lockergnome.com/linux/Samba-Windows-smb2-connect-guest--ftopict525251.html">http://help.lockergnome.com/linux/Samba-Windows-smb2-connect-guest&#8211;ftopict525251.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.virtualtech.jp/tooyama/1041/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware vCenter Converterを使ったWindows 2000 ServerのP2V移行ではまる</title>
		<link>http://blog.virtualtech.jp/tooyama/837</link>
		<comments>http://blog.virtualtech.jp/tooyama/837#comments</comments>
		<pubDate>Mon, 30 May 2011 06:27:41 +0000</pubDate>
		<dc:creator>遠山 洋平</dc:creator>
				<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://blog.virtualtech.jp/?p=837</guid>
		<description><![CDATA[先日、とある案件でWindows 2000 ServerのESXiへのP2V移行を行なったのですが、1時間ほどたってP2V移行が終わり、いざP2V移行した仮想マシンを起動してみたところ、Windows 2000 Serv [...]]]></description>
			<content:encoded><![CDATA[<p>先日、とある案件でWindows 2000 ServerのESXiへのP2V移行を行なったのですが、1時間ほどたってP2V移行が終わり、いざP2V移行した仮想マシンを起動してみたところ、Windows 2000 Serverが正常に起動してくれず、青画面になってしまうという問題が発生しました(私も青ざめました)。</p>
<p>エラー画面には以下のようなことが書いてありました。</p>
<blockquote><p>STOP 0x0000001E error (KMODE_EXCEPTION_NOT_HANDLED).</p>
<p><strong>&#8220;Warning the versions of scsiport.sys on disk (5.0.2195.7017) is  inconsistent with that of its replacement. System reconfiguration may  not be successful&#8221;</strong></p></blockquote>
<p>Web検索してみると、<a href="http://communities.vmware.com/thread/140394" target="_blank">VMwareのコミュニティフォーラムのスレッド</a>を発見。どうやらこの問題は「Windows 2000 Security Rollup Package 1 Version 1」のSCSI関連のバグで、同ロールアップパッケージのVersion 2を当てることで回避できるようです。このパッチが運悪く当たっていなかったのが原因のようでした。</p>
<p>パッチを当てた後もう一度P2Vを実行し、今度は無事Windows 2000 Serverが起動。心の中でガッツポーズです！</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.virtualtech.jp/tooyama/837/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware全製品に脆弱性、ゲストOSから任意のコードを実行される恐れ</title>
		<link>http://blog.virtualtech.jp/tooyama/145</link>
		<comments>http://blog.virtualtech.jp/tooyama/145#comments</comments>
		<pubDate>Mon, 13 Apr 2009 03:46:16 +0000</pubDate>
		<dc:creator>遠山 洋平</dc:creator>
				<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://blog.virtualtech.jp/?p=145</guid>
		<description><![CDATA[VMware 社は 4月10日、VMware 全製品を対象とした セキュリティアドバイザリ
を公開した。
対象製品は VMware Workstation 6.5.1 以前 / Server 2.0 以前 / ESXi  [...]]]></description>
			<content:encoded><![CDATA[<p>VMware 社は 4月10日、VMware 全製品を対象とした セキュリティアドバイザリ<br />
を公開した。<br />
対象製品は VMware Workstation 6.5.1 以前 / Server 2.0 以前 / ESXi 3.5 / ESX 3.5 / ESX 3.0.[23] などで、この脆弱性により、ゲスト OS からホスト OS 上で任意のコードを実行できる。<br />
最新版に更新する、もしくは修正パッチの適用をすることで脆弱性に対処できる。</p>
<p>なお、Workstation version 5.x 、ESX 3.0.2 Update 1 に関してはサポートが終了しており、この脆弱性の修正版はない。より新しいバージョンへアップグレードする必要がある。</p>
<p>詳しくは [Security-announce] VMSA-2009-0006 を参照のこと<br />
<a href="//lists.vmware.com/pipermail/security-announce/2009/000055.html" target="_blank">http://lists.vmware.com/pipermail/security-announce/2009/000055.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.virtualtech.jp/tooyama/145/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

