スクリプトと wsadmin ツールを使用して、新規の URL を構成できます。
以下の例を実行して、新規 URL を構成します。
Jacl を使用:
set newurlp [$AdminConfig getid /Cell:mycell/Node:mynode/URLProvider:URLP1/]
newurlp = AdminConfig.getid('/Cell:mycell/Node:mynode/URLProvider:URLP1/') print newurlp
URLP1(cells/mycell/nodes/mynode|resources.xml#URLProvider_1)
$AdminConfig required URL
print AdminConfig.required('URL')
Attribute Type name String spec String
set name [list name URL1] set spec [list spec "Put the spec here"] set urlAttrs [list $name $spec]
{name URL1} {spec {Put the spec here}}
name = ['name', 'URL1'] spec = ['spec', "Put the spec here"] urlAttrs = [name, spec]
[[name, URL1], [spec, "Put the spec here"]]
$AdminConfig create URL $newurlp $urlAttrs
print AdminConfig.create('URL', newurlp, urlAttrs)
URL1(cells/mycell/nodes/mynode|resources.xml#URL_1)