RIBF 制御系における仮想化技術を用いたシステム

5,%) ไᚚ⣔࡟࠾ࡅࡿ௬᝿໬ᢏ⾡ࢆ⏝࠸ࡓࢩࢫࢸ࣒タィ࡜㐠⏝
SYSTEM DESIGN AND IMPLEMENTATION USING VIRTUALIZATION
TECHNOLOGY FOR RIBF CONTROL SYSTEM
ෆᒣᬡோ#, A), ㎸ᒣ⨾ဏ A), ⚟すᬸᑦ A)
Akito Uchiyama #, A), Misaki KomiyamaA), Nobuhisa FukunishiA)
A)
RIKEN Nishina Center
Abstract
In 2001, EPICS-based system has been introduced to RARF (RIKEN Accelerator Research Facility), which is now
the injector part of RI Beam Factory (RIBF). The system consisted of HP-UX as the server system, and vxWorks
systems as EPICS IOCs (Input/Output Controller). When we constructed the RIBF control system, we adopted a Linux
system as both of the servers and IOCs for RIBF control system, because EPICS version R3.14 was available on Linux.
To avoid system-wide failure, we constructed Linux clusters with a redundancy design based on a High-Availability
(HA) system using open-source DRBD and Heartbeat in 2008. In order to use server resources more efficiently keeping
the high availability of the RIBF control system, we have designed a new implementing system by using VMware
vSphere as a virtualization environment and Network Attached Storage (NAS) as the shared storage. The system has
successfully started its services such as DNS, HTTP, MySQL, EPICS CA (Channel Access) gateway and EPICS IOC.
We report the design and the status of the virtualization system of RIBF control system.
1.
ࡣࡌࡵ࡟
⌮◊ RIBF ຍ㏿ჾไᚚࢩࢫࢸ࣒ࡣ୺࡟ EPICS ࢆ⏝
࠸ࡓศᩓไᚚࢩࢫࢸ࣒࡛ᵓ⠏ࡉࢀ࡚࠸ࡿࠋࡇࡢࢩࢫ
ࢸ࣒࡛ࡣ IOC ࡣศᩓࡉࢀ࡚ࡣ࠸ࡿࡀࠊඹ㏻㒊ศࡢࣉ
ࣟࢢ࣒ࣛ࡟㛵ࡋ࡚ࡣ NFS ⱝࡋࡃࡣ FTP ࢧ࣮ࣅࢫࢆ
⏝࠸ࡓඹ᭷ࢹ࢕ࢫࢡ࡛⟶⌮ࡉࢀ࡚࠸ࡓࠋࡇࢀࡽࡢ
ࢧ࣮ࣂ࡟㞀ᐖࡀⓎ⏕ࡍࡿ࡜ IOC ࢆྵࡴ඲࡚ࡢࢩࢫࢸ
࣒࡟㞀ᐖࡀⓎ⏕ࡍࡿࡓࡵࠊ2008 ᖺ࡟ HA ࢡࣛࢫࢱࢩ
ࢫࢸ࣒ࢆᵓ⠏ࡍࡿ஦࡛෕㛗໬ࢆ⾜࠸ࠊࡑࡢ⤖ᯝࢧ࣮
ࣂࡢࣁ࣮ࢻ࢙࢘࢔࡟㞀ᐖࡀⓎ⏕ࡋ࡚ࡶࢧ࣮ࣅࢫࢆᥦ
౪ࡋ⥆ࡅࡿ஦ࡀྍ⬟࡟࡞ࡗࡓ[1]ࠋࡋ࠿ࡋᡃࠎࡀᵓ⠏
ࡋࡓ HA ࢡࣛࢫࢱࡣࠊᐇ⾜⣔ࢧ࣮ࣂ࡜ᚅᶵ⣔ࢧ࣮ࣂ
࠿ࡽᡂࡿ࢔ࢡࢸ࢕ࣈ࣭ࢫࢱࣥࣂ࢖ᵓᡂ࡛࠶ࡗࡓⅭࠊ
ᚅᶵ⣔ࢧ࣮ࣂ࡛࠶ࡗ࡚ࡶᐇ⾜⣔ࢧ࣮ࣂ࡜ྠ➼ࡢࢧ࣮
ࣂࣜࢯ࣮ࢫࡀᚲせ࡛࠶ࡗࡓࠋ௬᝿໬ᢏ⾡ࡀ㐍Ṍࡋࡓ
஦ࢆ⫼ᬒ࡟ࠊ᭦᪂ᚋࡢ᪂ࢩࢫࢸ࣒࡛ࡣ㧗ྍ⏝ᛶࡔࡅ
࡛࡞ࡃࠊࢧ࣮ࣂࣜࢯ࣮ࢫࡢ㐠⏝ຠ⋡ࡢྥୖࢆᐇ⌧ࡉ
ࡏࡿࡓࡵࠊ௬᝿໬ᢏ⾡ࢆ฼⏝ࡋ࡚ࢩࢫࢸ࣒ࢆᵓ⠏ࡍ
ࡿ஦࡜ࡋࡓࠋ
2.
௬᝿໬ᢏ⾡ࢆ฼⏝ࡋࡓ௚᪋タࡢືྥ
2011 ᖺࣇࣛࣥࢫ࣭ࢢࣝࣀ࣮ࣈ࡛ࣝ⾜ࢃࢀࡓไᚚࡢ
ᅜ㝿఍㆟ ICALEPCS2011 ࡛ࡣ௬᝿໬ᢏ⾡࡟㛵ࡍࡿከ
ᩘࡢሗ࿌ࡀ⾜ࢃࢀࡓࠋࡇࢀࢆࡶ࡜࡟኱ᆺᐇ㦂᪋タ࡟
࠾ࡅࡿ௬᝿໬ᢏ⾡ࢆ฼⏝ࡋࡓࢩࢫࢸ࣒࡟ࡘ࠸࡚ࡢື
ྥࢆࡲ࡜ࡵࡓࡢࡀ⾲㸯࡛࠶ࡿࠋ [2-9] ௬᝿໬ࢯࣇࢺ
࢙࢘࢔ࢆ᳨ウࡋࡓ᫬ࠊᐇ⦼ࡀ࠶ࡿ Xen, KVM, HyperV, VMware ࡀೃ⿵࡟ᣲࡆࡽࢀࡿࠋ୍᪉௚᪋タࡢ௬᝿
໬⎔ቃࡢືྥࢆࡳࡿ࡜㐠⏝ࢸࢫࢺ࡛ Hyper-V ࡸ Xen
ࢆ฼⏝ࡍࡿࡇ࡜ࡣ࠶ࡗ࡚ࡶࠊᐇ㐠⏝ࡢ⎔ቃࡣ KVM,
____________________________________________
#
[email protected]
VMware ࡀ᥇⏝ࡉࢀ࡚࠸ࡿ࡜࠸࠺ࡇ࡜ࡀศ࠿ࡗࡓࠋ
⾲ 1: ኱ᆺᐇ㦂᪋タࡢ௬᝿໬ᢏ⾡ࡢືྥ
᪋タ
௬᝿໬ࢯࣇࢺ࢙࢘࢔
⏝㏵
J-PARC Main
Ring (᪥ᮏ)
KVM
࣭EPICS IOC
HLS
VMware vSphere 4
࣭㛤Ⓨ⎔ቃ,
(୰ᅜ)
࣭EPICS IOC
CERN (Ḣᕞ)
VMware ESXi
࣭ࢸࢫࢺ⎔ቃ
CLS
VMware ESX
࣭EPICS IOC,
(࢝ࢼࢲ)
࣭࢔ࣉࣜࢣ࣮
ࢩࣙࣥࢧ࣮ࣂ
SSRF (୰ᅜ)
VMware vSphere 4
࣭EPICS IOC
KSTAR
(㡑ᅜ)
VMware vSphere
Hypervisor
࣭࣮࢜࣌ࣞࢱ࢖
ࣥࢱ࣮ࣇ࢙࣮ࢫ
ANKA
VMware ESXi
࣭TANGO
KVM
࣭࢔ࣉࣜࢣ࣮
ࢩࣙࣥࢧ࣮ࣂ
࣭CA gateway
(ࢻ࢖ࢶ)
CERN
/LHCB
(Ḣᕞ)
3.
ࢩࢫࢸ࣒タィ
3.1
௬᝿໬ࢯࣇࢺ࢙࢘࢔
RIBF ไᚚ⣔࡟࠾ࡅࡿ௬᝿໬ࢯࣇࢺ࢙࢘࢔ࡢ㑅ᢥ
࡟㝿ࡋ࡚௨ୗࢆ⪃៖ࡋࡓࠋ
x ࢧ࣮ࣂࡢࣁ࣮ࢻ࢙࢘࢔ࣜࢯ࣮ࢫࢆຠ⋡ⓗ࡟㐠⏝
ࡉࡏࡿࠋ
x
≀⌮ࢧ࣮ࣂࡢ㞀ᐖᑐ⟇࡜ࡋ࡚ HA ⎔ቃࡣᚲ㡲ࡔ
ࡀࠊ」㞧࡞ࢡࣛࢫࢱࣜࣥࢢࡣ㐠⏝㠃ࢆ⪃៖ࡋ࡚
㑊ࡅࡿࠋ
x ࢩࢫࢸ࣒ᵓ⠏ࢥࢫࢺ๐ῶࡢⅭࠊ⌧ᅾ㐠⏝ࡋ࡚࠸
ࡿ Linux ≀⌮ࢧ࣮ࣂ࠿ࡽ௬᝿࢖࣓࣮ࢪࢆసᡂࠊ
ࢩࢫࢸ࣒ࡢࢹ࢕ࢫࢺࣜࣅ࣮ࣗࢩࣙࣥࡸኚ᭦ࢆຍ
࠼ࡎ࡟ᑐᛂࡉࡏࡿࠋ
x ࣁ࣮ࢻ࢙࢘࢔㞀ᐖⓎ⏕᫬ࢧ࣮ࣅࢫࡔࡅ࡛࡞ࡃ
OS ࡶⴠ࡜ࡉࡎ࡟ᑐᛂࡋࡓ࠸ࠋ
x ௬᝿ࢧ࣮ࣂࢆ㞟⣙ࠊ⟶⌮ྍ⬟࡞ࢶ࣮ࣝࢆ฼⏝ࠋ
x ࣋ࣥࢲ࣮࠿ࡽࢯࣇࢺ࢙࢘࢔ࢧ࣏࣮ࢺࡀཷࡅࡽࢀ
ࡿࠋ
Hyper-V ࡣࢧ࣏࣮ࢺࡋ࡚࠸ࡿࢤࢫࢺ OS ࡟⌧ᅾ฼⏝
ࡋ࡚࠸ࡿ CentOS4 ࡀྵࡲࢀ࡚࠾ࡽࡎࠊ௨ୖࡢ஦ࢆ
⪃ ៖ ࡋ ࡓ ⤖ ᯝ ࠊ ௬ ᝿ ໬ ࢯ ࣇ ࢺ ࢘ ࢙ ࢔ ࡣ VMware
vSphere 5.1 ࢆ᥇⏝ࡋࡓࠋ
3.2
ඹ᭷ࢫࢺ࣮ࣞࢪ
๓ࢩࢫࢸ࣒࡛ࡣ࢔ࢡࢸ࢕ࣈ࣭ࢫࢱࣥࣂ࢖ᵓᡂࡢ
HA-Linux ࢡࣛࢫࢱ࡛ඹ᭷ࢫࢺ࣮ࣞࢪࢆᥦ౪ࡋ࡚࠸
ࡓࠋᮏࢩࢫࢸ࣒࡟࠾ࡅࡿඹ᭷ࢫࢺ࣮ࣞࢪࡣ㧗ᛶ⬟࡛
࠿ࡘᐇ⦼[10]ࡀ࠶ࡾࠊྍ⏝ᛶࠊಙ㢗ᛶࠊಖᏲᛶࢆഛ࠼
ࡓ NAS (Network Attached Storage) ࡛࠶ࡿ NetApp
FAS2240 ࢆ᥇⏝ࡋࡓࠋᡃࠎࡢ NAS ౑⏝᪉ἲ࡛ࡣ
NFS ࡛ඹ᭷ࢫࢺ࣮ࣞࢪࢆᥦ౪ࡉࡏ࡚࠸ࡿࡓࡵࠊࣇ࢓
࢖ࣂ࣮ࢳࣕࢿ࣮ࣝ࣋ࢫࡢඹ᭷ࢫࢺ࣮ࣞࢪ࡟ẚ࡭ᑟධ
ࢥࢫࢺࢆᢚ࠼ࡿ஦ࡀ࡛ࡁࡓࠋࡲࡓࠊࢹࣗ࢔ࣝࢥࣥࢺ
࣮ࣟࣛࡢ࢔ࢡࢸ࢕ࣈ࣭࢔ࢡࢸ࢕ࣈᵓᡂ࡛ HA ࢩࢫࢸ
࣒ࢆᵓ⠏ࡋࡓⅭࠊࣜࢯ࣮ࢫࡢᥦ౪ඛ࡟ᛂࡌ࡚ࢥࣥࢺ
࣮ࣟࣛࢆ౑࠸ศࡅࡿ஦ࡀྍ⬟࡛࠶ࡾࠊᚅᶵ⣔ࡣᐇ⿦
ࡉࢀ࡞࠸ࠋࡋࡓࡀࡗ࡚ࢧ࣮ࣂࣜࢯ࣮ࢫࡢ↓㥏ࡀ࡞ࡃ
࡞ࡿࠋRIBF ไᚚࢩࢫࢸ࣒࡟࠾࠸࡚ࠊࡇࡢඹ᭷ࢫࢺ
࣮ࣞࢪࡣ EPICS ࣉࣟࢢ࣒ࣛࡸྛࢧ࣮ࣂ࡛ඹ᭷ࡉࢀࡿ
࣮ࣘࢨ㡿ᇦ࡜ VMware ࢖࣓࣮ࢪࣇ࢓࢖ࣝࢆ᱁⣡ࡍࡿ
┠ⓗ࡛฼⏝ࡉࢀࡿࠋ
3.3
ࢿࢵࢺ࣮࣡ࢡ
FAS2240 ࡛ࡣ≀⌮ࢿࢵࢺ࣮࣡ࢡ࣏࣮ࢺࡣࢥࣥࢺ
࣮ࣟࣛ࡟ࡘࡁ⟶⌮⏝࡜ࡣู࡟㸲࣏࣮ࢺഛ࠼࡚࠸ࡿࠋ
ࢿࢵࢺ࣮࣡ࢡࢺࣛࣇ࢕ࢵࢡ㔞ࢆ⪃៖ࡋࠊ௬᝿ OS ࡢ
࢖࣓࣮ࢪࣇ࢓࢖ࣝᥦ౪⏝ࢿࢵࢺ࣮࣡ࢡ࣏࣮ࢺ࡜ࡑࡢ
௚ࡢࣇ࢓࢖ࣝᥦ౪⏝ࡢࢿࢵࢺ࣮࣡ࢡ࣏࣮ࢺࢆศࡅࡿ
஦࡜ࡋࡓࠋࡑࡢ㝿ࢿࢵࢺ࣮࣡ࢡᖏᇦࡢᣑᙇ࡜෕㛗ᛶ
☜ಖࢆ┠ⓗ࡜ࡋ࡚ࠊ㸰࣏࣮ࢺࢆ᮰ࡡ࡚ㄽ⌮ⓗ࡞㸯ࡘ
ࡢ࣏࣮ࢺ࡜ࡋ࡚ᢅ࠺ᢏ⾡࡛࠶ࡿࠊࣜࣥࢡ࢔ࢢࣜࢣ࣮
ࢩࣙࣥ(LACP)࡛ᵓᡂࡋࡓࠋࡇࢀ࡟ࡼࡗ࡚ࠊᮏࢩࢫࢸ
࣒࡛ࡣ෕㛗ᛶࢆᣢࡘ㸰ࡘࡢㄽ⌮࣏࣮ࢺ࡜ࡋ࡚฼⏝ྍ
⬟࡛࠶ࡿࠋ
3.4
ࢧ࣮ࣂࣁ࣮ࢻ࢙࢘࢔
⌧᫬Ⅼ(2013/7)ᪧࢩࢫࢸ࣒࠿ࡽࡢ⛣⾜࡟క࠺௬᝿
໬ࡍ࡭ࡁ≀⌮ࢧ࣮ࣂྎᩘࡣ 10 ྎ⛬ᗘ࡛࠶ࡗࡓࠋࡉ
ࡽ࡟௒ᚋ 20~30 ྎ⛬ᗘࡢ௬᝿ࢧ࣮ࣂࡢቑຍ࡟ᑐᛂࡉ
ࡏࡿ࡭ࡃࣁ࣮ࢻ࢙࢘࢔ࡢ㑅ᐃࢆ⾜࠸ࠊࡑࡢ⤖ᯝ HP
ProLiant DL360p Gen8 ࢆ᥇⏝ࠊ≀⌮ࢧ࣮ࣂ 3 ྎࡢࢡ
ࣛࢫࢱࣜࣥࢢ࡛ᵓᡂࢆࡋࡓࠋ≀⌮ࢧ࣮ࣂࡢ௙ᵝࢆ⾲
2 ࡟♧ࡍࠋ
3.5
ࢧ࣮ࣂ⛣⾜
VMware vCenter Converter Standalone ࢆ฼⏝ࡍࡿ஦࡛
⌧ᅾືసࡋ࡚࠸ࡿ≀⌮ࢧ࣮ࣂ࠿ࡽ┤᥋௬᝿ࢧ࣮ࣂ⏝
࢖࣓࣮ࢪࣇ࢓࢖ࣝࢆసᡂࡍࡿ஦ࡀྍ⬟࡛࠶ࡿࠋࡇࢀ
࡟ࡼࡾ⡆౽࡟ࢩࢫࢸ࣒⛣⾜సᴗࡀ᏶஢ࡋࡓࠋࡲࡓࠊ
ࢩ ࢫ ࢸ ࣒ ᑑ ࿨ ࡢ ᘏ ࿨ ᑐ ⟇ ࡛ ୍ 㒊 ྂ ࠸ ࢹ ࢕ࢫ ࢺ ࣜ
ࣅ࣮ࣗࢩࣙࣥࢆ௬᝿⎔ቃ࡛ࡑࡢࡲࡲ㐠⏝ࡋ࡚࠸ࡿࠋ
࡞࠾ࠊணࡵࢸࣥࣉ࣮ࣞࢺࡢ࢖࣓࣮ࢪࣇ࢓࢖ࣝࢆసᡂ
ࡋ࡚࠾ࡃ஦࡛ࣇ࢓࢖ࣝࢥࣆ࣮ࢆࡍࡿឤぬ࡛᪂つ࣍ࢫ
ࢺࢆ㏣ຍࡍࡿ஦ࡀྍ⬟࡛࠶ࡿࡢ࡛ࠊྠࡌࢧ࣮ࣅࢫࢆ
ᥦ౪ࡍࡿࢩࢫࢸ࣒(EPICS IOC ➼)ࢆᵓ⠏ࡍࡿᡭ㛫ࡣ
┬ࡅࡿࠋ
ᅗ 1㸸ࢩࢫࢸ࣒ࡢ඲యᴫせᅗ
⾲ 2: ≀⌮ࢧ࣮ࣂ㸯ྎ࡟࠾ࡅࡿࣁ࣮ࢻ࢙࢘࢔௙ᵝ
CPU
Intel Xeon E5-2630 2.30GHz
™ 2 ࢯࢣࢵࢺ
ࢥ࢔ᩘ
12 ࢥ࢔
( Hyper threading ࡛ 24 ࢫ
ࣞࢵࢻ฼⏝ )
3.6
࣓ࣔࣜ
32G byte
HDD
146G byte (RAID 1)
ࢿࢵࢺ࣮࣡ࢡ࢔ࢲ
ࣉࢱ
Gigabit Ethernet™4
100Base-T Ethernet ™1
ࢧ࣮ࣂ⟶⌮
Windows Server 2008R ୖ࡟࢖ࣥࢫࢺ࣮ࣝࡉࢀࡓ
VMware vCenter ୖ࡛௬᝿࣍ࢫࢺࡢቑῶࡸ௬᝿ࢿࢵࢺ
࣮࣡ࢡࡢ᥋⥆࡜࠸ࡗࡓ⟶⌮ࢆ⤫ྜⓗ࡟⾜࠺ࠋ
3.7
ࣂࢵࢡ࢔ࢵࣉ
௨๓ࡢࣂࢵࢡ࢔ࢵࣉࢩࢫࢸ࣒ࡣᣦᐃࡋࡓࢩࢫࢸ࣒
ࡢࢹ࢕ࣞࢡࢺࣜࡈ࡜࡟ rsync ࡛ࢹ࣮ࢱࢆࢿࢵࢺ࣮࣡
ࢡࢥࣆ࣮ࡋ࡚࠸ࡓࠋ௒ᅇࡢࢩࢫࢸ࣒࡛ࡣ௬᝿⎔ቃ࡛
ᵓ⠏ࡉࢀࡓ௬᝿࢖࣓࣮ࢪࡣࣇ࢓࢖ࣝ࡜ࡋ࡚඲࡚ඹ᭷
ࢹ࢕ࢫࢡ࡛࠶ࡿ NetApp FAS2240 ୖ࡟᱁⣡ࡉࢀ࡚࠸
ࡿࠋࡼࡗ࡚ FAS2240 ୖ࡟᱁⣡ࡉࢀ࡚࠸ࡿ௬᝿࢖࣓࣮
ࢪࢆ඲࡚ࡶ࠺୍ࡘࡢ NAS ࡛࠶ࡿ SnapServer DX2 ࡟
ࢥࣆ࣮ࡍࡿ஦࡜ࡋࡓࠋᮏࢩࢫࢸ࣒࡟࠾ࡅࡿ ࣂࢵࢡ
࢔ࢵࣉࡢ⪃࠼᪉࡜ࡋ࡚ࡣࠊࡓ࡜࠼ⅆ⅏ࡀ㉳ࡇࡗ࡚ࡶ
ࣂࢵࢡ࢔ࢵࣉ࠿ࡽࢩࢫࢸ࣒᚟ᪧ࡛ࡁࡿ஦࡛࠶ࡿࠋ
ࡼࡗ࡚ࠊ࣓࢖ࣥࡢඹ᭷ࢹ࢕ࢫࢡ࡛࠶ࡿ FAS2240 ࢆோ
⛉グᛕᲷࡢィ⟬ᶵᐊࠊࣂࢵࢡ࢔ࢵࣉࡢඹ᭷ࢹ࢕ࢫࢡ
ࢆࣜࢽ࢔ࢵࢡᲷࡢィ⟬ᶵᐊࠊ࡜ࡑࢀࡒࢀูࡢᘓ≀࡟
タ⨨ࡍࡿ஦࡜ࡋࡓࠋ
4.
5.2 EPICS IOC
RIBF ไᚚ⣔࡟࠾࠸࡚ EPICS IOC ࡣ㔜せ࡞ࢧ࣮ࣅ
ࢫࡢ୍ࡘ࡛࠶ࡿࠋࡑࡇ࡛௬᝿⎔ቃ࡛㐠⏝ࡋ࡚࠸ࡿ
EPICS IOC ࡢ≧ἣ࡟ࡘ࠸୍࡚౛ࢆሗ࿌ࡍࡿࠋ
RIBF ไᚚ⣔࡟࠾࠸࡚ EPICS ࡛ไᚚࡉࢀ࡚࠸࡞࠸ࠊ
ࢫࢱࣥࢻ࢔ࣟࣥ࡞ไᚚࢩࢫࢸ࣒ࡢࢹ࣮ࢱࢆ⤫ྜࡍࡿ
┠ⓗ࡛ MyDAQ2[12] ࡀ࢔࣮࢝࢖ࣈࢩࢫࢸ࣒࡜ࡋ࡚᥇
⏝ࡉࢀ࡚࠸ࡿ[13]ࠋᡃࠎࡣ EPICS IOC ࡜ MySQL ࢹ࣮
ࢱ࣮࣋ࢫࢆ࢖ࣥࢱ࣮ࣇ࢙࣮ࢫࡍࡿࣉࣟࢢ࣒ࣛࢆ㛤Ⓨ
ࡋࠊMyDAQ2 ࡟ࢹ࣮ࢱࢆ᱁⣡ࡉ࠼ࡍࢀࡤ EPICS CA
࠿ࡽࢹ࣮ࢱࢆㄞࡳฟࡏࡿᶵ⬟ࢆ㏣ຍࡋࡓࠋࡼࡗ࡚ࢫ
ࢱࣥࢻ࢔ࣟࣥ࡞ไᚚࢩࢫࢸ࣒ࡢࢹ࣮ࢱࢆ EPICS ࡟࡚
⤫ྜࡍࡿ஦ࡀྍ⬟࡟࡞ࡗࡓࠋࢩࢫࢸ࣒ࡢᴫせࢆ௨ୗ
࡟♧ࡍࠋᐇ㝿ࡢࢡࣛ࢖࢔ࣥࢺ࠿ࡽࡢࢹ࣮ࢱㄞࡳฟࡋ
ࡣ EPICS IOC ࡬ࡢ㈇ⲴࢆῶࡽࡍⅭ࡟ CA gateway ⤒
⏤࡛⾜ࢃࢀ࡚࠸ࡿࠋ
ྍ⏝ᛶ
࣓ࣥࢸࢼࣥࢫࡸࣁ࣮ࢻ࢙࢘࢔㞀ᐖ࡜࠸ࡗࡓィ⏬ⓗ
࡞≀⌮ࢧ࣮ࣂࡢࢩࣕࢵࢺࢲ࢘ࣥ᫬࡟࠾࠸࡚ࡶ OS ࢆ
⥅⥆ࡋ࡚㐠⏝ࡍࡿⅭ࡟ࠊvMotion[11] ࡜࠸࠺ᶵ⬟ࡀ⏝
ពࡉࢀ࡚࠸ࡿࠋࡇࢀࡣࣛ࢖ࣈ࣐࢖ࢢ࣮ࣞࢩࣙࣥ࡜࿧
ࡤࢀ࡚࠾ࡾࠊᐇ⾜୰ࡢ௬᝿࣐ࢩࣥࢆ≀⌮ࢧ࣮ࣂ㛫࡛
⛣⾜ࡍࡿᢏ⾡࡛࠶ࡿࠋRIBF ࡛ࡣ 3 ྎࡢࢡࣛࢫࢱࣜ
ࣥࢢᵓᡂࡢⅭࠊvMotion ᫬ࡣṧࡾ 2 ྎࡢ࠺ࡕࢧ࣮ࣂ
ࣜࢯ࣮ࢫ࡟వ⿱ࡀ࠶ࡿ≀⌮ࢧ࣮ࣂ࡬௬᝿࣐ࢩࣥࢆ⛣
⾜ࡉࡏࠊࢧ࣮ࣂࡢࣃࣇ࢛࣮࣐ࣥࢫపୗࢆ㜵ࡄࠋ
5.
ྛ✀ Web ࢔ࣉࣜࢣ࣮ࢩ࡛ࣙࣥ฼⏝ࡍࡿࢹ࣮ࢱ࣮࣋
ࢫ࡟࠾࠸࡚ࡣࠊࡑࢀ࡯࡝㢖⦾࡞ࢹ࢕ࢫࢡ࢔ࢡࢭࢫࡣ
Ⓨ⏕ࡋ࡞࠸ࡢ࡛ࠊ௬᝿⎔ቃ࡛ࡢ฼⏝࡛ࡶ༑ศྍ⬟࡛
࠶ࡿ࡜⪃࠼࡚࠸ࡿࠋࡼࡗ࡚ࠊࢩࢫࢸ࣒ࡣ௬᝿⎔ቃ࡛
㐠⏝ࡋࡓࠋࡲࡓ GUI ⏝ࡢ࢔ࣉࣜࢣ࣮ࢩ࡛ࣙࣥ࠶ࡿ
MEDM/EDM ࡸ ࢔ ࣛ ࣮ ࣒ ᝟ ሗ ࢆ ⟶ ⌮ ࡍ ࡿ Alarm
Handler ➼ࢆ㉮ࡽࡏࡿ EPICS ࢔ࣉࣜࢣ࣮ࢩࣙࣥ⏝
ࢧ࣮ࣂ࡜㐠㌿ࣟࢢࢆ⾲♧ࡉࡏࡿ⏝㏵࡛฼⏝ࡉࢀ࡚࠸
ࡿ Web ࢧ࣮ࣂ࡟࠾ࡅࡿ⛣⾜‽ഛࡣ᪤࡟ᩚࡗ࡚࠾ࡾࠊ
௒ኟ࣓ࣥࢸࢼࣥࢫ᫬ᮇ࡟⛣⾜ணᐃ࡛࠶ࡿࠋ
௬᝿ࢧ࣮ࣂୖࡢ⌧⾜ࢧ࣮ࣅࢫ
5.1 ඲యᴫせ
඲యࡢࢩࢫࢸ࣒ᵓᡂࢆᅗ㸯࡟♧ࡍࠋ⌧⾜࡛⛣⾜ࡀ
᏶஢ࡋࡓࢧ࣮ࣅࢫࡣ DNS (Primary/Secondary), EPICS
IOC, EPICS CA Gateway, ࣂ ࢵ ࢡ ࢔ ࢵ ࣉ (rsync),
PostgreSQL, MySQL ࡛࠶ࡿࠋࢹ࣮ࢱ࢔࣮࢝࢖ࣂ࡛฼
⏝ࡉࢀࡿ PostgreSQL ࡣ㢖⦾࡞ࢹ࢕ࢫࢡ࢔ࢡࢭࢫࡀ
Ⓨ⏕ࡍࡿⅭࠊ௬᝿⎔ቃ࡛㐠⏝ࡍࡿ஦ࡣ㞴ࡋ࠸࡜⪃࠼
࡚࠸ࡿࠋ୍᪉ࠊCSS (Control System Studio) Alarm ࡜
ᅗ 2㸸௬᝿⎔ቃ࡛ࡢ EPICS IOC 㐠⏝౛
6.
ࡲ࡜ࡵ
VMware vSphere ࢆ⏝࠸ࡓ௬᝿⎔ቃࢆ RIBF ไᚚࢩ
ࢫࢸ࣒࡟ᑟධࡍࡿ஦࡛ྍ⏝ᛶࡔࡅ࡛࡞ࡃࠊຠ⋡ⓗ࡟
ࢧ࣮ࣂࣜࢯ࣮ࢫࢆ฼⏝ࡍࡿ஦ࡀྍ⬟࡟࡞ࡾࠊࡲࡓ⤫
ྜⓗ࡞ࢧ࣮ࣂ㐠⏝ࡸࣂࢵࢡ࢔ࢵࣉࡶྍ⬟࡟࡞ࡗࡓࠋ
㏆࠸ᑗ᮶ vMotion ᫬ࡢ EPICS ࡢᣲື࡟ࡘ࠸࡚ࠊ౛࠼
ࡤ CA ࢡࣛ࢖࢔ࣥࢺࡢ್ኚ໬ࡢ㐜ᘏࡀ࡝ࢀࡔࡅ㉳ࡇ
ࡿࡢ࠿ࠊヨ㦂ⓗ࡟ㄪᰝࡋࡓ࠸࡜⪃࠼࡚࠸ࡿࠋ
ཧ⪃ᩥ⊩
[1] A. Uchiyama, et al., Proc. 6 Annu Meet. Particle Accelerator
Society of Japan, Himeji, P.1092-1095 (2010)
[2] N. Kamikubota, et al., Proceedings of ICALEPCS2011,
Grenoble, France, P.1165-P.1167
[3] G. Liu, et al., Proceedings of ICALEPCS2011, Grenoble,
France, P.323-P.325
[4] O. Khalid, et al., Proceedings of ICALEPCS2011, Grenoble,
France, P.622-P.625
[5] E. Matias, et al., Proceedings of ICALEPCS2011, Grenoble,
France, P.454-P.457
[6] L. R. Shen, et al., Proceedings of ICALEPCS2011, Grenoble,
France, P.1138-P.1140
[7] Sangil Lee, et al., Proceedings of ICALEPCS2011, Grenoble,
France, P.694-P.697
[8] T. Spangenberg, et al., Proceedings of ICALEPCS2011,
Grenoble, France, P.749-P.751
[9] E. Bonaccorsi, et al., Proceedings of ICALEPCS2011,
Grenoble, France, P.1157-P.1160
[10] N. Kamikubota, et al., Proc. 9 Annu Meet. Particle
Accelerator Society of Japan, Osaka, P.741-744 (2012)
[11] http://www.vmware.com/
[12] T. Hirono, et al., Proceedings of the4th Annual Meeting of
Particle Accelerator Society of Japan and the 32nd Linear
Accelerator Meeting in Japan, Wako, P.154-156 (2007)
[13] M. Komiyama, et al., Proc. 8 Annu Meet. Particle
Accelerator Society of Japan, Tsukuba, P.225-229 (2011)