<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: hponcfg /s   HOW TO in Server Management - Remote Server Management</title>
    <link>https://community.hpe.com/t5/server-management-remote-server/hponcfg-s-how-to/m-p/4938627#M6118</link>
    <description>Variable substitution using '/s' option in HPONCFG :&lt;BR /&gt;&lt;BR /&gt;HPONCFG version 1.2 onwards allows you to specify variables in the XML RIBCL script and to assign values to those variables when HPONCFG is executed. This feature would help to avoid re-writing the file containing the XML script every time with different values. Any thing enclosed in between two â  %â   characters in the XML file is considered as a variable. &lt;BR /&gt;In the example XML script below, %username%, %loginname% and %password% are variables.&lt;BR /&gt;&lt;BR /&gt;&lt;!-- Add user with minimal privileges to test default setting of assigned privileges to 'N' --&gt;&lt;BR /&gt;&lt;RIBCL version="1.2"&gt;&lt;BR /&gt;   &lt;LOGIN user_login="x" password="x"&gt;&lt;BR /&gt;   &lt;USER_INFO mode="write"&gt;&lt;BR /&gt;&lt;ADD_USER user_name="%username%" user_login="%loginname%" password="%password%"&gt;&lt;BR /&gt;    &lt;RESET_SERVER_PRIV value="Y"&gt;&lt;/RESET_SERVER_PRIV&gt;&lt;BR /&gt;&lt;ADMIN_PRIV value="Y"&gt;&lt;/ADMIN_PRIV&gt;&lt;BR /&gt;   &lt;/ADD_USER&gt;&lt;BR /&gt;   &lt;/USER_INFO&gt;&lt;BR /&gt;   &lt;/LOGIN&gt;&lt;BR /&gt;&lt;/RIBCL&gt;&lt;BR /&gt;&lt;BR /&gt;Values for these variables can be specified at execution time using â  substituteâ   option. The argument to the option must be a string of variable name and value pairs separated by delimiter â  ,â   (comma). The variable name and its value must be separated by â  =â   (equals). &lt;BR /&gt;&lt;BR /&gt;HPONCFG /f add_user.xml /s username=â  test userâ  ,login=â  testloginâ  ,password=testpasswd&lt;BR /&gt;</description>
    <pubDate>Mon, 07 Nov 2005 04:25:19 GMT</pubDate>
    <dc:creator>Rajeshwari, Hiresave</dc:creator>
    <dc:date>2005-11-07T04:25:19Z</dc:date>
    <item>
      <title>hponcfg /s   HOW TO</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/hponcfg-s-how-to/m-p/4938625#M6116</link>
      <description>HI&lt;BR /&gt;its not documentated yet but pretty simble.&lt;BR /&gt;&lt;BR /&gt;Just wrap on of the existing values in the xml files in % sings like&lt;BR /&gt; &amp;lt;%IP_ADDRESS% value=""/&amp;gt;&lt;BR /&gt;then call the executeable &lt;BR /&gt;hponcfg /w test.xml /s IP_ADDRESS=1.1.1.1&lt;BR /&gt;&lt;BR /&gt;voila.&lt;BR /&gt;REGARDS&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Nov 2005 12:42:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/hponcfg-s-how-to/m-p/4938625#M6116</guid>
      <dc:creator>Martin Forster_1</dc:creator>
      <dc:date>2005-11-04T12:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: hponcfg /s   HOW TO</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/hponcfg-s-how-to/m-p/4938626#M6117</link>
      <description>see above</description>
      <pubDate>Fri, 04 Nov 2005 12:42:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/hponcfg-s-how-to/m-p/4938626#M6117</guid>
      <dc:creator>Martin Forster_1</dc:creator>
      <dc:date>2005-11-04T12:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: hponcfg /s   HOW TO</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/hponcfg-s-how-to/m-p/4938627#M6118</link>
      <description>Variable substitution using '/s' option in HPONCFG :&lt;BR /&gt;&lt;BR /&gt;HPONCFG version 1.2 onwards allows you to specify variables in the XML RIBCL script and to assign values to those variables when HPONCFG is executed. This feature would help to avoid re-writing the file containing the XML script every time with different values. Any thing enclosed in between two â  %â   characters in the XML file is considered as a variable. &lt;BR /&gt;In the example XML script below, %username%, %loginname% and %password% are variables.&lt;BR /&gt;&lt;BR /&gt;&lt;!-- Add user with minimal privileges to test default setting of assigned privileges to 'N' --&gt;&lt;BR /&gt;&lt;RIBCL version="1.2"&gt;&lt;BR /&gt;   &lt;LOGIN user_login="x" password="x"&gt;&lt;BR /&gt;   &lt;USER_INFO mode="write"&gt;&lt;BR /&gt;&lt;ADD_USER user_name="%username%" user_login="%loginname%" password="%password%"&gt;&lt;BR /&gt;    &lt;RESET_SERVER_PRIV value="Y"&gt;&lt;/RESET_SERVER_PRIV&gt;&lt;BR /&gt;&lt;ADMIN_PRIV value="Y"&gt;&lt;/ADMIN_PRIV&gt;&lt;BR /&gt;   &lt;/ADD_USER&gt;&lt;BR /&gt;   &lt;/USER_INFO&gt;&lt;BR /&gt;   &lt;/LOGIN&gt;&lt;BR /&gt;&lt;/RIBCL&gt;&lt;BR /&gt;&lt;BR /&gt;Values for these variables can be specified at execution time using â  substituteâ   option. The argument to the option must be a string of variable name and value pairs separated by delimiter â  ,â   (comma). The variable name and its value must be separated by â  =â   (equals). &lt;BR /&gt;&lt;BR /&gt;HPONCFG /f add_user.xml /s username=â  test userâ  ,login=â  testloginâ  ,password=testpasswd&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Nov 2005 04:25:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/hponcfg-s-how-to/m-p/4938627#M6118</guid>
      <dc:creator>Rajeshwari, Hiresave</dc:creator>
      <dc:date>2005-11-07T04:25:19Z</dc:date>
    </item>
  </channel>
</rss>

