参考になるESXiの導入に関係するリンク

(1) Lights On?
  USBメモリーを使う導入の方法が判りやすく説明されているサイト
(2) Maruko2 Note
  同じくUSBメモリーからの導入方法の説明サイト。
(3) きのさいと
  VMWare Serverの環境をESXiへ移行する方法が説明されています。
(4) VMWare社
  ESXi管理公式ドキュメント(英語)
(5) いなば日記
  ESXiのバックアップ方法について説明しています。
(6) notes3102
  同じくESXiのバックアップ方法について説明。NFSを利用する方法。
(7) VMWare社
  ESX Server 3i Embedded セットアップ ガイド – ESX Server 3i
バージョン 3.5および VirtualCenter 2.5(日本語)
(8) Wiki
  ハード、動作確認等のwikiサイト
(9) ESXiコミュニティ
  VMware社のサイト内にあるESXi関係のコミュニティ
(10) VMware社のサイト内にあるSATA関係のヘルプ(英語)
   SATA関連のwhite listおよびユーザーが動作確認した機器がリストされている。

午前中の接続テストで家のサーバーT105に搭載されているSATAのHDDをESXiが認識できていること確認した。Centosを導入しているHDDにエラーが2箇所出ていることもあり、HDDをいよいよ買い、ESXiに仮想マシンを導入する段階になってきている感じ。今日明日にでも横浜に繰り出し物色してこよう。

ESXiのルートのパスワード設定の画面。

esx3

キーボードの選択

esx6

今の段階ではまだ「評価」の状態。後でライセンスのシリアル番号を入れて、評価は中止。これで60日以後も機能停止にはならない。

esx7

WindowsのプログラムファイルからVI Clientを起動した直後。

vi1

起動後configration Windowを表示しているところ。
vi11

ハードドライブの認識
vi4

Data Storeの追加
vi6

Localドライブにチェックを入れる
vi7

SATAの一台目がvmhba0:0:0, 2台目がvmhba33:0:0と認識されている。
vi8

partitionの作成とformat画面。とりあえずここまでで中止。
vi9

syslogの表示
vi10

CD-ROM版でとりあえず導入の触りだけやってみたが、今日はUSBに仕掛けたESXiを使い立ち上げてみた。下の画像はESXiの立ち上げの途中。
esx

Virtual Infrastructureをダウンロードするよう促す画面。

esx11

これはESXiのホストの設定画面。

esx21

この後実際に女房のWindowsのクライアントから、ESXiホストのIPを叩きVIクライアントの導入へとやってみたがWindows Updateと処理がダブってしまい、.net FrameworkのDLが失敗。明日再度試してみたい。

まずは会社のサーバーのバックアップマシンという名目でDell PowerEdge T100を1台購入決定。
CPU インテル(R) Core(R) 2 Duo プロセッサー E7300 (2.66GHz/3MB L2キャッシュ/1,066MHz FSB)
HDD SATA 3.5″ 7200rpm 160GB
NIC インテル(R) PRO/1000PT (デュアルポート) x1 これはESXiがオンボードBroadcomのethernet adapterを認識しないのではないかという理由で。
モニターなし
OSなし
16倍速 SATA DVD Drive (read only)
ロジクール製コードレスキーボード+マウスセットEX100
この仕様で送料、税込みで約87000円くらい。Core2Duo仕様およびNICを追加したので自宅で使っているT105よりかなり高くなってしまった。
2月中旬には届くか?

ダウンロードしたVMware-VMvisor-InstallerCD-3.5.0_Update_3-123629.i386.isoをDell PowerEdge T105のCDドライブにセットして再起動掛けたら導入が始まった。

esxi
CD-ROMからの導入ではSATAのHDDドライブが認識されないというような記事がネットでは多いが。まずはライセンスアグリーメント。
esxi1

とりあえず進めてみる。今度は選んだHDD内にデータが含まれるパーティションが少なくとも1つあるが、このまま進めると構成やVMが全てなくなるよ、って言う警告。導入する心の準備もできていないし(笑)導入できても自由になるVIクライアントがないので、今日のところはここまで。

esxi3

現在会社で運用しているグループウエアはユーザー数が30人くらいで小規模ではある。でもこれが一旦トラブり停止などしたら結構ブーイングがでる。勢いデータのバックアップを実施して万が一の事態に備えることはシステム管理者としては、極ごく普通の事であろう。
現状はグループウエアのデータベースを一週間に一回とり、それを手動で自分のパソコンにDLしている。これだとLinuxシステムがダウンした場合、復旧までの時間がかなり掛かってしまう。最低半日、長くて1日は掛かってしまう。
そこでどんなバックアップがあるかいろいろ物色していた。その中でもNFSサーバーとLinux rescue CDを利用したバックアップ手法がIBMからネットに公開されていて、ドキュメントは一応DLした。内容を見るとかなり複雑で打つマンドも結構ある。またバックアップは行うが、自動化まではフリーとなっていないので、自分なりの自動化を作るにはかなりのスキルが必要で、まず間違いなく自分には不可能。
そこでいろいろ考えてみたところ、VMwareなどの仮想マシンは複製が比較的楽だということは判っていた。(実際にはレプリケーションはやったことがないが・・・)VMWare Server2.0の場合、コピーすべきファイルは例えば Fedora10だと:
Fedora10-i386.nvram Fedora10-i386.vmx vmware-1.log
Fedora10-i386.vmdk Fedora10-i386.vmxf vmware-2.log
Fedora10-i386.vmsd vmware-0.log vmware.log
logファイルはコピーしておくべきはは不詳。全システムをバックアップするのにわずか6ー9ファイルくらいしかないので、楽といえば楽。

結局のところ今日の結論は、廃棄寸前のパソコンを利用して無償のESXiサーバーを導入して、バックアップが簡単に行えるか検証してみること。古い機械なので果してESXiが入るか、また本チャンのマシンもPentium DでCPUがマルチコアとなっていないので、動くかどうかこれも検証。最悪の場合はもう1台ESXiが導入できそうなマルチコアのPCを購入申請ということになるだろう。

ESXiを失敗しないで導入する手法は以下のリンクで。
http://lightson.dip.jp/blog/seko/1798

VMware Server2.0のバーチャルマシンは/var/lib/vmware/Virtual Machines/というフォールダに作られる。isoイメージを使用してVMを作る場合はそのOSのisoイメージをvirtual machinesというフォールダに格納する。今までGnomeのターミナルからだとフォールダにスペースがあるのでアクセスできないと思っていた。このためルートでXを起動してNautilusを使い、そのフォールダにisoイメージを格納していた。今日判ったのだがフォールダにスペースがあっても、それをシングルクォーテーションで括ればGnomeターミナルからアクセスできることが分かった。

$ cd /var/lib/vmware/’Virtual Machines’/
[Virtual Machines]$

参考文献:http://communities.vmware.com/servlet/JiveServlet/downloadBody/9394-102-2-6307/VMware%20Server%202.0%20Tips%20and%20Tricks.pdf

ハードディスクなどの異常を検知して表示するツールsmartdというものがあるのだが、1月1日から以下のエラーが毎日発行される。

Device: /dev/sdb, 2 Currently unreadable (pending) sectors

sdbにはこのLinuxのシステムが格納されていてパーティションは以下のようになっている。

デバイス   Boot   Start   End   Blocks   Id   System

/dev/sdb1   *    1    13     104391  83    Linux

/dev/sdb2       14    30401  244091610 8e Linux LVM

このエラーはsmartdを止めれば以後発行されなくなるのだが、エラーを検知しているので万が一という事態もありうる。そこでHDDの換装となるのだが、まだ一回も実績がないので少々不安。ネットで当たるとknoppixなど使い、その中のツールのgpartedでLVMを含むHDDのコピーができるとのこと。ハードディスクは今はかなり値下がりしていて、1TBでも1万円しないそうなので近々換装することになりそうだ。

以前もコメントしたことがあるが、このSolarisの日本語フォントはWindows並にきれいに表示されます。FedoraやCentosと比べると表示解像度が、たとえば12×12が24×24というような感じです。従って字の線が細く見え、Windowsと遜色がないです。
しばらくこのSolarisを使ってみよう。難点はSunのアカウントがないのでSecurity UpdateやSoftwareのアップデートができないこと。今度はOpen Solarisも仮想マシンに入れてみてフォント確認してみよう。

最初はXX橋カメラに出してみたが、裏のカバーを外すための精密ドライバーがないという理由で交換拒否、その後横浜駅ビル内のカメラのXXキさんに出し、本日無事電池が交換され返ってきた。交換は840円掛かった。
seiko1

VMWare Serverの仮想マシンとしてOSC2008の抽選で当たったSunのデイバッグの中に入っていたSolaris Express Develper EditionというSolaris OSを先日再度導入していた。そのDVDの中にはNetBeansも入っていたので、今日初めて使いプログラミングの真似事をやってみた。

screenshot1

上のウインドウがNetBeans、下はそのチュトリアル。今回のチュトリアルはたぶんHello World!を表示させるプログラムを書くというものであろう。

screensho

無事Hello World! classが作られたようだ。
明日もう少しいじってみよう。

My fellow citizens:

I stand here today humbled by the task before us, grateful for the trust you have bestowed, mindful of the sacrifices borne by our ancestors. I thank President Bush for his service to our nation, as well as the generosity and cooperation he has shown throughout this transition.

Forty-four Americans have now taken the presidential oath. The words have been spoken during rising tides of prosperity and the still waters of peace. Yet, every so often the oath is taken amidst gathering clouds and raging storms. At these moments, America has carried on not simply because of the skill or vision of those in high office, but because We the People have remained faithful to the ideals of our forbearers, and true to our founding documents.

So it has been. So it must be with this generation of Americans.

That we are in the midst of crisis is now well understood. Our nation is at war, against a far-reaching network of violence and hatred. Our economy is badly weakened, a consequence of greed and irresponsibility on the part of some, but also our collective failure to make hard choices and prepare the nation for a new age. Homes have been lost; jobs shed; businesses shuttered. Our health care is too costly; our schools fail too many; and each day brings further evidence that the ways we use energy strengthen our adversaries and threaten our planet.

These are the indicators of crisis, subject to data and statistics. Less measurable but no less profound is a sapping of confidence across our land – a nagging fear that America’s decline is inevitable, and that the next generation must lower its sights.

Today I say to you that the challenges we face are real. They are serious and they are many. They will not be met easily or in a short span of time. But know this, America – they will be met.

On this day, we gather because we have chosen hope over fear, unity of purpose over conflict and discord.

On this day, we come to proclaim an end to the petty grievances and false promises, the recriminations and worn out dogmas, that for far too long have strangled our politics.

We remain a young nation, but in the words of Scripture, the time has come to set aside childish things. The time has come to reaffirm our enduring spirit; to choose our better history; to carry forward that precious gift, that noble idea, passed on from generation to generation: the God-given promise that all are equal, all are free, and all deserve a chance to pursue their full measure of happiness.
In reaffirming the greatness of our nation, we understand that greatness is never a given. It must be earned. Our journey has never been one of short-cuts or settling for less. It has not been the path for the faint-hearted – for those who prefer leisure over work, or seek only the pleasures of riches and fame. Rather, it has been the risk-takers, the doers, the makers of things – some celebrated but more often men and women obscure in their labor, who have carried us up the long, rugged path towards prosperity and freedom.

For us, they packed up their few worldly possessions and traveled across oceans in search of a new life.

For us, they toiled in sweatshops and settled the West; endured the lash of the whip and plowed the hard earth.

For us, they fought and died, in places like Concord and Gettysburg; Normandy and Khe Sahn.

Time and again these men and women struggled and sacrificed and worked till their hands were raw so that we might live a better life. They saw America as bigger than the sum of our individual ambitions; greater than all the differences of birth or wealth or faction.

This is the journey we continue today. We remain the most prosperous, powerful nation on Earth. Our workers are no less productive than when this crisis began. Our minds are no less inventive, our goods and services no less needed than they were last week or last month or last year. Our capacity remains undiminished. But our time of standing pat, of protecting narrow interests and putting off unpleasant decisions – that time has surely passed. Starting today, we must pick ourselves up, dust ourselves off, and begin again the work of remaking America.

For everywhere we look, there is work to be done. The state of the economy calls for action, bold and swift, and we will act – not only to create new jobs, but to lay a new foundation for growth. We will build the roads and bridges, the electric grids and digital lines that feed our commerce and bind us together. We will restore science to its rightful place, and wield technology’s wonders to raise health care’s quality and lower its cost. We will harness the sun and the winds and the soil to fuel our cars and run our factories. And we will transform our schools and colleges and universities to meet the demands of a new age. All this we can do. And all this we will do.

Now, there are some who question the scale of our ambitions – who suggest that our system cannot tolerate too many big plans. Their memories are short. For they have forgotten what this country has already done; what free men and women can achieve when imagination is joined to common purpose, and necessity to courage.

What the cynics fail to understand is that the ground has shifted beneath them – that the stale political arguments that have consumed us for so long no longer apply. The question we ask today is not whether our government is too big or too small, but whether it works – whether it helps families find jobs at a decent wage, care they can afford, a retirement that is dignified. Where the answer is yes, we intend to move forward. Where the answer is no, programs will end. And those of us who manage the public’s dollars will be held to account – to spend wisely, reform bad habits, and do our business in the light of day – because only then can we restore the vital trust between a people and their government.

Nor is the question before us whether the market is a force for good or ill. Its power to generate wealth and expand freedom is unmatched, but this crisis has reminded us that without a watchful eye, the market can spin out of control – and that a nation cannot prosper long when it favors only the prosperous. The success of our economy has always depended not just on the size of our Gross Domestic Product, but on the reach of our prosperity; on our ability to extend opportunity to every willing heart – not out of charity, but because it is the surest route to our common good.

As for our common defense, we reject as false the choice between our safety and our ideals. Our Founding Fathers, faced with perils we can scarcely imagine, drafted a charter to assure the rule of law and the rights of man, a charter expanded by the blood of generations. Those ideals still light the world, and we will not give them up for expedience’s sake. And so to all the other peoples and governments who are watching today, from the grandest capitals to the small village where my father was born: know that America is a friend of each nation and every man, woman, and child who seeks a future of peace and dignity, and that we are ready to lead once more.

Recall that earlier generations faced down fascism and communism not just with missiles and tanks, but with sturdy alliances and enduring convictions. They understood that our power alone cannot protect us, nor does it entitle us to do as we please. Instead, they knew that our power grows through its prudent use; our security emanates from the justness of our cause, the force of our example, the tempering qualities of humility and restraint.

We are the keepers of this legacy. Guided by these principles once more, we can meet those new threats that demand even greater effort – even greater cooperation and understanding between nations. We will begin to responsibly leave Iraq to its people, and forge a hard-earned peace in Afghanistan. With old friends and former foes, we will work tirelessly to lessen the nuclear threat, and roll back the specter of a warming planet. We will not apologize for our way of life, nor will we waver in its defense, and for those who seek to advance their aims by inducing terror and slaughtering innocents, we say to you now that our spirit is stronger and cannot be broken; you cannot outlast us, and we will defeat you.

For we know that our patchwork heritage is a strength, not a weakness. We are a nation of Christians and Muslims, Jews and Hindus – and non-believers. We are shaped by every language and culture, drawn from every end of this Earth; and because we have tasted the bitter swill of civil war and segregation, and emerged from that dark chapter stronger and more united, we cannot help but believe that the old hatreds shall someday pass; that the lines of tribe shall soon dissolve; that as the world grows smaller, our common humanity shall reveal itself; and that America must play its role in ushering in a new era of peace.

To the Muslim world, we seek a new way forward, based on mutual interest and mutual respect. To those leaders around the globe who seek to sow conflict, or blame their society’s ills on the West – know that your people will judge you on what you can build, not what you destroy. To those who cling to power through corruption and deceit and the silencing of dissent, know that you are on the wrong side of history; but that we will extend a hand if you are willing to unclench your fist.

To the people of poor nations, we pledge to work alongside you to make your farms flourish and let clean waters flow; to nourish starved bodies and feed hungry minds. And to those nations like ours that enjoy relative plenty, we say we can no longer afford indifference to suffering outside our borders; nor can we consume the world’s resources without regard to effect. For the world has changed, and we must change with it.

As we consider the road that unfolds before us, we remember with humble gratitude those brave Americans who, at this very hour, patrol far-off deserts and distant mountains. They have something to tell us, just as the fallen heroes who lie in Arlington whisper through the ages. We honor them not only because they are guardians of our liberty, but because they embody the spirit of service; a willingness to find meaning in something greater than themselves. And yet, at this moment – a moment that will define a generation – it is precisely this spirit that must inhabit us all.

For as much as government can do and must do, it is ultimately the faith and determination of the American people upon which this nation relies. It is the kindness to take in a stranger when the levees break, the selflessness of workers who would rather cut their hours than see a friend lose their job which sees us through our darkest hours. It is the firefighter’s courage to storm a stairway filled with smoke, but also a parent’s willingness to nurture a child, that finally decides our fate.

Our challenges may be new. The instruments with which we meet them may be new. But those values upon which our success depends – hard work and honesty, courage and fair play, tolerance and curiosity, loyalty and patriotism – these things are old. These things are true. They have been the quiet force of progress throughout our history. What is demanded then is a return to these truths. What is required of us now is a new era of responsibility – a recognition, on the part of every American, that we have duties to ourselves, our nation, and the world, duties that we do not grudgingly accept but rather seize gladly, firm in the knowledge that there is nothing so satisfying to the spirit, so defining of our character, than giving our all to a difficult task.

This is the price and the promise of citizenship.

This is the source of our confidence – the knowledge that God calls on us to shape an uncertain destiny.

This is the meaning of our liberty and our creed – why men and women and children of every race and every faith can join in celebration across this magnificent mall, and why a man whose father less than sixty years ago might not have been served at a local restaurant can now stand before you to take a most sacred oath.

So let us mark this day with remembrance, of who we are and how far we have traveled. In the year of America’s birth, in the coldest of months, a small band of patriots huddled by dying campfires on the shores of an icy river. The capital was abandoned. The enemy was advancing. The snow was stained with blood. At a moment when the outcome of our revolution was most in doubt, the father of our nation ordered these words be read to the people: “Let it be told to the future world…that in the depth of winter, when nothing but hope and virtue could survive…that the city and the country, alarmed at one common danger, came forth to meet [it].”

America. In the face of our common dangers, in this winter of our hardship, let us remember these timeless words. With hope and virtue, let us brave once more the icy currents, and endure what storms may come. Let it be said by our children’s children that when we were tested we refused to let this journey end, that we did not turn back nor did we falter; and with eyes fixed on the horizon and God’s grace upon us, we carried forth that great gift of freedom and delivered it safely to future generations.

Thank you. God bless you. And God bless the United States of America.

このサーバー用のDNSサーバーとして使っているieserverが今日頻繁に落ちているようだ。無料なのであまり文句もいえない。だが頻繁に落ちるようなら考えねばならない。

frostbite

sweat1

久し振りにこのレースに参加した。計測用のチップはいつものではなく、硬い紙製のもの。今日は完走が目標だったが途中調子がよく、10kmは49分台で通過。しかしその後13kmくらいできつくなり、大幅なペースダウン。でも我慢してなんとか1’54’30くらいで終了した。現地でのスペアリブなどを楽しみしていたが、結局ありつく前にねたが終了。昼食は食べず、自宅で昼食・夕食一緒の食事となった。 画像はいただいた参加賞のスェット。

Runnetさんがゴール近辺の写真をとっていてくれました。

frostbite

昨日の徳力さんの講演で発見したトレンド分析にLinuxディストリビューションを掛けてみた。これは全世界を対象としたグラフ。

distri

一方これは日本だけを対象に分析したもの。

distri1
世界および日本とも水色のUbuntuのトラフィックが相当な右肩上がりなのが分かる。一方派生元のDebianともう一つの人気のDistributionのFedoraは世界で見るとDebianとほぼ同じトラフィック数となっている。日本だけみるとFedoraがDebianより少し上。またNovelが力を入れるOpenSuSEは世界、日本とも今一歩なんだな~

昨年12月に引き続き、産業技術大学院大学での2回目のinfotalkに参加しました。

お題1 インターネットが拓く個人の可能性
講師  アジャイルメディア・ネットワーク(株) 取締役 徳力基彦さん

お題2 Skypeでコミュニケーションは変わったか?
講師  スカイプコミュニケーション カントリーマネージャ 岩田 真一さん

徳力さんの講義は、インターネットの技術により、分野が限定されるとはいえ、ある意味有益な統計学的なデータが無料で入手できる時代になったという事実を知った事が収穫。

岩田さんのお話は、全てが新しく自分にとっては全く未経験な分野のお話で、興味を持てた。確かにグレーな部分は在るが、今の時代にふさわしい技術を使い市場を作った会社。娘の超長い携帯通話の代わりに是非このスカイプを使わせてあげたい。