SlideShare une entreprise Scribd logo
1  sur  28
Télécharger pour lire hors ligne
 
• 
• 
• 
• 
• 
• 
• 
• 
• 
• 
     – 
     – 


• 
     – 
     – 


• 
     – 


• 
• 
     o 




     o 


     o 


• 
     o 


     o 

     o 


     o 
• 

• 
     o 


     o 




• 
     o 
name = "vm230"
maxmem = 2048
memory = 2048
vcpus = 2
    (snip)
localtime = 0
disk = [
"tap:aio:/dev/pool0/vm230_xvda,xvda,w",
#failed
#“tap:aio:/dev/disk/by-id/scsi-SATA_ST31000340NS_9QJ37    -part1,xvdb,w",
“tap:aio:/dev/disk/by-id/scsi-SATA_ST31000340NS_9QJ37   -part1,xvdc,w",
“tap:aio:/dev/disk/by-id/scsi-SATA_ST31000340NS_9QJ37   -part1,xvdd,w",
"tap:aio:/dev/disk/by-id/scsi-SATA_ST2000DL003-9VT_5YD13××,xvdf,w",
“tap:aio:/dev/disk/by-id/scsi-SATA_OCZ-VERTEX2_f0a200   -part1,xvde,w",
]
vif = [ "mac=00:16:36:04:e8:a7,bridge=xenbr0,script=vif-bridge" ]
serial = "pty"
bootloader="/usr/bin/pygrub"
• 
     – 
     – 
     – 
     – 
• 
          bootloader="/usr/bin/pygrub“

• 
          kernel="/boot/os200811/unix"
          ramdisk="/boot/os200811/boot_archive"
          extra= '/platform/i86xpv/kernel/amd64/unix
                –B zfs-bootfs=rpool/52,
                bootpath="/xpvd/xdf@0:a"’
• 
     ---   Logical volume ---
      LV   Name                 /dev/pool0/vm230_xvda
      VG   Name                 pool0
      LV   UUID                 NnCJ9p-zUwc-B1C7-9MGE-
                                  bxtl-DC0z-2QejaS
     LV Write Access            read/write
     LV Status                  available
     # open                     3
     LV Size                    16.00 GB
     Current LE                 4096
     Segments                   1


•                (              Linux       )
root@vm230:~# zpool list
NAME      SIZE ALLOC   FREE              CAP   DEDUP   HEALTH   ALTROO

array1    2.72T   1.91T       831G       70%   1.26x   DEGRADED     -
                          (            2TB; 1TBx3)



backup1   1.81T   1.01T       817G       55%   1.01x   ONLINE   -
                     (                2TB; 2TBx1)



rpool     15.9G   5.09G       10.8G      32%   1.00x   ONLINE   -


  Linux LVM
• 

     – 
     – 

• 
     – 
     – 
     – 
• 
• 
• 
• 


Disk /dev/disk/by-id/scsi-SATA_ST31000340NS_9QJ37XXX: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units =          of 16065 * 512 = 8225280 bytes

                         Boot   Start     End      Blocks    Id   System
ST31000340NS_9QJ37XXX1     *     1      121601   976760001   fd   Linux raid
root@os200811:~# zpool status array1
pool: array1
state: DEGRADED
status: One or more devices are faulted in response to persist
Sufficient replicas exist for the pool to continue functioning
degraded state.
action: Replace the faulted device, or use 'zpool clear' to ma
repaired.
see: http://www.sun.com/msg/ZFS-8000-K4
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
array1 DEGRADED 0 0 0
raidz1 DEGRADED 0 0 0
c3d1p1 ONLINE 0 0 0
c3d2p1 FAULTED 8 7.56M 0 too many errors
c3d3p1 ONLINE 0 0 0
• 
     o    HDD
          SATA             – HDD

•    Dom0
     o    Kernel

          Sep 1 20:31:23 dom0 kernel: ata11: exception Emask 0x10
              SAct 0x0 Serr 0x80000 action 0xe frozen
              	

•    OpenSolaris domU
     o    blktap                        VBD              ?
     o    RAID-Z       1              degraded
•    OpenSolaris
     o 


     o 


• 
     o              (OpenSolaris 2009.06)
     o    ZFS


     o             ON
     o 


     o 
toor@vm230:~$ pfexec zpool status array1
  pool: array1
 state: ONLINE
status: The pool is formatted using an older on-disk format. The pool
        still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'. Once this is done, th
        pool will no longer be accessible on older software versions.
 scrub: scrub completed after 3h40m with 0 errors on Fri Mar 12 01:20:
config:
        NAME          STATE     READ WRITE CKSUM
        array1        ONLINE       0     0     0
          raidz1-0    ONLINE       0     0     0
            c6t1d0p0 ONLINE        0     0     0
            c6t2d0p0 ONLINE        0     0     0
            c6t3d0p0 ONLINE        0     0     0
        logs
          c6t4d0p0    ONLINE       0     0     0
errors: No known data errors
root@vm230:~# zpool status array1
  pool: array1
 state: DEGRADED
status: One or more devices could not be opened. Sufficient replicas
        the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
   see: http://www.sun.com/msg/ZFS-8000-2Q
 scrub: none requested
config:

       NAME           STATE      READ WRITE CKSUM
       array1         DEGRADED      0     0     0
         raidz1-0     DEGRADED      0     0     0
           c6t1d0p0   UNAVAIL       0     0     0   cannot open
           c6t2d0p0   ONLINE        0     0     0
           c6t3d0p0   ONLINE        0     0     0

errors: No known data errors
• 

• 
     – 
     – 
• 
     – 
     – 


• 
• 
• 
•                     ,                        Tiering
•    ZFS

History
     253   zfs snapshot -r array1@`date +%Y%m%d`
     254   zfs set mountpoint=none backup1
     255   zfs send array1/archives@`date +%Y%m%d` | zfs
     recv backup1/archives`date +%Y%m%d`
     273   zfs set mountpount=/export/backup array1/
     backup
• 
• 
     o 


     o 


• 
     o 


     o 

     o 


     o 
• 
     o 


     o 

     o 


• 
     o 

     o 


     o 
20110528東京OpenSolaris勉強会2011.05
20110528東京OpenSolaris勉強会2011.05

Contenu connexe

Similaire à 20110528東京OpenSolaris勉強会2011.05

How Prometheus Store the Data
How Prometheus Store the DataHow Prometheus Store the Data
How Prometheus Store the DataHao Chen
 
Cinefilia Demo - EGEE User Forum 2009
Cinefilia Demo - EGEE User Forum 2009Cinefilia Demo - EGEE User Forum 2009
Cinefilia Demo - EGEE User Forum 2009Leandro Ciuffo
 
DUG'20: 12 - DAOS in Lenovo’s HPC Innovation Center
DUG'20: 12 - DAOS in Lenovo’s HPC Innovation CenterDUG'20: 12 - DAOS in Lenovo’s HPC Innovation Center
DUG'20: 12 - DAOS in Lenovo’s HPC Innovation CenterAndrey Kudryavtsev
 
Veritas Software Foundations
Veritas Software FoundationsVeritas Software Foundations
Veritas Software Foundations.Gastón. .Bx.
 
PostgreSQL Portland Performance Practice Project - Database Test 2 Filesystem...
PostgreSQL Portland Performance Practice Project - Database Test 2 Filesystem...PostgreSQL Portland Performance Practice Project - Database Test 2 Filesystem...
PostgreSQL Portland Performance Practice Project - Database Test 2 Filesystem...Mark Wong
 
hacking-embedded-devices.pptx
hacking-embedded-devices.pptxhacking-embedded-devices.pptx
hacking-embedded-devices.pptxssuserfcf43f
 
Containers with systemd-nspawn
Containers with systemd-nspawnContainers with systemd-nspawn
Containers with systemd-nspawnGábor Nyers
 
Jackpot! Attacking Arcade Machines
Jackpot! Attacking Arcade MachinesJackpot! Attacking Arcade Machines
Jackpot! Attacking Arcade MachinesPatrick Sayler
 
Bringing up Android on your favorite X86 Workstation or VM (AnDevCon Boston, ...
Bringing up Android on your favorite X86 Workstation or VM (AnDevCon Boston, ...Bringing up Android on your favorite X86 Workstation or VM (AnDevCon Boston, ...
Bringing up Android on your favorite X86 Workstation or VM (AnDevCon Boston, ...Ron Munitz
 
Use nix cloud computing w. v-mware vcloud director (poster)
Use nix   cloud computing w. v-mware vcloud director (poster)Use nix   cloud computing w. v-mware vcloud director (poster)
Use nix cloud computing w. v-mware vcloud director (poster)Venkata Ramana
 
Using Node.js to improve the performance of Mobile apps and Mobile web
Using Node.js to improve  the performance of  Mobile apps and Mobile webUsing Node.js to improve  the performance of  Mobile apps and Mobile web
Using Node.js to improve the performance of Mobile apps and Mobile webTom Croucher
 
Cassandra Day SV 2014: Basic Operations with Apache Cassandra
Cassandra Day SV 2014: Basic Operations with Apache CassandraCassandra Day SV 2014: Basic Operations with Apache Cassandra
Cassandra Day SV 2014: Basic Operations with Apache CassandraDataStax Academy
 
Mirroring the root_disk under solaris SVM
Mirroring the root_disk under solaris SVMMirroring the root_disk under solaris SVM
Mirroring the root_disk under solaris SVMKazimal Abed Mohammed
 
WatchGuard´s XCS Brochure
WatchGuard´s XCS BrochureWatchGuard´s XCS Brochure
WatchGuard´s XCS BrochureAEC Networks
 

Similaire à 20110528東京OpenSolaris勉強会2011.05 (20)

Linux: LVM
Linux: LVMLinux: LVM
Linux: LVM
 
ZFS Talk Part 1
ZFS Talk Part 1ZFS Talk Part 1
ZFS Talk Part 1
 
Putting some "logic" in LVM.
Putting some "logic" in LVM.Putting some "logic" in LVM.
Putting some "logic" in LVM.
 
How Prometheus Store the Data
How Prometheus Store the DataHow Prometheus Store the Data
How Prometheus Store the Data
 
Cinefilia Demo - EGEE User Forum 2009
Cinefilia Demo - EGEE User Forum 2009Cinefilia Demo - EGEE User Forum 2009
Cinefilia Demo - EGEE User Forum 2009
 
DUG'20: 12 - DAOS in Lenovo’s HPC Innovation Center
DUG'20: 12 - DAOS in Lenovo’s HPC Innovation CenterDUG'20: 12 - DAOS in Lenovo’s HPC Innovation Center
DUG'20: 12 - DAOS in Lenovo’s HPC Innovation Center
 
20080528dublinpt3
20080528dublinpt320080528dublinpt3
20080528dublinpt3
 
Backups
BackupsBackups
Backups
 
Veritas Software Foundations
Veritas Software FoundationsVeritas Software Foundations
Veritas Software Foundations
 
lvm.pptx
lvm.pptxlvm.pptx
lvm.pptx
 
PostgreSQL Portland Performance Practice Project - Database Test 2 Filesystem...
PostgreSQL Portland Performance Practice Project - Database Test 2 Filesystem...PostgreSQL Portland Performance Practice Project - Database Test 2 Filesystem...
PostgreSQL Portland Performance Practice Project - Database Test 2 Filesystem...
 
hacking-embedded-devices.pptx
hacking-embedded-devices.pptxhacking-embedded-devices.pptx
hacking-embedded-devices.pptx
 
Containers with systemd-nspawn
Containers with systemd-nspawnContainers with systemd-nspawn
Containers with systemd-nspawn
 
Jackpot! Attacking Arcade Machines
Jackpot! Attacking Arcade MachinesJackpot! Attacking Arcade Machines
Jackpot! Attacking Arcade Machines
 
Bringing up Android on your favorite X86 Workstation or VM (AnDevCon Boston, ...
Bringing up Android on your favorite X86 Workstation or VM (AnDevCon Boston, ...Bringing up Android on your favorite X86 Workstation or VM (AnDevCon Boston, ...
Bringing up Android on your favorite X86 Workstation or VM (AnDevCon Boston, ...
 
Use nix cloud computing w. v-mware vcloud director (poster)
Use nix   cloud computing w. v-mware vcloud director (poster)Use nix   cloud computing w. v-mware vcloud director (poster)
Use nix cloud computing w. v-mware vcloud director (poster)
 
Using Node.js to improve the performance of Mobile apps and Mobile web
Using Node.js to improve  the performance of  Mobile apps and Mobile webUsing Node.js to improve  the performance of  Mobile apps and Mobile web
Using Node.js to improve the performance of Mobile apps and Mobile web
 
Cassandra Day SV 2014: Basic Operations with Apache Cassandra
Cassandra Day SV 2014: Basic Operations with Apache CassandraCassandra Day SV 2014: Basic Operations with Apache Cassandra
Cassandra Day SV 2014: Basic Operations with Apache Cassandra
 
Mirroring the root_disk under solaris SVM
Mirroring the root_disk under solaris SVMMirroring the root_disk under solaris SVM
Mirroring the root_disk under solaris SVM
 
WatchGuard´s XCS Brochure
WatchGuard´s XCS BrochureWatchGuard´s XCS Brochure
WatchGuard´s XCS Brochure
 

Plus de Takeshi HASEGAWA

コンピュータエンジニアへのFPGAのすすめ
コンピュータエンジニアへのFPGAのすすめコンピュータエンジニアへのFPGAのすすめ
コンピュータエンジニアへのFPGAのすすめTakeshi HASEGAWA
 
IkaLog: Data Collector for Splatoon and Machine Learning (Jan 2017 @ Softbank)
IkaLog: Data Collector for Splatoon and Machine Learning (Jan 2017 @ Softbank)IkaLog: Data Collector for Splatoon and Machine Learning (Jan 2017 @ Softbank)
IkaLog: Data Collector for Splatoon and Machine Learning (Jan 2017 @ Softbank)Takeshi HASEGAWA
 
IkaLog: Data Collector for Splatoon and Machine Learning
IkaLog: Data Collector for Splatoon and Machine LearningIkaLog: Data Collector for Splatoon and Machine Learning
IkaLog: Data Collector for Splatoon and Machine Learning Takeshi HASEGAWA
 
#IkaLog によるスプラトゥーンの画像解析と機械学習
#IkaLog によるスプラトゥーンの画像解析と機械学習#IkaLog によるスプラトゥーンの画像解析と機械学習
#IkaLog によるスプラトゥーンの画像解析と機械学習Takeshi HASEGAWA
 
IkaLog and Deep Learning (20161122 GDLCjp)
IkaLog and Deep Learning (20161122 GDLCjp)IkaLog and Deep Learning (20161122 GDLCjp)
IkaLog and Deep Learning (20161122 GDLCjp)Takeshi HASEGAWA
 
IkaLog Presentation for BMD users
IkaLog Presentation for BMD usersIkaLog Presentation for BMD users
IkaLog Presentation for BMD usersTakeshi HASEGAWA
 
ネットワークカメラを使った玄関前モニタリングの苦労話
ネットワークカメラを使った玄関前モニタリングの苦労話ネットワークカメラを使った玄関前モニタリングの苦労話
ネットワークカメラを使った玄関前モニタリングの苦労話Takeshi HASEGAWA
 
IkaLog Presentation at qpstudy 2015.11
IkaLog Presentation at qpstudy 2015.11IkaLog Presentation at qpstudy 2015.11
IkaLog Presentation at qpstudy 2015.11Takeshi HASEGAWA
 
IkaLog Presentation at Kansai Open Forum 2015
IkaLog Presentation at Kansai Open Forum 2015IkaLog Presentation at Kansai Open Forum 2015
IkaLog Presentation at Kansai Open Forum 2015Takeshi HASEGAWA
 
「スプラトゥーン」リアルタイム画像解析ツール 「IkaLog」の裏側
「スプラトゥーン」リアルタイム画像解析ツール 「IkaLog」の裏側「スプラトゥーン」リアルタイム画像解析ツール 「IkaLog」の裏側
「スプラトゥーン」リアルタイム画像解析ツール 「IkaLog」の裏側Takeshi HASEGAWA
 
次世代I/Oインターフェイス「Eject-io」
次世代I/Oインターフェイス「Eject-io」次世代I/Oインターフェイス「Eject-io」
次世代I/Oインターフェイス「Eject-io」Takeshi HASEGAWA
 

Plus de Takeshi HASEGAWA (20)

FPGAx10_Sakura
FPGAx10_SakuraFPGAx10_Sakura
FPGAx10_Sakura
 
コンピュータエンジニアへのFPGAのすすめ
コンピュータエンジニアへのFPGAのすすめコンピュータエンジニアへのFPGAのすすめ
コンピュータエンジニアへのFPGAのすすめ
 
IkaLog20170316pynq_dist
IkaLog20170316pynq_distIkaLog20170316pynq_dist
IkaLog20170316pynq_dist
 
IkaLog: Data Collector for Splatoon and Machine Learning (Jan 2017 @ Softbank)
IkaLog: Data Collector for Splatoon and Machine Learning (Jan 2017 @ Softbank)IkaLog: Data Collector for Splatoon and Machine Learning (Jan 2017 @ Softbank)
IkaLog: Data Collector for Splatoon and Machine Learning (Jan 2017 @ Softbank)
 
IkaLog: Data Collector for Splatoon and Machine Learning
IkaLog: Data Collector for Splatoon and Machine LearningIkaLog: Data Collector for Splatoon and Machine Learning
IkaLog: Data Collector for Splatoon and Machine Learning
 
#IkaLog によるスプラトゥーンの画像解析と機械学習
#IkaLog によるスプラトゥーンの画像解析と機械学習#IkaLog によるスプラトゥーンの画像解析と機械学習
#IkaLog によるスプラトゥーンの画像解析と機械学習
 
IkaLog and Deep Learning (20161122 GDLCjp)
IkaLog and Deep Learning (20161122 GDLCjp)IkaLog and Deep Learning (20161122 GDLCjp)
IkaLog and Deep Learning (20161122 GDLCjp)
 
IkaLog_FPGAStartup1
IkaLog_FPGAStartup1IkaLog_FPGAStartup1
IkaLog_FPGAStartup1
 
IkaLog osc2016tf
IkaLog osc2016tfIkaLog osc2016tf
IkaLog osc2016tf
 
IkaLog Presentation for BMD users
IkaLog Presentation for BMD usersIkaLog Presentation for BMD users
IkaLog Presentation for BMD users
 
IkaLog_overview_en
IkaLog_overview_enIkaLog_overview_en
IkaLog_overview_en
 
ネットワークカメラを使った玄関前モニタリングの苦労話
ネットワークカメラを使った玄関前モニタリングの苦労話ネットワークカメラを使った玄関前モニタリングの苦労話
ネットワークカメラを使った玄関前モニタリングの苦労話
 
IkaLog Presentation v1.3
IkaLog Presentation v1.3IkaLog Presentation v1.3
IkaLog Presentation v1.3
 
IkaLog Presentation at qpstudy 2015.11
IkaLog Presentation at qpstudy 2015.11IkaLog Presentation at qpstudy 2015.11
IkaLog Presentation at qpstudy 2015.11
 
IkaLog Presentation at Kansai Open Forum 2015
IkaLog Presentation at Kansai Open Forum 2015IkaLog Presentation at Kansai Open Forum 2015
IkaLog Presentation at Kansai Open Forum 2015
 
「スプラトゥーン」リアルタイム画像解析ツール 「IkaLog」の裏側
「スプラトゥーン」リアルタイム画像解析ツール 「IkaLog」の裏側「スプラトゥーン」リアルタイム画像解析ツール 「IkaLog」の裏側
「スプラトゥーン」リアルタイム画像解析ツール 「IkaLog」の裏側
 
ssmjp October 2014
ssmjp October 2014ssmjp October 2014
ssmjp October 2014
 
Eject-io @ Kernel/VM
Eject-io @ Kernel/VMEject-io @ Kernel/VM
Eject-io @ Kernel/VM
 
Memory expansion
Memory expansionMemory expansion
Memory expansion
 
次世代I/Oインターフェイス「Eject-io」
次世代I/Oインターフェイス「Eject-io」次世代I/Oインターフェイス「Eject-io」
次世代I/Oインターフェイス「Eject-io」
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 

Dernier (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

20110528東京OpenSolaris勉強会2011.05

  • 2.
  • 3.
  • 4.
  • 6. •  –  –  •  –  –  •  –  • 
  • 7. •  o  o  o  •  o  o  o  o 
  • 8. •  •  o  o  •  o 
  • 9.
  • 10.
  • 11. name = "vm230" maxmem = 2048 memory = 2048 vcpus = 2 (snip) localtime = 0 disk = [ "tap:aio:/dev/pool0/vm230_xvda,xvda,w", #failed #“tap:aio:/dev/disk/by-id/scsi-SATA_ST31000340NS_9QJ37 -part1,xvdb,w", “tap:aio:/dev/disk/by-id/scsi-SATA_ST31000340NS_9QJ37 -part1,xvdc,w", “tap:aio:/dev/disk/by-id/scsi-SATA_ST31000340NS_9QJ37 -part1,xvdd,w", "tap:aio:/dev/disk/by-id/scsi-SATA_ST2000DL003-9VT_5YD13××,xvdf,w", “tap:aio:/dev/disk/by-id/scsi-SATA_OCZ-VERTEX2_f0a200 -part1,xvde,w", ] vif = [ "mac=00:16:36:04:e8:a7,bridge=xenbr0,script=vif-bridge" ] serial = "pty" bootloader="/usr/bin/pygrub"
  • 12. •  –  –  –  –  •  bootloader="/usr/bin/pygrub“ •  kernel="/boot/os200811/unix" ramdisk="/boot/os200811/boot_archive" extra= '/platform/i86xpv/kernel/amd64/unix –B zfs-bootfs=rpool/52, bootpath="/xpvd/xdf@0:a"’
  • 13. •  --- Logical volume --- LV Name /dev/pool0/vm230_xvda VG Name pool0 LV UUID NnCJ9p-zUwc-B1C7-9MGE- bxtl-DC0z-2QejaS LV Write Access read/write LV Status available # open 3 LV Size 16.00 GB Current LE 4096 Segments 1 •  ( Linux )
  • 14. root@vm230:~# zpool list NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROO array1 2.72T 1.91T 831G 70% 1.26x DEGRADED - ( 2TB; 1TBx3) backup1 1.81T 1.01T 817G 55% 1.01x ONLINE - ( 2TB; 2TBx1) rpool 15.9G 5.09G 10.8G 32% 1.00x ONLINE - Linux LVM
  • 15. •  –  –  •  –  –  –  • 
  • 16. •  •  •  Disk /dev/disk/by-id/scsi-SATA_ST31000340NS_9QJ37XXX: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = of 16065 * 512 = 8225280 bytes Boot Start End Blocks Id System ST31000340NS_9QJ37XXX1 * 1 121601 976760001 fd Linux raid
  • 17.
  • 18. root@os200811:~# zpool status array1 pool: array1 state: DEGRADED status: One or more devices are faulted in response to persist Sufficient replicas exist for the pool to continue functioning degraded state. action: Replace the faulted device, or use 'zpool clear' to ma repaired. see: http://www.sun.com/msg/ZFS-8000-K4 scrub: none requested config: NAME STATE READ WRITE CKSUM array1 DEGRADED 0 0 0 raidz1 DEGRADED 0 0 0 c3d1p1 ONLINE 0 0 0 c3d2p1 FAULTED 8 7.56M 0 too many errors c3d3p1 ONLINE 0 0 0
  • 19. •  o  HDD SATA – HDD •  Dom0 o  Kernel Sep 1 20:31:23 dom0 kernel: ata11: exception Emask 0x10 SAct 0x0 Serr 0x80000 action 0xe frozen •  OpenSolaris domU o  blktap VBD ? o  RAID-Z 1 degraded
  • 20. •  OpenSolaris o  o  •  o  (OpenSolaris 2009.06) o  ZFS o  ON o  o 
  • 21. toor@vm230:~$ pfexec zpool status array1 pool: array1 state: ONLINE status: The pool is formatted using an older on-disk format. The pool still be used, but some features are unavailable. action: Upgrade the pool using 'zpool upgrade'. Once this is done, th pool will no longer be accessible on older software versions. scrub: scrub completed after 3h40m with 0 errors on Fri Mar 12 01:20: config: NAME STATE READ WRITE CKSUM array1 ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 c6t1d0p0 ONLINE 0 0 0 c6t2d0p0 ONLINE 0 0 0 c6t3d0p0 ONLINE 0 0 0 logs c6t4d0p0 ONLINE 0 0 0 errors: No known data errors
  • 22. root@vm230:~# zpool status array1 pool: array1 state: DEGRADED status: One or more devices could not be opened. Sufficient replicas the pool to continue functioning in a degraded state. action: Attach the missing device and online it using 'zpool online'. see: http://www.sun.com/msg/ZFS-8000-2Q scrub: none requested config: NAME STATE READ WRITE CKSUM array1 DEGRADED 0 0 0 raidz1-0 DEGRADED 0 0 0 c6t1d0p0 UNAVAIL 0 0 0 cannot open c6t2d0p0 ONLINE 0 0 0 c6t3d0p0 ONLINE 0 0 0 errors: No known data errors
  • 23. •  •  –  –  •  –  –  •  • 
  • 24. •  •  , Tiering •  ZFS History 253 zfs snapshot -r array1@`date +%Y%m%d` 254 zfs set mountpoint=none backup1 255 zfs send array1/archives@`date +%Y%m%d` | zfs recv backup1/archives`date +%Y%m%d` 273 zfs set mountpount=/export/backup array1/ backup
  • 25. •  •  o  o  •  o  o  o  o 
  • 26. •  o  o  o  •  o  o  o