~nabeken/diary/

Gentoo Linux(6年くらい)とFreeBSD(1年くらい)とOpenBSD(新参者)を使う日々。


IHANet BGP peering overview

ServersMan@VPS開通

Posted on Tue Apr 13 22:10:08 +0900 2010 by nabeken

4/1から申し込み開始したServersMan@VPSが開通したので、どんなものかさらっとお伝えします。

OS

# cat /etc/redhat-release
CentOS release 5.4 (Final)

あと、ifconfigを見るかぎりVZ系のようです。

# /sbin/ifconfig
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:24 errors:0 dropped:0 overruns:0 frame:0
	  TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
	  collisions:0 txqueuelen:0 
	  RX bytes:2556 (2.4 KiB)  TX bytes:2556 (2.4 KiB)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
	  inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255
	  inet6 addr: 2001:2e8:602:0:2:1:0:f2/128 Scope:Global
	  UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
	  RX packets:45421 errors:0 dropped:0 overruns:0 frame:0
	  TX packets:41160 errors:0 dropped:0 overruns:0 carrier:0
	  collisions:0 txqueuelen:0 
	  RX bytes:27033565 (25.7 MiB)  TX bytes:5112069 (4.8 MiB)

venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
	  inet addr:183.181.168.242  P-t-P:183.181.168.242  Bcast:183.181.168.242  Mask:255.255.255.255
	  UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

アドレスはあえて伏せないので、pingやらtracerouteで調べてみてください。

disk

初期状態からyum update後の状態。

# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/simfs             10G  567M  9.5G   6% /
none                  128M  4.0K  128M   1% /dev

process

# ps axf
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:02 init [3]      
 9299 ?        S<s    0:00 /sbin/udevd -d
 9817 ?        Ss     0:00 syslogd -m 0
 9857 ?        Ss     0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
11294 ?        Ss     0:03 sendmail: accepting connections
11321 ?        Ss     0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
11366 ?        Ss     0:00 /usr/sbin/httpd
11370 ?        S      0:00  \_ /usr/sbin/httpd
39955 ?        S      0:00  \_ /usr/sbin/httpd
40400 ?        S      0:00  \_ /usr/sbin/httpd
40401 ?        S      0:00  \_ /usr/sbin/httpd
42026 ?        S      0:00  \_ /usr/sbin/httpd
11390 ?        Ss     0:00 crond
44829 ?        Ss     0:00 SCREEN
44830 pts/1    Ss     0:00  \_ /bin/bash
34342 pts/1    S+     0:00      \_ less
34136 ?        Ss     0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2
34137 ?        S      0:00  \_ /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2
46577 ?        Ss     0:00 /usr/sbin/sshd
46611 ?        Ss     0:00  \_ sshd: nabeken [priv]
46613 ?        S      0:00      \_ sshd: nabeken@pts/0
46614 pts/0    Ss+    0:00          \_ -bash
50229 ?        Rs     0:00          \_ ps axf

ちゃんと最小限の状態なのがとてもよいと思います。

network

$ wget http://ftp.iij.ad.jp/pub/linux/gentoo/releases/amd64/current-iso/install-amd64-minimal-20100408.iso
--2010-04-13 21:55:11--  http://ftp.iij.ad.jp/pub/linux/gentoo/releases/amd64/current-iso/install-amd64-minimal-20100408.iso
Resolving ftp.iij.ad.jp... 202.232.140.136, 202.232.140.135, 202.232.140.139, ...
Connecting to ftp.iij.ad.jp|202.232.140.136|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 119545856 (114M) [application/octet-stream]
Saving to: `install-amd64-minimal-20100408.iso'

100%[=======================================================================================>] 119,545,856 8.85M/s   in 14s

2010-04-13 21:55:25 (8.34 MB/s) - `install-amd64-minimal-20100408.iso' saved [119545856/119545856]

早いですね。v6版。

$ wget http://ftp.iij.ad.jp/pub/linux/gentoo/releases/amd64/current-iso/install-amd64-minimal-20100408.iso --prefer=IPv6
--2010-04-13 21:56:07--  http://ftp.iij.ad.jp/pub/linux/gentoo/releases/amd64/current-iso/install-amd64-minimal-20100408.iso
Resolving ftp.iij.ad.jp... 2001:240:bb8f::f:0, 2001:240:bb8f::f:11, 2001:240:bb8f::f:10, ...
Connecting to ftp.iij.ad.jp|2001:240:bb8f::f:0|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 119545856 (114M) [application/octet-stream]
Saving to: `install-amd64-minimal-20100408.iso.1'

100%[=======================================================================================>] 119,545,856 6.28M/s   in 19s

2010-04-13 21:56:26 (6.13 MB/s) - `install-amd64-minimal-20100408.iso.1' saved [119545856/119545856]

start, stop, restart

rebootコマンドでは再起動されません。起動、停止、再起動はMyDTIからログイン後、「契約中サービス」→「確認/変更」から行います。