日本語DIGITAL TCP/IP Services for OpenVMSのインストールが終了したら, 次は,そのシステムに必要な構成要素と特性のコンフィギュレーションを行う必要があります。 コンフィギュレーション作業は,メニュー方式のTCPIP$CONFIG プロシージャを使用して行います。
本章では,TCPIP$CONFIGのメニューについて説明し,サンプル・スクリプトを見せながら, 追加で行うコンフィギュレーションと各種設定作業の概要を示します。
表 3-1に,TCP/IP Servicesの構成要素と機能のコンフィギュレーション手順を示します。
手順 | 作業 | 参照箇所 |
---|---|---|
1 | TCPIP$CONFIGを実行する前の準備作業としてシステム情報を収集する | 第1.3節 |
2 | TCPIP$CONFIGを実行し,プロンプトに答えることで,既存データベースを変換するか,または新しいデータベースを作成する | 第3.2節 |
3 | TCPIP$CONFIGを使用して,メインの構成要素と機能のコンフィギュレーションを行う | 第3.2.4項 |
4 | 必要に応じて,TCPIP$CONFIGを使用して,オプションの構成要素のコンフィギュレーションを行う | 第3.2.5項 |
5 | TCP/IP Servicesを起動する | 第3.4節 |
6 | コンフィギュレーションを検証する | 第3.5節 |
7 | システムをリブートし,必要に応じて,追加のコンフィギュレーションを実行する | 第3.6節 |
TCPIP$CONFIGプロシージャでは,表示されたメニューで次の操作を行うことができます。
最初に,次のコマンドを入力します。
$ @SYS$MANAGER:TCPIP$CONFIG
前のバージョンのTCP/IP Servicesコンフィギュレーションが存在する場合,
プロシージャは,Convert the old configuration files
[Y]
のプロンプトに対してNOと答えない限り,既存のコンフィギュレーション・
ファイルを新しいコンフィギュレーション・ファイルに変換します。
次のサンプル・スクリプトは,TCPIP$CONFIGプロシージャの先頭部分と, 以前のコンフィギュレーションの変換を確認する部分を示しています。
TCP/IP Network Configuration Procedure This procedure helps you define the parameters required to run DIGITAL TCP/IP Services for OpenVMS on this system. NOTE: TCP/IP has been previously configured from an earlier version of this product. You can avoid a complete reconfiguration of TCP/IP by allowing this procedure to automatically convert the old configuration files. If you choose not to do this now, you will not be asked again. At the end of the conversion you will be able to further modify your configuration. Convert the old configuration files [Y]: <Return> Preparing files for conversion... UCX$SERVICE.DAT --> TCPIP$SERVICE.DAT UCX$HOST.DAT --> TCPIP$HOST.DAT UCX$NETWORK.DAT --> TCPIP$NETWORK.DAT UCX$ROUTE.DAT --> TCPIP$ROUTE.DAT UCX$PROXY.DAT --> TCPIP$PROXY.DAT UCX$CONFIGURATION.DAT --> TCPIP$CONFIGURATION.DAT UCX$EXPORT.DAT --> TCPIP$EXPORT.DAT UCX$PRINTCAP.DAT --> TCPIP$PRINTCAP.DAT No new database files were created. FTP SERVER Configuration LPD SERVER Configuration Service is not defined in the SYSUAF. Nonprivileged user access is not enabled. By default, DIGITAL TCP/IP Services for OpenVMS configures LPD such that nonprivileged users cannot modify queue entries. Creating TCPIP$AUX identifier with a value of 3655 DIGITAL TCP/IP Services for OpenVMS supports Line Printer Daemon Protocol (see RFC 1179). LPD requires the following: - Name of the local queue - Name of the remote queue - Name of the remote host - Spooling directory for the local queue To add or delete printers in the TCPIP PRINTCAP database, use the $RUN SYS$SYSTEM:TCPIP$LPRSETUP command. . . .
前のバージョンのTCP/IP Servicesコンフィギュレーション・ファイルが存在しない場合には, プロシージャは,次のスクリプト例に示されているように, 最初にコンフィギュレーション・ファイルを作成します。
TCP/IP Network Configuration Procedure This procedure helps you define the parameters required to run DIGITAL TCP/IP Services for OpenVMS on this system. Checking TCP/IP Services for OpenVMS configuration database files. Creating SYS$COMMON:[SYSEXE]TCPIP$SERVICE.DAT Creating SYS$COMMON:[SYSEXE]TCPIP$HOST.DAT Creating SYS$COMMON:[SYSEXE]TCPIP$NETWORK.DAT Creating SYS$COMMON:[SYSEXE]TCPIP$ROUTE.DAT For security purposes, the Proxy Database is created with no world access. This denies nonprivileged users the use of commands that access the Proxy Database. Creating SYS$COMMON:[SYSEXE]TCPIP$PROXY.DAT * Do you want to grant world read access to nonprivileged users [NO]: Creating SYS$COMMON:[SYSEXE]TCPIP$CONFIGURATION.DAT DIGITAL TCP/IP Services for OpenVMS requires a definition for at least one interface. There are no interfaces defined on this system. Please select the Interface option from the Core Environment Menu.
NFSプロキシー・データベースへのワールド・アクセスを許可したい場合には, プロンプトに対してYESと答えます。許可したくない場合は, Returnキーを押します。
コンフィギュレーション・ファイルの変換または作成が完了すると,メインのコンフィギュレーション・ メニューが表示されます。
DIGITAL TCP/IP Services for OpenVMS Configuration Menu Configuration options: 1 - Core environment 2 - Client components 3 - Server components 4 - Optional components 5 - Shutdown DIGITAL TCP/IP Services for OpenVMS 6 - Startup DIGITAL TCP/IP Services for OpenVMS 7 - Run tests A - Configure options 1 - 4 [E] - Exit configuration procedure Enter configuration option:
メニューでは次のオプションを選択できます。
TCP/IP Services製品を始めて使用する場合には,コンフィギュレーション・ メニューの使用をお勧めします。TCP/IP Servicesのコンフィギュレーションの経験がある場合は,TCPIP$CONFIG を実行するときに1つ以上のコマンド・ パラメータを追加することで,メニューをバイパスすることができます。 コマンド・パラメータについては,第3.3節を参照してください。
メインのコンフィギュレーション・メニューでオプションAを入力して, オプション1〜4のコンフィギュレーションを実行します。
コア環境メニューが最初に表示されます。オプションAを入力して,オプション1 〜5のコンフィギュレーションを実行します。Domain,Routing, およびInterfacesのオプションは必須のオプションです。BIND Resolver とTime Zoneは任意のオプションです。
DIGITAL TCP/IP Services for OpenVMS Core Environment Configuration Menu Configuration options: 1 - BIND Resolver 2 - Domain 3 - Routing 4 - Interfaces 5 - Time Zone A - Configure options 1 - 5 [E] - Exit menu Enter configuration option: A <Return>
次のスクリプトは,TCP/IP Services製品を新規にインストールした場合のものです。 既存のコンフィギュレーションが存在する場合には,多少異なるスクリプトになります。
準備したコンフィギュレーション・プラニング・ワークシート(第1.3節)の情報を使用して, メニューの質問に対する応答を入力してください。
BIND RESOLVER Configuration A BIND resolver has not been configured. DIGITAL TCP/IP Services for OpenVMS supports the Berkeley Internet Name Domain (BIND) resolver. BIND is a network service that enables clients to name resources or objects and share information with other objects on the network. Before configuring your system as a BIND resolver, you should first be sure that there is at least one system on the network configured as either a BIND primary or secondary server for this domain. You can specify a BIND server by its address or name; however, if specified by name, an entry for it must exist in the TCPIP$HOST database. You will be asked one question for each server. Press Return at the prompt to terminate the list. Enter your BIND server name: MAINSV <Return> MAINSV is not in the local host database. Enter Internet address for MAINSV: 19.112.139.14 <Return> You must provide the domain name in order to run the BIND resolver. This information should be available from your Internet network administrator. DOMAIN Configuration Enter Internet domain: widgets.com <Return> INTERFACE Configuration The Ethernet device(s) on your system are: ESA0: * Not Configured. * Start of configuration questions for Internet interface SE0. SE0 is the Ethernet device ESA0: SE0 has not been configured. * Do you want to configure SE0 [YES]: <Return> Enter unqualified host name: WIDGTS Host WIDGTS exists in the database. Enter Internet address [19.112.139.15]: <Return> Enter Internet network mask for widgts [225.255.0.0]: <Return> Enter broadcast mask for widgts [19.225.225.225]: <Return> The following parameters will be used to define the Internet Interface SE0: Host name: widgets.com Internet address: 19.112.139.15 Network mask: 255.255.0.0 Broadcast mask: 19.225.225.225 * Is the above correct [YES]: <Return> End of configuration questions for Internet interface SE0. DYNAMIC ROUTING Configuration You can configure dynamic ROUTED or GATED routing. However, you cannot enable both at the same time. If you want to change from one to the other, you must disable the current routing first, then enable the desired routing. If you enable dynamic ROUTED routing, this host will use the Routing Information Protocol (RIP) - Version 1 to listen for all dynamic routing information coming from other hosts to update its internal routing tables. It will also supply its own Internet addresses to routing requests made from remote hosts. If you enable dynamic GATED routing, you will be able to configure this host to use any combination of the following routing protocols to exchange dynamic routing information with other hosts on the network: Routing Information Protocol (RIP) - Version 1 & 2 Router Discovery Protocol (RDISC) Open Shortest Path First (OSPF) Exterior Gateway Protocol (EGP) Border Gateway Protocol (BGP-4) Static routes * Do you want to configure dynamic ROUTED or GATED routing [NO]: YES <Return> * Do you want to enable GATED routing configuration [NO]: <Return> ROUTED option If you enable the 'supply' option of dynamic routing, this host will supply dynamic routing information to other hosts on the network whether it is acting as an internetwork gateway or not. * Do you want this host to supply its dynamic routing information [NO]: <Return> TIME ZONE Configuration TCPIP uses time zone information provided by the OpenVMS Operating System. No additional time zone configuration is needed for TCPIP when the operating system is configured correctly. This section verifies the current OpenVMS time zone configuration. A warning message (TCPIP-W-) indicates that corrective action should be taken. TCPIP will appear to operate but components may display either the wrong time or a time inconsistent with other applications. %TCPIP-I-INFO, Logical name SYS$TIMEZONE_RULE found. -TCPIP-I-INFO, Software for automatic Summer/Winter time (TDF) change -TCPIP-I-INFO, is present. -TCPIP-I-INFO, Further action to ensure TDF change is not necessary. %TCPIP-I-NORMAL, time zone information verified Press Return to continue ...
オプション1〜5のコンフィギュレーションを終了すると,コア環境メニューに戻るので, オプションEを入力して,このオプションを終了します。 続いて,クライアント構成要素メニューが表示されます。
次のスクリプトに示されたメニューでは,各構成要素がDisabled(使用不能- 省略時設定)になっていることに注意してください。実際には,コア環境メニューでこれまでに行ったコンフィギュレーションや選択によっては,Enabled( 使用可能)と表示される構成要素もあります。
DIGITAL TCP/IP Services for OpenVMS Client Components Configuration Menu Configuration options: 1 - FTP Disabled 2 - LPR/LPD Disabled 3 - NFS Client Disabled 4 - REXEC and RSH Disabled 5 - RLOGIN Disabled 6 - SMTP Disabled 7 - TELNET Disabled A - Configure options 1 - 7 [E] - Exit menu Enter configuration option: A <Return>
使用するクライアント構成要素を使用可能にするか,またはオプションA を選択して,オプション1〜7のコンフィギュレーションを実行します。次のFTP クライアント・スクリプトは,クライアント構成要素の1つを表示した例です。
FTP CLIENT Configuration Service is not enabled. FTP CLIENT configuration options: 1 - Enable service on this node [E] - Exit FTP_CLIENT configuration Enter configuration option: 1 <Return> The FTP SERVER is enabled. * Do you want to configure the FTP SERVER [NO] ? <Return>
クライアント構成要素と関連するサーバ構成要素(必要な場合)のコンフィギュレーションを終了すると, サーバ構成要素メニューが表示されます。
DIGITAL TCP/IP Services for OpenVMS Server Components Configuration Menu Configuration options: 1 - BIND Disabled 2 - BOOTP Disabled 3 - TFTP Disabled 4 - FTP Disabled 5 - LPR/LPD Disabled 6 - NFS Disabled 7 - PC-NFS Disabled 8 - PORTMAPPER Disabled 9 - TELNET/RLOGIN Disabled 10 - SNMP Disabled 11 - NTP Disabled 12 - METRIC Disabled 13 - POP Disabled 14 - FINGER Disabled 15 - RMT Disabled 16 - LBROKER Disabled 17 - DHCP Disabled A - Configure options 1 - 17 [E] - Exit menu Enter configuration option: A <Return>
使用するサーバ構成要素を使用可能にするか,またはオプションAを選択して, オプション1〜17のコンフィギュレーションを実行します。
次のBINDサーバ・コンフィギュレーション・スクリプトは,サーバ構成要素の1 つを表示した例です。別の構成要素の場合,これ以外の情報を要求されることがあります。
BIND SERVER Configuration Service is not defined in the SYSUAF. Service is not defined in the TCPIP$SERVICE database. Service is not enabled. BIND SERVER configuration options: 1 - Enable service on this node [E] - Exit BIND configuration Enter configuration option: 1 <Return> The TCPIP$AUX identifier already exists with value 3655. Checking for BIND template files in SYS$SPECIFIC:[TCPIP$BIND] Creating template SYS$SPECIFIC:[TCPIP$BIND]TCPIP$BIND_CONF.TEMPLATE Creating file SYS$SPECIFIC:[TCPIP$BIND]127_0_0.DB Creating file SYS$SPECIFIC:[TCPIP$BIND]ROOT.HINT
サーバ構成要素のコンフィギュレーションが終了したら,Returnキーを押してメイン・ コンフィギュレーション・メニューに戻ります。オプション4 の「Optional Components」を選択します。
次のことを行うためには,オプションの構成要素のコンフィギュレーションが必要になる場合があります。
メイン・コンフィギュレーション・メニューからオプション4を選択すると, オプション構成要素メニューが表示され,次のメニュー・オプションを選択できます。
DIGITAL TCP/IP Services for OpenVMS Optional Components Configuration Menu Configuration options: 1 - Configure PWIP Driver (for DECnet-Plus and PATHWORKS) 2 - Configure SRI QIO Interface (INET Driver) 3 - Set up Anonymous FTP Account and Directories A - Configure options 1 - 3 [E] - Exit menu
PWIPドライバ,SRI QIOインタフェース,Anonymous FTPアカウント,またはディレクトリの中からシステムに適切なオプションを選択します。
$ @SYS$MANAGER:TCPIP$LOAD_INETDRIVER
TCP/IP Services製品に精通しているユーザであれば,次の手順を実行することで, コンフィギュレーション・メニューをバイパスして,直接機能を使用可能または使用不能に設定することができます。
$ @SYS$MANAGER:TCPIP$CONFIG [option] {DISABLE | ENABLE} [CLUSTER]
使用できるオプションとキーワードは次のとおりです。
ALL | コア環境とすべてのクライアントおよびサーバ構成要素のコンフィギュレーションを行う。 |
CLUSTER | クラスタ全体を対象に, 指定したすべての構成要素のコンフィギュレーションを行う(クラスタ単位のコンフィギュレーションができないBINDサーバとSMTPを除く)。 |
CLIENT | すべてのクライアント構成要素と関連するソフトウェアのコンフィギュレーションを行う。 |
ENABLE | 指定した構成要素を使用可能にする。 |
DISABLE | 指定した構成要素を使用不能にする。 |
MINIMUM | ドメイン,Internetインタフェース,リモート・ログイン, FTPクライアント,FTPサーバ,TELNETクライアント,およびTELNET サーバのコンフィギュレーションを行う。 |
SERVER | すべてのサーバ構成要素と関連するソフトウェアのコンフィギュレーションを行う。 |
WORKSTATION | BINDリゾルバ,ドメイン,動的経路選択, Internetインタフェース,標準時間帯,リモート・ログイン, リモート・シェル,リモート実行,FTPクライアント,FTPサーバ, TELNETクライアント,TELNETサーバ,およびSMTPのコンフィギュレーションを行う。 |
たとえば,次のコマンドはクラスタ全体のクライアント構成要素を使用可能にします。
$ @SYS$MANAGER:TCPIP$CONFIG CLIENT ENABLE CLUSTER
注意
標準ソフトウェアとオプション構成要素のコンフィギュレーションが終わったら,TCP/IP Services を起動する必要があります。コンフィギュレーションの検証や環境のカスタマイズを行うのはその後です。
TCP/IP Servicesを起動するには,次の手順に従います。
$ @SYS$MANAGER:TCPIP$CONFIG
インストレーション検証プロシージャ(IVP)を実行することで,コンフィギュレーションを検証することができます。
次のいずれかに該当する場合は,IVPを実行してください。
IVPを実行する前に,TCP/IP Servicesソフトウェアが起動されていることを確認してください。IVP を実行するユーザは,SYSPRV,OPER,NETMBX, およびTMPMBX特権を持っていなければなりません。
以下の手順に従ってIVPを実行します。
$ @SYS$MANAGER:TCPIP$CONFIG
%TCPIP-E-IDENT, explanation of error.
表 3-2に,IVPエラー・メッセージの原因となる一般的な問題を示します。 推奨される処置を行っても問題が解決しない場合には,Compaq の最寄りの支店/営業所にお問い合わせください。
問題 | 処置 |
---|---|
ネットワーク・コンフィギュレーションに問題がある。 | TCP/IP Servicesをシャットダウンし, コンフィギュレーション・プロシージャを再度実行します。 |
起動に失敗した。 | MODPARAMS.DATファイル中のシステム・パラメータをチェックし, 必要に応じて値を調整します(第1.2.7項を参照)。 TCP/IP Servicesをシャットダウンして再起動します。 |
インストレーション・キットに欠陥がある。 | キットの交換をお申し出ください。 |
PAKがないためにIVPが失敗した。 | 日本語DIGITAL TCP/IP Services for OpenVMS PAKを登録してください。 |
$ @SYS$TEST:TCPIP$IVP
TCPIP$CONFIGを実行して,ネットワークに必要な機能と構成要素を使用可能にした後は, 製品アプリケーションへのアクセスを可能にするため,追加のコンフィギュレーション作業を終了させる必要があります。TCP/IP Servicesには,環境に合わせてソフトウェアを変更したり,カスタマイズできる管理コマンド・ インタフェースと論理名が用意されています。
追加のコンフィギュレーション作業には次のようなものがあります。
上記のコンフィギュレーション作業の詳細は,『DIGITAL TCP/IP Services for OpenVMS Management 』を参照してください。 このガイドには,上記以外のコンフィギュレーション作業についても説明があります。
TCP/IP Servicesソフトウェアをシステムの起動時に自動的に起動させるには,SYS$COMMON[SYSMGR]:SYSTARTUP_VMS.COM ファイルを編集して,次のコマンドを追加します。
@SYS$STARTUP:TCPIP$STARTUP
システムのシャットダウン時にTCP/IP Servicesを自動的にシャットダウンするには,SYS$COMMON[SYSMGR]:SYSHUTDWN.COM ファイルに次のコマンドを追加します。
@SYS$STARTUP:TCPIP$SHUTDOWN
UCX$STARTUP.COMとUCX$SHUTDOWN.COMファイルは使用しないため, これらのファイルに関係する定義はすべて, SYS$COMMON[SYSMGR]:SYSTARTUP_VMS.COMから削除してください。
TCP/IP Servicesが,OpenVMSアカウントへのログインと同時に起動するためには, OpenVMSのシステムワイドなログイン・プロシージャ(通常SYS$MANAGER:SYLOGIN.COM) の読み取りと実行保護にWorldが設定されていなければなりません(W:RE)。
現在の保護を表示するには,次のコマンドを入力します。
$ DIRECTORY SYS$MANAGER:SYLOGIN.COM /PROTECTION
保護がW:REに設定されていない場合には,次のコマンドを入力します。
$ SET PROTECTION=(W:RE) SYS$MANAGER:SYLOGIN.COM
TCP/IP ServicesをDECwinsowsアプリケーションのトランスポート・ インタフェースとして使用可能にするには,次の行をSYS$MANAGER:DECW$PRIVATE_SERVER_SETUP.COM コマンド・プロシージャに追加します。
$ DECW$SERVER_TRANSPORTS == "DECNET,LOCAL,TCPIP"
続いて,次のコマンドを入力してDECwindowsを再起動します。
$ @SYS$STARTUP:DECW$STARTUP RESTART
システムで,DECnetまたはDECnet-Plusソフトウェアを使用している場合には, これも起動します。
DECwindowsクライアント(リモート・ホスト)で実行されているDECwindows アプリケーションをDECwindowsサーバ(あなたが使用しているワークステーション) に表示するには,次の手順に従います。
$ DECW$SERVER_TRANSPORTS == "DECNET,LOCAL,TCPIP"
$ SET DISPLAY/CREATE/NODE=remote_host/TRANSPORT=TCPIP