srvctl update gns
コマンドを使用して、グリッド・ネーミング・サービス(GNS)・インスタンスを変更します。
注意:
このコマンドはOracle Clusterwareでのみ使用可能です。
構文およびパラメータ
srvctl update gns
コマンドは、次の構文モデルの1つで使用します。
srvctl update gns -advertise name -address ip_address [-timetolive time_to_live] [-verbose] srvctl update gns -delete name [-address address] [-verbose] srvctl update gns -alias alias -name name [-timetolive time_to_live] [-verbose] srvctl update gns -deletealias alias [-verbose] srvctl update gns -createsrv service -target target -protocol protocol [-weight weight] [-priority priority] [-port port_number] [-timetolive time_to_live] [-instance instance_name] [-verbose] srvctl update gns -deletesrv service_name -target target -protocol protocol [-verbose] srvctl update gns -createtxt name -target target [-timetolive time_to_live] [-namettl name_ttl] [-verbose] srvctl update gns -deletetxt name -target target [-verbose] srvctl update gns -createptr name -target target [-timetolive time_to_live] [-namettl name_ttl] [-verbose] srvctl update gns -deleteptr name -target target [-verbose]
表A-210 srvctl update gnsのパラメータ
パラメータ | 説明 |
---|---|
-advertise name
|
GNSを通じて名前を通知します。 |
-address ip_address
|
通知対象の名前に対するIPアドレス |
-timetolive time_to_live
|
必要に応じて、レコードの存続時間(秒数)を指定できます。 |
-delete name
|
GNSからの名前通知を解除します。 |
-alias alias
|
通知対象の名前の別名を作成します。 |
-name name
|
別名に関連付けられている通知対象の名前 |
-deletalias alias
|
別名を削除します |
-createsrv service
|
レコードによって表されるサービスを作成します。 |
-target target
|
サービスに関連付けられている名前を指定します。 |
-protocol protocol
|
サービスへの接続に使用するプロトコルを指定します。 |
-weight weight
|
レコードの重みを指定します。 |
-priority priority
|
0から65535までの範囲の値を使用して、レコードの優先順位を指定します。 |
-port port_number
|
0から65535までの範囲の値を使用して、サービスへの接続に使用するポート番号を指定します。 |
-instance instance_name
|
サービスのインスタンス名 |
-deletesrv service
|
削除対象のサービス・レコードの名前 |
-createtxt name
|
指定した名前を使用して、テキスト(TXT)・レコードを追加します。 |
-namettl name_ttl
|
名前の存続時間(秒数で指定) |
-deletetxt name
|
指定した名前のテキスト(TXT)・レコードを削除します。 |
-createptr name
|
指定した名前のポインタ(PTR)・レコードを追加します。 |
-deleteptr name
|
指定した名前のポインタ(PTR)・レコードを削除します。 |