Configure a new URL

An example configuring a new URL follows:

  • Identify the parent ID and assign it to the newurlp variable.

    set newurlp [$AdminConfig  getid  /Cell:cellname/Node:nodename/URLProvider:URLP1/]
    

    An example of this output follows:

    URLP1(cells/cellname/nodes/nodename:resources.xml#URLProvider_1)
    

  • Identify the required attributes:

    $AdminConfig required URL
    

    An example of this output follows:

    Attribute     Type
    name         String
    spec         String
    

  • Set up the required attributes:

    set name [list name URL1]
    set spec [list spec "Put the spec here"]
    set urlAttrs [list $name $spec]
    

    An example of this output follows:

    {name URL1} {spec {Put the spec here}}
    

  • Create a URL:

    $AdminConfig create URL $newurlp $urlAttrs
    

    An example of this output follows:

    URL1(cells/cellname/nodes/nodename:resources.xml#URL_1)
    

  • Save changes:

    $AdminConfig save
    


Configure custom properties for URLs using wsadmin

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.