* さくらのVPS 980 クローズドベータ [#abc91beb]
#contents
- [[ネットワーク空間>./ネットワーク空間]]
- [[構成>./構成]]
&jinline(jinline_banner.html,b_sakura);
** 特徴 [#summary]
- コントロールパネル画面から、コンソールリダイレクションの機能が備わっており、GRUB、Linuxのコンソールが取れる
-- Firewall の設定をミスした場合や、トラブル発生時、コンソール画面を取得することが出来る。
-- ''コピペも可能''
- sit0といった、トンネルデバイスの作成が可能
-- IPv6トンネルの作成が可能
- swapファイルの作成が可能
- 生のCentOS5.5 64bit版
- KVMをつかった仮想化
- IPv4のみ
-- 59.106.172.0/23
-- ルータ(Defaultgateway)は、Brocade、VRRPを実装
-- IPv6は初期値で有効
-- IPv6トンネル作成可能
- CentOS5.5 64bit
-- LANG="C" <- 結構重要!
- ntpは本来CentOSの最小構成ではインストールされていないが、別途インストール及び設定済:)
''今後個人的に提供して貰いたい物''
- IPv6ネットワーク及びv6のDNS権限委譲
- IPv4逆引き
-- メールベースではなく申請フォームみたいなのも併せて。
- 今後FreeBSD等も対応予定とのことだが、Ubuntsu, Debian も載せて欲しいという要望もあり
- メモリ、swapの使用量も、コントロールパネルに表示して欲しい
''微妙な内容''
- anaconda のログは消しましょう
- yum レポジトリは、専用サーバと同じように設定して欲しかったな
- VPSのコンパネ
-- UIがリセットしかないので、わかりやすい表記 &br; 状況に応じて、リセット/電源ONに切り替わる若しくは各操作として、ボタンの配置を行う等
-- トラフィックログが100Mbpsが上限で表示される
** ハードウェアスペック [#hwinfo]
- Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz (2Core)
- MEM 512MB
- SWAP 2GB
- HDD 20GB
概要(仮想化環境で見えるところを抜粋)
※ qemu でエミュレートしたCPUがT7700の可能性もあるので、%%実態のCPUは分かりません。%% [[QuadCore の Xeonのようです:http://twitter.com/kunihirotanaka/status/18593480844]]。
ハードウェアについては、[[富士通のPRIMERGY:http://twitter.com/kunihirotanaka/status/18601936314]]を使用しており、現在、www101v.sakura.ne.jp 〜 www118v.sakura.ne.jp の計18台稼働していると思われます。arpを見る限り、00:22:4D 及び 00:40:D0 のOUIを確認することができ、MITAC(TYAN)のベンダを確認することが出来ます。尚、backup1v.sakura.ad.jp (59.106.172.3) はバックアップ用?でSuperMicroのOUIを確認することが出来ました。
# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz
stepping : 11
cpu MHz : 2660.156
cache size : 4096 KB
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm constant_tsc pni ssse3 lahf_lm
bogomips : 5320.31
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz
stepping : 11
cpu MHz : 2660.156
cache size : 4096 KB
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm constant_tsc pni ssse3 lahf_lm
bogomips : 5436.62
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
# uname -a
Linux www1XXXXu.sakura.ne.jp 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:08:30 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
# lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:01.2 USB Controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01)
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:02.0 VGA compatible controller: Technical Corp. Unknown device 1111
00:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 20)
# free
total used free shared buffers cached
Mem: 510532 199372 311160 0 22224 126068
-/+ buffers/cache: 51080 459452
Swap: 2048276 0 2048276
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 18G 1.7G 15G 11% /
/dev/hda1 99M 18M 77M 19% /boot
tmpfs 250M 0 250M 0% /dev/shm
# dmidecode
# dmidecode 2.10
SMBIOS 2.4 present.
11 structures occupying 308 bytes.
Table at 0x1FFFFEC0.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: Bochs
Version: Bochs
Release Date: 01/01/2007
Address: 0xE8000
Runtime Size: 96 kB
ROM Size: 64 kB
Characteristics:
BIOS characteristics not supported
Targeted content distribution is supported
BIOS Revision: 1.0
Handle 0x0100, DMI type 1, 27 bytes
System Information
Manufacturer: Bochs
Product Name: Bochs
Version: Not Specified
Serial Number: Not Specified
UUID: 6885E318-B983-4433-BBB6-D73E8BFF8CE3
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Not Specified
Handle 0x0300, DMI type 3, 20 bytes
Chassis Information
Manufacturer: Bochs
Type: Other
Lock: Not Present
Version: Not Specified
Serial Number: Not Specified
Asset Tag: Not Specified
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: Unknown
OEM Information: 0x00000000
Height: Unspecified
Number Of Power Cords: Unspecified
Handle 0x0401, DMI type 4, 32 bytes
Processor Information
Socket Designation: CPU01
Type: Central Processor
Family: Other
Manufacturer: Bochs
ID: FB 06 00 00 FD FB 8B 07
Version: Not Specified
Voltage: Unknown
External Clock: Unknown
Max Speed: 2000 MHz
Current Speed: 2000 MHz
Status: Populated, Enabled
Upgrade: Other
L1 Cache Handle: Not Provided
L2 Cache Handle: Not Provided
L3 Cache Handle: Not Provided
Handle 0x0402, DMI type 4, 32 bytes
Processor Information
Socket Designation: CPU02
Type: Central Processor
Family: Other
Manufacturer: Bochs
ID: FB 06 00 00 FD FB 8B 07
Version: Not Specified
Voltage: Unknown
External Clock: Unknown
Max Speed: 2000 MHz
Current Speed: 2000 MHz
Status: Populated, Enabled
Upgrade: Other
L1 Cache Handle: Not Provided
L2 Cache Handle: Not Provided
L3 Cache Handle: Not Provided
Handle 0x1000, DMI type 16, 15 bytes
Physical Memory Array
Location: Other
Use: System Memory
Error Correction Type: Multi-bit ECC
Maximum Capacity: 512 MB
Error Information Handle: Not Provided
Number Of Devices: 1
Handle 0x1100, DMI type 17, 21 bytes
Memory Device
Array Handle: 0x1000
Error Information Handle: 0x0000
Total Width: 64 bits
Data Width: 64 bits
Size: 512 MB
Form Factor: DIMM
Set: None
Locator: DIMM 0
Bank Locator: Not Specified
Type: RAM
Type Detail: None
Handle 0x1300, DMI type 19, 15 bytes
Memory Array Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x0001FFFFFFF
Range Size: 512 MB
Physical Array Handle: 0x1000
Partition Width: 0
Handle 0x1400, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x0001FFFFFFF
Range Size: 512 MB
Physical Device Handle: 0x1100
Memory Array Mapped Address Handle: 0x1300
Partition Row Position: 1
Handle 0x2000, DMI type 32, 11 bytes
System Boot Information
Status: No errors detected
Handle 0x7F00, DMI type 127, 4 bytes
End Of Table
** dmesg [#dmesg]
#ref(VPS980_dmesg.txt)
** FS概要 [#fs]
ブロックサイズは1024kb
# dumpe2fs /dev/hda1
dumpe2fs 1.39 (29-May-2006)
Filesystem volume name: /boot
Last mounted on: <not available>
Filesystem UUID: 3c9b4e4e-b8f0-49f4-b955-XXX
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery sparse_super
Default mount options: user_xattr acl
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 26104
Block count: 104388
Reserved block count: 5219
Free blocks: 83241
Free inodes: 26063
First block: 1
Block size: 1024
Fragment size: 1024
Reserved GDT blocks: 256
Blocks per group: 8192
Fragments per group: 8192
Inodes per group: 2008
Inode blocks per group: 251
Filesystem created: Thu Jun 17 20:37:36 2010
Last mount time: Thu Jul 15 17:42:36 2010
Last write time: Thu Jul 15 17:42:36 2010
Maximum mount count: -1
Last checked: Thu Jun 17 20:37:36 2010
Check interval: 0 (<none>)
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 128
Journal inode: 8
Default directory hash: tea
Directory Hash Seed: af340c30-3a87-4954-80fd-3dbf6b9203e6
Journal backup: inode blocks
Journal size: 4114k
Group 0: (Blocks 1-8192)
Primary superblock at 1, Group descriptors at 2-2
Reserved GDT blocks at 3-258
Block bitmap at 259 (+258), Inode bitmap at 260 (+259)
Inode table at 261-511 (+260)
0 free blocks, 1988 free inodes, 2 directories
Free blocks:
Free inodes: 21-2008
Group 1: (Blocks 8193-16384)
Backup superblock at 8193, Group descriptors at 8194-8194
Reserved GDT blocks at 8195-8450
Block bitmap at 8451 (+258), Inode bitmap at 8452 (+259)
Inode table at 8453-8703 (+260)
4002 free blocks, 2008 free inodes, 0 directories
Free blocks: 12383-16384
Free inodes: 2009-4016
Group 2: (Blocks 16385-24576)
Block bitmap at 16385 (+0), Inode bitmap at 16386 (+1)
Inode table at 16387-16637 (+2)
7939 free blocks, 2008 free inodes, 0 directories
Free blocks: 16638-24576
Free inodes: 4017-6024
Group 3: (Blocks 24577-32768)
Backup superblock at 24577, Group descriptors at 24578-24578
Reserved GDT blocks at 24579-24834
Block bitmap at 24835 (+258), Inode bitmap at 24836 (+259)
Inode table at 24837-25087 (+260)
2837 free blocks, 1987 free inodes, 1 directories
Free blocks: 25102-25600, 25610-26624, 28163-28168, 28730, 28836-28840, 28898-29184, 29193-29696, 29705-30208, 30216,
30728, 31242-31248, 31752, 32267-32272
Free inodes: 6027, 6047-8032
Group 4: (Blocks 32769-40960)
Block bitmap at 32769 (+0), Inode bitmap at 32770 (+1)
Inode table at 32771-33021 (+2)
7834 free blocks, 2008 free inodes, 0 directories
Free blocks: 33022-33024, 33130-40960
Free inodes: 8033-10040
Group 5: (Blocks 40961-49152)
Backup superblock at 40961, Group descriptors at 40962-40962
Reserved GDT blocks at 40963-41218
Block bitmap at 41219 (+258), Inode bitmap at 41220 (+259)
Inode table at 41221-41471 (+260)
7681 free blocks, 2008 free inodes, 0 directories
Free blocks: 41472-49152
Free inodes: 10041-12048
Group 6: (Blocks 49153-57344)
Block bitmap at 49153 (+0), Inode bitmap at 49154 (+1)
Inode table at 49155-49405 (+2)
7939 free blocks, 2008 free inodes, 0 directories
Free blocks: 49406-57344
Free inodes: 12049-14056
Group 7: (Blocks 57345-65536)
Backup superblock at 57345, Group descriptors at 57346-57346
Reserved GDT blocks at 57347-57602
Block bitmap at 57603 (+258), Inode bitmap at 57604 (+259)
Inode table at 57605-57855 (+260)
7681 free blocks, 2008 free inodes, 0 directories
Free blocks: 57856-65536
Free inodes: 14057-16064
Group 8: (Blocks 65537-73728)
Block bitmap at 65537 (+0), Inode bitmap at 65538 (+1)
Inode table at 65539-65789 (+2)
7939 free blocks, 2008 free inodes, 0 directories
Free blocks: 65790-73728
Free inodes: 16065-18072
Group 9: (Blocks 73729-81920)
Backup superblock at 73729, Group descriptors at 73730-73730
Reserved GDT blocks at 73731-73986
Block bitmap at 73987 (+258), Inode bitmap at 73988 (+259)
Inode table at 73989-74239 (+260)
7681 free blocks, 2008 free inodes, 0 directories
Free blocks: 74240-81920
Free inodes: 18073-20080
Group 10: (Blocks 81921-90112)
Block bitmap at 81921 (+0), Inode bitmap at 81922 (+1)
Inode table at 81923-82173 (+2)
7939 free blocks, 2008 free inodes, 0 directories
Free blocks: 82174-90112
Free inodes: 20081-22088
Group 11: (Blocks 90113-98304)
Block bitmap at 90113 (+0), Inode bitmap at 90114 (+1)
Inode table at 90115-90365 (+2)
7939 free blocks, 2008 free inodes, 0 directories
Free blocks: 90366-98304
Free inodes: 22089-24096
Group 12: (Blocks 98305-104387)
Block bitmap at 98305 (+0), Inode bitmap at 98306 (+1)
Inode table at 98307-98557 (+2)
5830 free blocks, 2008 free inodes, 0 directories
Free blocks: 98558-104387
Free inodes: 24097-26104
** プロセス一覧 [#process]
# ps auxww
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.6 0.1 10348 688 ? Ss 17:42 0:00 init [3]
root 2 0.0 0.0 0 0 ? S< 17:42 0:00 [migration/0]
root 3 0.0 0.0 0 0 ? SN 17:42 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S< 17:42 0:00 [watchdog/0]
root 5 0.0 0.0 0 0 ? S< 17:42 0:00 [migration/1]
root 6 0.0 0.0 0 0 ? SN 17:42 0:00 [ksoftirqd/1]
root 7 0.0 0.0 0 0 ? S< 17:42 0:00 [watchdog/1]
root 8 0.0 0.0 0 0 ? S< 17:42 0:00 [events/0]
root 9 0.0 0.0 0 0 ? S< 17:42 0:00 [events/1]
root 10 0.0 0.0 0 0 ? S< 17:42 0:00 [khelper]
root 15 0.0 0.0 0 0 ? S< 17:42 0:00 [kthread]
root 20 0.0 0.0 0 0 ? S< 17:42 0:00 [kblockd/0]
root 21 0.0 0.0 0 0 ? S< 17:42 0:00 [kblockd/1]
root 22 0.0 0.0 0 0 ? S< 17:42 0:00 [kacpid]
root 90 0.0 0.0 0 0 ? S< 17:42 0:00 [cqueue/0]
root 91 0.0 0.0 0 0 ? S< 17:42 0:00 [cqueue/1]
root 94 0.0 0.0 0 0 ? S< 17:42 0:00 [khubd]
root 96 0.0 0.0 0 0 ? S< 17:42 0:00 [kseriod]
root 168 0.0 0.0 0 0 ? S 17:42 0:00 [khungtaskd]
root 169 0.0 0.0 0 0 ? S 17:42 0:00 [pdflush]
root 170 0.0 0.0 0 0 ? S 17:42 0:00 [pdflush]
root 171 0.0 0.0 0 0 ? S< 17:42 0:00 [kswapd0]
root 172 0.0 0.0 0 0 ? S< 17:42 0:00 [aio/0]
root 173 0.0 0.0 0 0 ? S< 17:42 0:00 [aio/1]
root 318 0.0 0.0 0 0 ? S< 17:42 0:00 [kpsmoused]
root 349 0.0 0.0 0 0 ? S< 17:42 0:00 [ata/0]
root 350 0.0 0.0 0 0 ? S< 17:42 0:00 [ata/1]
root 351 0.0 0.0 0 0 ? S< 17:42 0:00 [ata_aux]
root 361 0.0 0.0 0 0 ? S< 17:42 0:00 [kstriped]
root 374 0.1 0.0 0 0 ? S< 17:42 0:00 [kjournald]
root 395 0.0 0.0 0 0 ? S< 17:42 0:00 [kauditd]
root 423 0.1 0.1 12604 756 ? S<s 17:42 0:00 /sbin/udevd -d
root 1046 0.0 0.0 0 0 ? S< 17:42 0:00 [kmpathd/0]
root 1047 0.0 0.0 0 0 ? S< 17:42 0:00 [kmpathd/1]
root 1048 0.0 0.0 0 0 ? S< 17:42 0:00 [kmpath_handlerd]
root 1113 0.0 0.0 0 0 ? S< 17:42 0:00 [kjournald]
root 1343 0.0 0.1 5908 612 ? Ss 17:42 0:00 syslogd -m 0
root 1347 0.0 0.0 3804 424 ? Ss 17:42 0:00 klogd -x
dbus 1407 0.0 0.1 21256 912 ? Ss 17:42 0:00 dbus-daemon --system
root 1416 0.0 0.1 3800 572 ? Ss 17:42 0:00 /usr/sbin/acpid
68 1424 0.5 0.7 30600 3656 ? Ss 17:42 0:00 hald
root 1425 0.0 0.2 21692 1060 ? S 17:42 0:00 hald-runner
68 1432 0.0 0.1 12324 844 ? S 17:42 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
68 1437 0.0 0.1 12324 848 ? S 17:42 0:00 hald-addon-keyboard: listening on /dev/input/event0
root 1446 0.1 0.1 10228 680 ? S 17:42 0:00 hald-addon-storage: polling /dev/hdc
root 1473 0.0 0.2 62624 1204 ? Ss 17:42 0:00 /usr/sbin/sshd
ntp 1486 0.0 0.9 23388 5028 ? SLs 17:42 0:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g
root 1505 0.0 0.4 69500 2092 ? Ss 17:42 0:00 sendmail: accepting connections
smmsp 1513 0.0 0.3 59756 1784 ? Ss 17:42 0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root 1527 0.0 0.2 19708 1148 ? Ss 17:42 0:00 crond
root 1548 0.0 0.0 18732 456 ? Ss 17:42 0:00 /usr/sbin/atd
root 1571 0.0 0.0 3792 484 tty1 Ss+ 17:42 0:00 /sbin/mingetty tty1
root 1572 0.0 0.0 3792 480 tty2 Ss+ 17:42 0:00 /sbin/mingetty tty2
root 1575 0.0 0.0 3792 480 tty3 Ss+ 17:42 0:00 /sbin/mingetty tty3
root 1577 0.0 0.0 3792 480 tty4 Ss+ 17:42 0:00 /sbin/mingetty tty4
root 1580 0.0 0.0 3792 484 tty5 Ss+ 17:42 0:00 /sbin/mingetty tty5
root 1583 0.0 0.0 3792 484 tty6 Ss+ 17:42 0:00 /sbin/mingetty tty6
root 1585 0.0 0.2 52108 1328 ? Ss 17:42 0:00 login -- root
root 1658 0.0 3.0 201820 15664 ? SN 17:42 0:00 /usr/bin/python -tt /usr/sbin/yum-updatesd
root 1660 0.0 0.2 12916 1084 ? SN 17:42 0:00 /usr/libexec/gam_server
root 1661 0.0 0.7 90124 3576 ? Ss 17:42 0:00 sshd: tomo [priv]
tomo 1663 0.1 0.3 90124 1820 ? S 17:42 0:00 sshd: tomo@pts/0
tomo 1664 0.0 0.2 70276 1516 pts/0 Ss 17:42 0:00 -bash
root 1684 0.0 0.2 105384 1468 pts/0 S 17:42 0:00 su -
root 1685 0.0 0.2 10932 1448 pts/0 S 17:42 0:00 -bash
root 1712 0.1 0.2 10928 1440 ttyS0 Ss+ 17:43 0:00 -bash
root 1737 0.0 0.1 10460 856 pts/0 R+ 17:43 0:00 ps auxww
** VPSコントロールパネルのシリアル実現方法 [#vps_serial]
KVMの仮想シリアルを使用し、転送、115200bpsらしい。
/etc/inittab
-----
co:12345:respawn:/sbin/agetty -h 115200 ttyS0 vt100
と記述し、シリアルコンソールを実現している。
/boot/grub/menu.lst
-----
default=0
timeout=5
#splashimage=(hd0,0)/grub/splash.xpm.gz
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
terminal --timeout=10 serial console
hiddenmenu
title CentOS (2.6.18-194.8.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.8.1.el5 ro root=LABEL=/ console=tty0 console=ttyS0,115200n8r
initrd /initrd-2.6.18-194.8.1.el5.img
title CentOS (2.6.18-194.3.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.3.1.el5 ro root=LABEL=/ console=tty0 console=ttyS0,115200n8r
initrd /initrd-2.6.18-194.3.1.el5.img
** swap の作成 [#swap]
# dd if=/dev/zero of=/home/swapfile bs=1024k count=512
512+0 records in
512+0 records out
536870912 bytes (537 MB) copied, 4.63565 seconds, 116 MB/s
# mkswap /home/swapfile
Setting up swapspace version 1, size = 536866 kB
# swapon /home/swapfile
# free
total used free shared buffers cached
Mem: 510532 494296 16236 0 1816 433524
-/+ buffers/cache: 58956 451576
Swap: 2572556 84 2572472
** 各種環境 [#env]
*** LANG [#lang]
$ cat /etc/sysconfig/i18n
LANG="C"
SYSFONT="latarcyrheb-sun16"
LANG=C とは、芸が細かく助かる。
*** レポジトリ [#repository]
SAKURAは確か、出荷時にSAKURAのレポジトリを使用するように出荷されていたケースが多かったのですが、今回はその設定はされていませんでした。クローズベータテストだからでしょうか。
$ cat /etc/yum.repos.d/CentOS-Base.repo
---
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
-- snip --
*** ntp [#mb9f16d5]
# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
+ntp1.sakura.ad. .GPS. 1 u 157 1024 377 0.866 0.587 0.080
# grep server /etc/ntp.conf
server ntp1.sakura.ad.jp
> http://twitter.com/jq6xze/status/18673881866
> もちろんntp.sakuraも時刻の精度(誤差1ms以下)と安全性を高めるために、GPS以外にも15個の他組織のNTPサーバを参照しています。GPSの同軸ケーブルが切れてもずれることは無いので安心を(^^) RT
> http://twitter.com/jq6xze/status/18961894988
> GPSが途絶えると、stratum2 or 3になります(笑)
** ネットワーク周り [#x74563b6]
*** IPアドレス [#ipaddress]
# ifconfig -a
eth0 Link encap:Ethernet HWaddr 52:54:00:00:10:50
inet addr:59.106.172.XXX Bcast:59.106.173.255 Mask:255.255.254.0
inet6 addr: fe80::5054:ff:fe00:XXXX/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19614 errors:0 dropped:1634 overruns:0 frame:0
TX packets:1173 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:957846 (935.3 KiB) TX bytes:197118 (192.4 KiB)
Interrupt:10 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
サブネットが、/23 となっているので、512台ほど詰めれることが出来る。
少なくとも今回、/23を着ると言うことは、モニタについては、256台を超えるという事が考えられる。~
現在の申込みは300を超えたそうだ(15日 18:00頃の情報)
*** ルータ [#router_vrrp]
# tcpdump -i eth0 not src port 22 and not dst port 22
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
IP 59.106.172.1 > VRRP.MCAST.NET: VRRPv2, Advertisement, vrid 111, prio 255, authtype simple, intvl 1s, length 20
ゲートウェイのルータはVRRPで実装。
# /sbin/arp -a
-----
? (59.106.172.1) at 00:00:5E:00:01:6F [ether] on eth0
? (59.106.172.2) at 00:04:80:EC:CB:24 [ether] on eth0
172.1 はVRRPなので、実態アドレスではないため、実態と思われる172.2 のIPを見ると、
000480 (base 16) Brocade Communications Systems, Inc
となっていることから、ルータはBrocadeを使用されていると思われる。
*** ping6 [#ping6]
# ping6 -I eth0 ff02::1
PING ff02::1(ff02::1) from fe80::5054:ff:fe00:1050 eth0: 56 data bytes
64 bytes from fe80::5054:ff:fe00:1001: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1002: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1009: icmp_seq=0 ttl=64 time=24.7 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1010: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1013: icmp_seq=0 ttl=64 time=25.9 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1026: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1027: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1029: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1030: icmp_seq=0 ttl=64 time=25.5 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1031: icmp_seq=0 ttl=64 time=25.1 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1035: icmp_seq=0 ttl=64 time=24.5 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1036: icmp_seq=0 ttl=64 time=25.1 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1049: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1050: icmp_seq=0 ttl=64 time=26.5 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1052: icmp_seq=0 ttl=64 time=21.7 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1054: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1055: icmp_seq=0 ttl=64 time=24.7 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1056: icmp_seq=0 ttl=64 time=25.1 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1057: icmp_seq=0 ttl=64 time=25.9 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1060: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1073: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1079: icmp_seq=0 ttl=64 time=25.1 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1080: icmp_seq=0 ttl=64 time=25.1 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1083: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1098: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1099: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1101: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1105: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1107: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1129: icmp_seq=0 ttl=64 time=25.9 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1146: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1152: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1156: icmp_seq=0 ttl=64 time=25.7 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1172: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1173: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1174: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1176: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1179: icmp_seq=0 ttl=64 time=25.9 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1193: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1194: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1195: icmp_seq=0 ttl=64 time=24.5 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1200: icmp_seq=0 ttl=64 time=25.9 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1201: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1217: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1220: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1221: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1223: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1224: icmp_seq=0 ttl=64 time=25.1 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1225: icmp_seq=0 ttl=64 time=26.6 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1241: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1242: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1247: icmp_seq=0 ttl=64 time=24.7 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1249: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1250: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1252: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1266: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1271: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1272: icmp_seq=0 ttl=64 time=25.8 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1275: icmp_seq=0 ttl=64 time=25.1 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1289: icmp_seq=0 ttl=64 time=25.5 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1290: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1298: icmp_seq=0 ttl=64 time=24.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1313: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
64 bytes from fe80::5054:ff:fe00:1314: icmp_seq=0 ttl=64 time=26.0 ms (DUP!)
見ての通り、MacAddressの最後の4桁及びホスト名が一致しており、且つ、最後にuという名前がついている。
上記の事から、
fe80::5054:ff:fe00:1001: www1001u.sakura.ne.jp
fe80::5054:ff:fe00:1002: www1002u.sakura.ne.jp
fe80::5054:ff:fe00:1009: www1009u.sakura.ne.jp
…
というのが分かり、更にnslookupすれば、v4アドレスも分かる。~
って、v6は現時点でデフォルトで提供されていないので、NETWORKING_IPV6=no にしたらいいのに、と思った。~
若しくは一意性の無い名前など。
*** 6to4 [#v7dcbfac]
# traceroute 192.88.99.1
traceroute to 192.88.99.1 (192.88.99.1), 30 hops max, 40 byte packets
1 59.106.172.1 (59.106.172.1) 5.247 ms 4.902 ms 4.642 ms
2 tkgrt1b-grt5e.bb.sakura.ad.jp (59.106.248.189) 4.709 ms 5.053 ms 6.119 ms
3 tkort2-grt1b.bb.sakura.ad.jp (59.106.250.249) 3.931 ms 3.741 ms 3.491 ms
4 tkcrt2-ort2.bb.sakura.ad.jp (59.106.251.6) 3.283 ms 3.106 ms 2.887 ms
5 210.173.176.64 (210.173.176.64) 2.613 ms 2.437 ms 2.227 ms
6 192.88.99.1 (192.88.99.1) 1.920 ms 1.821 ms 1.308 ms
SAKURAなので、tokyo6to4に接続。MFEED経由なんですね。
** 適当にベンチマーク [#bench]
*** DISKIO [#iobench]
# dd if=/test of=/dev/null bs=1024k
10615675688 bytes (11 GB) copied, 97.5801 seconds, 109 MB/s
やればやるほど、キャッシュに乗ってしまいだめぽ。
# hdparm -t /dev/hda2
/dev/hda2:
Timing buffered disk reads: 838 MB in 3.01 seconds = 278.16 MB/sec
# hdparm -t /dev/hda2
/dev/hda2:
Timing buffered disk reads: 960 MB in 3.01 seconds = 318.70 MB/sec
# hdparm -t /dev/hda2
/dev/hda2:
Timing buffered disk reads: 1084 MB in 3.00 seconds = 360.86 MB/sec
# hdparm -t /dev/hda2
/dev/hda2:
Timing buffered disk reads: 1154 MB in 3.01 seconds = 383.30 MB/sec
*** ネットワークベンチ [#networkbench]
[SUM] 0.0-620.0 sec 20.7 GBytes 287 Mbits/sec
現在、300Mbps程度でるが、サービスインには、帯域制限をかけて、1VM100Mbpsまでに絞るとのこと。
恐らく、Virt-IO であれば、もっとパフォーマンス出たのではないかと思われる。~
尚NICドライバはRealtec 8139であり、100Mbpsの筈なのに...
** コントロールパネル [#controlpanes]
#ref(VPS980_HOME.png)
コンソールがつかめるため、Firewallの設定をしくった、という対応が出来る。~
また、GRUBの画面も、コンソールリダイレクションの設定がされており、細かい。
#ref(VPS980_CONSOLE.png)
コピペも出来ました!!
#ref(VPS980_CONSOLE2.png)
#ref(VPS980_GRUB.png)
~
#ref(VPS980_GRUB2.png)
~
#ref(VPS980_REINSTALL.png)
* 関連リンク [#p40aa812]
- [[さくらのVPS OSセットアップ情報:http://support.sakura.ad.jp/support/vps/tips_ossetup.shtml]]
- [[さくらのVPS 無料クローズドベータ版:http://memo.masa23.info/index.php?%A4%B5%A4%AF%A4%E9%A4%CEVPS%20%CC%B5%CE%C1%A5%AF%A5%ED%A1%BC%A5%BA%A5%C9%A5%D9%A1%BC%A5%BF%C8%C7]]
- [[さくらのVPSを Debian GNU/Linux にする:http://www.touki.info/howto/howtoSakuraDebian.html]]
- [[さくらのVPSでWindowsXPをネイティブに動かしてみた。:http://memo.masa23.info/index.php?%A4%B5%A4%AF%A4%E9%A4%CEVPS%A4%C7WindowsXP%A4%F2%A5%CD%A5%A4%A5%C6%A5%A3%A5%D6%A4%CB%C6%B0%A4%AB%A4%B7%A4%C6%A4%DF%A4%BF%A1%A3]]
&jinline(jinline_banner.html,b_sakura);
* コメント [#z4f2f6fc]
- 他のOSを載せる件ですが、debianは入れることができました。 http://www.touki.info/howto/howtoSakuraDebian.html -- [[stat]] &new{2010-07-19 (月) 16:28:49};
- うまくやると、FreeBSDとかもいけそうですね! -- [[tomocha]] &new{2010-07-20 (火) 11:42:44};
#COMMENT
-----
添付ファイル:
VPS980_dmesg.txt 537件
[詳細]
VPS980_GRUB2.png 398件
[詳細]
VPS980_GRUB.png 396件
[詳細]
VPS980_CONSOLE.png 434件
[詳細]
VPS980_CONSOLE2.png 381件
[詳細]
VPS980_REINSTALL.png 393件
[詳細]
VPS980_HOME.png 429件
[詳細]