忍者ブログ
株のポジショントレード(数週間~数ヵ月)、ブックビルディングの記録。でしたが、今はoracleの備忘録。
2025-061 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 prev 05 next 07
60  59  58  57  56  55  54  53  52  51  50 
×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。

haichi_20091123.jpg







【1号機のNW設定内容】
[root@db01 ~]# date
2009年 11月 21日 土曜日 23:54:13 JST
[root@db01 ~]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=db01.orbital
[root@db01 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Intel Corporation 82571EB Gigabit Ethernet Controller
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=(MACアドレスは一応ふせとく)
IPADDR=dhcp
ONBOOT=yes
[root@db01 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
# Intel Corporation 82571EB Gigabit Ethernet Controller
DEVICE=eth1
BOOTPROTO=static
HWADDR=(MACアドレスは一応ふせとく)
IPADDR=192.168.131.1
NETMASK=255.255.255.0
NETWORK=192.168.131.0
ONBOOT=yes
[root@db01 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth2
# Intel Corporation 82566DM-2 Gigabit Network Connection
DEVICE=eth2
BOOTPROTO=static
HWADDR=(MACアドレスは一応ふせとく)
IPADDR=192.168.132.1
NETMASK=255.255.255.0
NETWORK=192.168.132.0
ONBOOT=yes
[root@db01 ~]# cat /etc/resolv.conf

[root@db01 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
::1                     localhost6.localdomain6 localhost6
192.168.131.1           db01.orbital db01
192.168.132.1           db01.orbital db01
[root@db01 ~]# hostname
db01.orbital
[root@db01 ~]#

【1号機の設定確認】
[root@db01 ~]# ping 192.168.131.1
PING 192.168.131.1 (192.168.131.1) 56(84) bytes of data.
64 bytes from 192.168.131.1: icmp_seq=1 ttl=64 time=0.024 ms
64 bytes from 192.168.131.1: icmp_seq=2 ttl=64 time=0.012 ms
64 bytes from 192.168.131.1: icmp_seq=3 ttl=64 time=0.012 ms
64 bytes from 192.168.131.1: icmp_seq=4 ttl=64 time=0.013 ms

--- 192.168.131.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.012/0.015/0.024/0.005 ms
[root@db01 ~]# ping 192.168.131.2
PING 192.168.131.2 (192.168.131.2) 56(84) bytes of data.
64 bytes from 192.168.131.2: icmp_seq=1 ttl=64 time=1.75 ms
64 bytes from 192.168.131.2: icmp_seq=2 ttl=64 time=0.110 ms
64 bytes from 192.168.131.2: icmp_seq=3 ttl=64 time=0.119 ms
64 bytes from 192.168.131.2: icmp_seq=4 ttl=64 time=0.074 ms

--- 192.168.131.2 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.074/0.513/1.751/0.715 ms
[root@db01 ~]# ping 192.168.132.1
PING 192.168.132.1 (192.168.132.1) 56(84) bytes of data.
64 bytes from 192.168.132.1: icmp_seq=1 ttl=64 time=0.024 ms
64 bytes from 192.168.132.1: icmp_seq=2 ttl=64 time=0.018 ms
64 bytes from 192.168.132.1: icmp_seq=3 ttl=64 time=0.021 ms
64 bytes from 192.168.132.1: icmp_seq=4 ttl=64 time=0.027 ms

--- 192.168.132.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.018/0.022/0.027/0.005 ms
[root@db01 ~]# ping 192.168.132.2
PING 192.168.132.2 (192.168.132.2) 56(84) bytes of data.
64 bytes from 192.168.132.2: icmp_seq=1 ttl=64 time=1.25 ms
64 bytes from 192.168.132.2: icmp_seq=2 ttl=64 time=0.123 ms
64 bytes from 192.168.132.2: icmp_seq=3 ttl=64 time=0.125 ms
64 bytes from 192.168.132.2: icmp_seq=4 ttl=64 time=0.125 ms

--- 192.168.132.2 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.123/0.407/1.258/0.491 ms
[root@db01 ~]#

【2号機のNW設定内容】
[root@db02 ~]# date
2009年 11月 21日 土曜日 23:57:41 JST
[root@db02 ~]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=db02.orbital
[root@db02 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Intel Corporation 82546GB Gigabit Ethernet Controller
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=(MACアドレスは一応ふせとく)
IPADDR=dhcp
ONBOOT=yes
[root@db02 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
# Intel Corporation 82546GB Gigabit Ethernet Controller
DEVICE=eth1
BOOTPROTO=static
HWADDR=(MACアドレスは一応ふせとく)
IPADDR=192.168.131.2
NETMASK=255.255.255.0
NETWORK=192.168.131.0
ONBOOT=yes
[root@db02 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth2
# Intel Corporation 82566DM-2 Gigabit Network Connection
DEVICE=eth2
BOOTPROTO=static
HWADDR=(MACアドレスは一応ふせとく)
IPADDR=192.168.132.2
NETMASK=255.255.255.0
NETWORK=192.168.132.0
ONBOOT=yes
[root@db02 ~]# cat /etc/resolv.conf
# Generated by NetworkManager


# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
search orbital
[root@db02 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
::1                     localhost6.localdomain6 localhost6
192.168.131.2           db02.orbital db02
192.168.132.2           db02.orbital db02
[root@db02 ~]# hostname
db02.orbital
[root@db02 ~]#

【2号機の設定確認】
[root@db02 ~]# ping 192.168.131.1
PING 192.168.131.1 (192.168.131.1) 56(84) bytes of data.
64 bytes from 192.168.131.1: icmp_seq=1 ttl=64 time=1.94 ms
64 bytes from 192.168.131.1: icmp_seq=2 ttl=64 time=0.103 ms
64 bytes from 192.168.131.1: icmp_seq=3 ttl=64 time=0.108 ms
64 bytes from 192.168.131.1: icmp_seq=4 ttl=64 time=0.061 ms

--- 192.168.131.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3001ms
rtt min/avg/max/mdev = 0.061/0.555/1.948/0.804 ms
[root@db02 ~]# ping 192.168.131.2
PING 192.168.131.2 (192.168.131.2) 56(84) bytes of data.
64 bytes from 192.168.131.2: icmp_seq=1 ttl=64 time=0.019 ms
64 bytes from 192.168.131.2: icmp_seq=2 ttl=64 time=0.012 ms
64 bytes from 192.168.131.2: icmp_seq=3 ttl=64 time=0.011 ms
64 bytes from 192.168.131.2: icmp_seq=4 ttl=64 time=0.012 ms

--- 192.168.131.2 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.011/0.013/0.019/0.004 ms
[root@db02 ~]# ping 192.168.132.1
PING 192.168.132.1 (192.168.132.1) 56(84) bytes of data.
64 bytes from 192.168.132.1: icmp_seq=1 ttl=64 time=0.123 ms
64 bytes from 192.168.132.1: icmp_seq=2 ttl=64 time=0.117 ms
64 bytes from 192.168.132.1: icmp_seq=3 ttl=64 time=0.117 ms
64 bytes from 192.168.132.1: icmp_seq=4 ttl=64 time=0.117 ms

--- 192.168.132.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.117/0.118/0.123/0.011 ms
[root@db02 ~]# ping 192.168.132.2
PING 192.168.132.2 (192.168.132.2) 56(84) bytes of data.
64 bytes from 192.168.132.2: icmp_seq=1 ttl=64 time=0.017 ms
64 bytes from 192.168.132.2: icmp_seq=2 ttl=64 time=0.012 ms
64 bytes from 192.168.132.2: icmp_seq=3 ttl=64 time=0.011 ms
64 bytes from 192.168.132.2: icmp_seq=4 ttl=64 time=0.012 ms

--- 192.168.132.2 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.011/0.013/0.017/0.002 ms
[root@db02 ~]#

【その他】
・/etc/resolv.confは、何もいじってないのだけれど、1号機と2号機で内容が異なっている。
→DNS関連は何も設定してないので、そのままで特に影響はないと考える。デフォルトのまま先の作業へ進む。
・いくらかわかりやすくなるように、eth1ポートのIPアドレスに131、eth2ポートのIPアドレスに132という値を使用した。「IPアドレスが〜.131.1ならば、1号機のeth1ポート。」
PR
NAME
TITLE
COLOR
MAIL
URL
COMMENT
EMOJI
Vodafone絵文字 i-mode絵文字 Ezweb絵文字
PASS
TRACKBACK URL 
カレンダー
05 2025/06 07
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
最新コメント
最新トラックバック
プロフィール
HN:
fool
性別:
男性
職業:
会社員
自己紹介:
・国内現物&信用取引の株式のみ。
----------
・株を始めた日:2001/03/16
・〜2004年:収支が±20万の間を動いただけ。
・2005年1月より本を購入する等して再スタート。
・2005年5月よりブックビルディングに参加。
・2009年夏、トータルでマイナスになり、休止。
・過程に満足せず、結果を出すことが目標。
バーコード
ブログ内検索
"fool" WROTE ALL ARTICLES.
PRODUCED BY SHINOBI.JP @ SAMURAI FACTORY INC.
忍者ブログ [PR]