compute-node-1% installmc --deploy
+---------------------------------------------------+ | Oracle MiniCluster v1.0 :: Initial System Install | +---------------------------------------------------+ Ready to setup MiniCluster? (Y/N)(Y):
userinputs.txt および omcips.txt 構成ファイルをコンピュートノード 1 の /var/opt/oracle.minicluster/store ディレクトリにコピーした場合は、初期システム構成ステップが自動的に実行されます。前に入力した情報が表示されます。
既存の構成情報を使用する場合は、「Y」と入力します。Step 3 に進みます。
その構成情報を使用しない場合は、「N」と入力します。その情報を手動で入力するよう求められます。該当するプロンプトで、事前のタスクで収集した必要な情報を入力します。
2 つの構成ファイルをコンピュートノード 1 の正しいディレクトリにコピーしなかった場合は、次のメッセージが表示されます。
[INFO ] Configuring Firstnet.. [INFO ] userinputs.txt does not exist in /var/opt/oracle.minicluster/store [INFO ] omcips.txt does not exist in /var/opt/oracle.minicluster/store Did not find the userinputs.txt or omcips.txt files in /var/opt/oracle.minicluster/store. Do you wish to continue and generate the data now ? (Y/N)(N):
「Y」と入力して初期システム構成プロセスを続行し、該当するプロンプトで、事前のタスクで収集した必要な情報を入力します。
Enter Unique Prefix for this MiniCluster : Enter Netmask in CIDR form (valid range: 8-28) : Enter First IP address in IP addresses range 1 : Enter Count of IP addresses reserved for range 1 : Do you want to input more IP addresses range? Enter Y/N (Y): Enter Default Gateway Address : Enter Domain Name : Enter Comma Separated List of IP Addresses of DNS Servers : Enter Comma Separated List of NTP Servers : [ILOM] Enter Netmask in CIDR form (valid range: 8-31) for ILOM : [ILOM] Enter ILOM IP address of first compute node : [ILOM] Enter ILOM IP address of second compute node : [ILOM] Enter Default Gateway Address for ILOM : [ILOM] Enter Comma Separated List of IP Addresses of DNS Servers for ILOM : [ILOM] Enter Comma Separated List of NTP Servers for ILOM : Type of Cable Used to Connect Network Ports with the 10 GbE Switch: Copper/Fiber : Enter CAN HA type (IPMP/AGGR) : Enter your location 1 : Enter your location 2 : Enable PCI DSS Compliance: Yes/No (No): Enter Security Keystore Type [Choose: pkcs11] : VLAN ID is optional. Do you want to input this value? Enter Y/N (N): Port VLAN ID is optional. Do you want to input this value? Enter Y/N (N): [ILOM] VLAN ID for ILOM is optional. Do you want to input this value? Enter Y/N (N): [ILOM] Port VLAN ID for ILOM is optional. Do you want to input this value? Enter Y/N (N):
入力サマリーページが生成されます。表示された情報に問題がなければ「Y」、表示された情報を変更する場合は「N」と入力します。
---------- Input Summary ---------- MACHINE_TYPE = S7-2 OMC_UPREFIX = mc2 FIRST_PUBLIC_IP = xx.xxx.xx.xx IPCOUNT = 50 GATEWAY = xx.xxx.xx.xx NETMASK_CIDR = 22 DOMAIN_NAME = us.domain.com DNS_SERVER_LIST = xx.xxx.xx.xx,yy.yyy.yy.yy NTP_SERVER_LIST = xx.xxx.xx.xx CAN_CABLE_TYPE = COPPER FIRST_ILOM_IP = xx.xxx.xx.xx SECOND_ILOM_IP = xx.xxx.xx.xx ILOM_GATEWAY = xx.xxx.xx.xx ILOM_NETMASK_CIDR = 24 ILOM_DNS_SERVER_LIST = xx.xxx.xx.xx,yy.yyy.yy.yy ILOM_NTP_SERVER_LIST = xx.xxx.xx.xx CAN_HA = YES CAN_HA_TYPE = IPMP SS_DISK_COUNT = 6 TZ = America/Los_Angeles PCI_DSS_COMPL = NO KEYSTORE_TYPE = pkcs11 Do you want to change the inputs? Enter Y/N (N):
installmc --deploy コマンドは、次のプロセスを実行します。
|
エクスプローラの出力を使用すると、Oracle の技術者は、その出力を知識ベース規則エンジンに適用してシステムの評価を実行できます。
[INFO ] STEP 1: Check Package Version and Gather User Input COMPLETED [INFO ] STEP 2: Prepare for System Install STARTED [INFO ] Invoked by OS user: mcinstall ... [INFO ] STEP 2: Prepare for System Install COMPLETED [INFO ] STEP 3: Interconnect Setup STARTED ... [INFO ] STEP 3: Interconnect Setup COMPLETED [INFO ] STEP 4: Configure Explorer STARTED [INFO ] Log file path : mccn:/var/opt/oracle.minicluster/setup/logs/omc_explorer_062716_143325.log [INFO ] Configuring explorer... [INFO ] Setting up explorer Absolute path of the Explorer output top location?
該当するプロンプトで、会社の標準に関する情報を指定します。
次のプロンプトでデフォルトのエントリを受け入れるには、Return キーを押します。
Absolute path of the Explorer output top location? [/var/explorer/output]
Select the Explorer default transport upload method from this list:
1) Using Diagnostic Assistant (DA)
2) Other transport
3) None
[Using Diagnostic Assistant (DA)]
Do you want to configure Diagnostic Assistant to save credentials (y/n)? [y]
Solaris ゾーンのプロンプトで、ダッシュ (-) を入力します。
Solaris zones:
By default, Explorer collects data from all running local zones when the option -w localzones is specified. If you wish to limit data collection to only some of the local zones, enter the names of those zones below. Separate multiple zone names with a comma ','.
Comma-separated list of zone names or '-' for all zones []:
初期システム構成プロセスのステップ 4 の一環として表示されるメッセージに示されているように、エクスプローラの cron ジョブをスケジュールできなくなるのことに注意してください。
[INFO ] Please do not schedule any cron job to run the Explorer, as cron entries will be removed and not run on the MiniCluster.
Configuring Firstnet Completed というメッセージが表示された場合、このプロセスは正常に完了しています。
このプロセスがいずれかの時点で失敗した場合は、次のようにします。
次に示すように、通常は、エラーメッセージによってログファイルへのポインタが示されます。
Log file path : mc2-n1:/var/opt/oracle.minicluster/setup/logs/mcmu_062016_142110.log
たとえば、このプロセスがステップ 6 (トポロジの検証) で失敗した場合は、問題 (ケーブル接続に関する問題など) を見つけ、その問題を修正します。
失敗が発生する前に実行された最後のステップでエラーが発生した場合は、その特定のステップから残りのステップを実行します。たとえば、失敗がステップ 6 で発生し、このプロセスがステップ 6 で停止した場合は、エラーを修正し、ステップ 6 から再度システム設定を実行します。この場合は、Step 4 に進みます。
エラーがそれより前に発生し、このプロセスが以降のステップまで停止しなかった場合は、失敗が発生したステップまで、その直前のステップと正常に完了した各ステップを元に戻す必要があります。たとえば、失敗がステップ 6 で発生し、このプロセスが続行されてステップ 8 まで停止しなかった場合は、エラーを修正してからステップ 8、7、6 を元に戻し、ステップ 6 から再度システム設定を実行します。Step 3 に進みます。
mcmu setupmc -u step-number
たとえば、失敗がステップ 6 で発生したが、このプロセスがステップ 8 まで停止しなかった場合は、次のように入力します。
mcmu setupmc -u 8 mcmu setupmc -u 7 mcmu setupmc -u 6
システム設定プロセス内のステップ 1 から 10 は通常、このプロセスの一環として実行されます。このプロセスがステップ 6 で失敗した場合は、ステップ 6 から 10 を実行します。
残りのステップを一度に 1 つ実行するには、次のようにします。
mcmu setupmc -s step-number
たとえば、次のように入力します。
mcmu setupmc -s 6
残りのステップを範囲として実行するには、次のようにします。
mcmu setupmc -s starting-step-number-ending-step-number
たとえば、次のように入力します。
mcmu setupmc -s 6-10
正常な完了では、次のような出力が生成されます。
----------------------------------------------------------------------------------- Please download the MiniCluster Component Bundle from Oracle MiniCluster S7-2 Software Download Center (My Oracle Support Doc ID: 2153282.1) and follow the instructions if not done already. If you download the Bundle on your local host, transfer files to both MiniCluster nodes by executing step 1 on both nodes 1.scp <path-on-local-host>/mc-*-sfw.tar.a* mcinstall@<ip-or-host-of-node>:/var/tmp If you downloaded the Bundle directly on MiniCluster nodes, then make sure both nodes have the Bundle under /var/tmp directory. Then run these steps - 2.cd /var/tmp on both the nodes and extract the files using 3.cat mc-*-sfw.tar.a? | gtar -x -C /var/opt/oracle.minicluster/ -f - Please use browser user interface (BUI) to complete the system and tenant setup URL: https://compute-node1-hostname/MCMU -OR- https://compute-node1-IP-address/MCMU Administrator login ID: mcinstall. Default password: welcome1 If you want to continue using Command Line Interface(CLI) and are currently connected via ILOM, login back to the host as mcinstall user, using public hostname or IP Address, then follow these steps - 1.Register mcinstall user using 'mcmu user --create -u mcinstall -e <email> -n <fullname> -p <phone>' command 2.Supervisor must check email and register 'mcinstall' user to activate account 3.Change mcinstall user password using 'mcmu user --changepswd -u mcinstall' command 4.Continue with setup using 'mcmu setupmc -s all' command -----------------------------------------------------------------------------------
ここで、compute-node1-hostname および compute-node1-IP-address は、「IP ホスト名のマッピング」画面、または 初期構成ツールを使用した方法のプロセスの一環として生成された omcips.txt ファイルで提供されたものと同じ情報になります。