4.4 ipconfユーティリティの使用
ipconf
ユーティリティは、Oracle Exadataサーバーの次のパラメータを設定および変更するために使用します。
また、Oracle Exadata Database Machineの初期構成時に、データベース・サーバーも構成します。
- IPアドレス
- ホスト名
- NTPサーバー
- タイムゾーン
- DNSネーム・サーバー
- RDMAネットワーク・ファブリックのアドレス
ipconf
ユーティリティでは、変更されたファイルのバックアップ・コピーが作成されます。ユーティリティを再実行すると、既存のバックアップ・ファイルは上書きされます。ログ・ファイルには、実行したすべてのipconf
操作の完全な履歴が記録されます。
表4-1 ipconfのオプション
オプション | 説明 |
---|---|
オプションなし |
ユーティリティはメイン編集モードで起動します。 |
|
|
|
格納されているセルの構成と実行構成との間に不一致がある場合は、ユーティリティをメイン編集モードで起動します。 |
|
ILOMの基本設定を出力します。 |
|
ILOMの基本設定を設定します。 |
-pkey-add $PKEY.CONF -pkey-apply [-force] |
pkey構成を未構成のシステムに適用するか、現在のpkey構成済ホストに(現在のpkey設定は変更せずに)新しいpkey構成を追加します。pkeyファイルに指定されたインタフェースがすでに存在する場合は、コマンドはエラーで終了します。
|
|
現在のpkey構成済ホスト上の一部のpkeyを削除する場合、 |
|
現在のシステムのInfiniBandパーティション化pkey構成を取得します。 |
|
ランタイムpkey構成を取得し、 |
|
|
|
DNS構成およびNTP構成のみをチェックします。 |
|
少なくとも1つのNTPサーバーおよび1つのDNSサーバーへのアクセスをチェックします。 |
|
LinuxおよびILOMのDNSサーバーとNTPサーバーを更新します。DNSサーバーおよびNTPサーバーについては、カンマで区切ったIPアドレスのリストを指定します。
新しいNTPサーバーから取得されたタイムスタンプと、システムに認識されている現在の時間との差が1秒を超える場合(時間ステップ)、コマンドはエラーになり、NTP設定は更新されません。コマンドラインの
|
|
|
|
格納されているセルの構成と実行構成との整合性を検証します。正常な場合、エラーは返されません。
|
次の例は、Sun ILOMインタフェース設定時のipconf
ユーティリティによる表示を示しています。
例4-1 ipconfユーティリティを使用したSun ILOMインタフェースの設定
# ipconf
Logging started to /var/log/cellos/ipconf.log
Interface ib0 is Linked. hca: mxx4_0
Interface ib1 is Linked. mxx4_0
Interface eth0 is Linked. driver/mac: igb/00:00:00:01:cd:01
Interface eth1 is ... Unlinked. driver/mac: igb/00:00:00:01:cd:02
Interface eth2 is ... Unlinked. driver/mac: igb/00:00:00:01:cd:03
Interface eth3 is ... Unlinked. driver/mac: igb/00:00:00:01:cd:04
Network interfaces
Name State IP address Netmask Gateway Hostname
ib0 Linked
ib1 Linked
eth0 Linked
eth1 Unlinked
eth2 Unlinked
eth3 Unlinked
Warning. Some network interface(s) are disconnected. Check cables and switches
and retry
Do you want to retry (y/n) [y]: n
The current nameserver(s): 192.0.2.10 192.0.2.12 192.0.2.13
Do you want to change it (y/n) [n]:
The current timezone: America/Los_Angeles
Do you want to change it (y/n) [n]:
The current NTP server(s): 192.0.2.06 192.0.2.12 1192.0.2.13
Do you want to change it (y/n) [n]:
Network interfaces
Name State IP address Netmask Gateway Hostname
eth0 Linked 192.0.2.151 255.255.252.0 192.0.2.15 Managment myg.example.com
eth1 Unlinked
eth2 Unlinked
eth3 Unlinked
bond0 ib0,ib1 192.168.13.101 255.255.252.0 Private myg.example.com
Select interface name to configure or press Enter to continue:
Select canonical hostname from the list below
1: myg.example.com
2: myg-private.example.com
Canonical fully qualified domain name [1]:
Select default gateway interface from the list below
1: eth01
Default gateway interface [1]:
Canonical hostname: myg.example.com
Nameservers: 192.0.2.10 192.0.2.12 192.0.2.13
Timezone: America/Los_Angeles
NTP servers: 192.0.2.06 192.0.2.12 192.0.2.13
Network interfaces
Name State IP address Netmask Gateway Hostname
eth0 Linked 192.0.2.151 255.255.252.0 192.0.2.15 myg.example.com
eth1 Unlinked
eth2 Unlinked
eth3 Unlinked
bond0 ib0,ib1 192.168.13.101 255.255.252.0 Private myg-priv.example.com
Is this correct (y/n) [y]:
Do you want to configure basic ILOM settings (y/n) [y]: y
Loading configuration settings from ILOM ...
ILOM Fully qualified hostname [myg_ilom.example.com]:
ILOM IP discovery (static/dhcp) [static]:
ILOM IP address [192.0.2.201]:
ILOM Netmask [255.255.252.0]:
ILOM Gateway or none [192.0.2.15]:
ILOM Nameserver or none: [192.0.2.10]:
ILOM Use NTP Servers (enabled/disabled) [enabled]:
ILOM First NTP server. Fully qualified hostname or ip address or none [192.0.2.06]:
ILOM Second NTP server. Fully qualified hostname or ip address or none [none]:
Basic ILOM configuration settings:
Hostname : myg.example.com
IP Discovery : static
IP Address : 192.0.2.10
Netmask : 255.255.252.0
Gateway : 192.0.2.15
DNS servers : 192.0.2.10
Use NTP servers : enabled
First NTP server : 192.0.2.06
Second NTP server : none
Timezone (read-only) : America/Los Angeles
Is this correct (y/n) [y]: