25
Not official document VisorFSって なんなのさ、 結局。 Takao Setaka @twtko

What is visor_fs_201207_customize

Embed Size (px)

Citation preview

Page 1: What is visor_fs_201207_customize

Not official document

VisorFSって

なんなのさ、結局。

Takao Setaka

@twtko

Page 2: What is visor_fs_201207_customize

Not official document2

ESXiにおけるファイルシステム

1.VMFS5

2.NFS

3.Vfat4.vmkcore

Page 3: What is visor_fs_201207_customize

Not official document3

vfatが使われている領域

1.bootbank

2.scratch

3.store

Page 4: What is visor_fs_201207_customize

Not official document4

サイズ

1.bootbank (250MB)x2

2.scratch 4GB

3.store 286MB

Page 5: What is visor_fs_201207_customize

Not official document5

イメージ図

Page 6: What is visor_fs_201207_customize

Not official document6

bootbank

起動に必要なファイル群と設定情報一式※Dual構成なので2セットあります。

/bootbank 使用中の起動領域

/altbootbank 1つ前のパッチレベル

Page 7: What is visor_fs_201207_customize

Not official document7

store

ESXiとして使用するファイル群

(VMwareToolsとかドライバイメージ等)

Page 8: What is visor_fs_201207_customize

Not official document8

scratch

ご存知の通り!

Page 9: What is visor_fs_201207_customize

Not official document9

あれ?

VisorFSは?

→起動の都度再構成される

Page 10: What is visor_fs_201207_customize

Not official document10

VisorFSはファイルシステム?

1.メモリファイルシステム

2.RamdiskとTardiskの2種類で構成

Page 11: What is visor_fs_201207_customize

Not official document11

メモリファイルシステム

1.Tardisk

2.Ramdisk

Page 12: What is visor_fs_201207_customize

Not official document12

イメージ図

Page 13: What is visor_fs_201207_customize

Not official document13

Tardisk

Tarアーカイブフォーマットをそのままメモリ上に展開→bootbankそのままboot.cfgに基づいてロードされる

Page 14: What is visor_fs_201207_customize

Not official document14

Tardiskイメージ図

Page 15: What is visor_fs_201207_customize

Not official document15

Ramdisk

変更が頻繁に行われるファイルを格納ステートファイル、ログファイル、等々…

Page 16: What is visor_fs_201207_customize

Not official document16

Ramdisk空間

/ (root) … 32MB 予約

/etc … 28MB 予約

/tmp … 2~192MB

hostdstats … ~346MB

Page 17: What is visor_fs_201207_customize

Not official document17

システムリソース割り当て

Page 18: What is visor_fs_201207_customize

Not official document18

システムリソース割り当て

Page 19: What is visor_fs_201207_customize

Not official document19

ブランチング

読込専用のTarからブランチングして.#メタ情報に紐付け

Page 20: What is visor_fs_201207_customize

Not official document20

設定変更はどう維持する?

定期的にstate.tgzを生成 (auto-backup.sh)

→bootbankに保存→起動時にロード

Page 21: What is visor_fs_201207_customize

Not official document21

state.tgz?

vicfg-cfgbackup.plで抜き出せるヤツそのもの。local.tgz内には/etcの構成情報

Page 22: What is visor_fs_201207_customize

Not official document22

auto-backup.sh

Tフラグのある.#ファイルをごっそりバックアップ

Page 23: What is visor_fs_201207_customize

Not official document23

Ramdiskはとても注意が必要

パンクすると、hostdやvpxaなどがクラッシュする…/var/logとか危険

→vCenterから管理不可

見た目、NW障害っぽい

Page 24: What is visor_fs_201207_customize

Not official document24

/tmpはRamdisk

scratchちゃんと構成

/tmpは定期的にクリーンアップされる

→障害切り分け不可

Page 25: What is visor_fs_201207_customize

Not official document

おしまい