My Oracle Support Banner

ilomconfig modify in OHMP 2.2.7 is not working in XML files when comments present (Doc ID 1587056.1)

Last updated on OCTOBER 08, 2019

Applies to:

SPARC T4-2 - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.

Symptoms

ilomconfig modify in  OHMP 2.2.7 is not working in  XML files when comments present

 

Example with network :

 

(1) You list the contents of configfile.xml

<ROOT_USER>@<HOSTNAME>:/export# ilomconfig list network --xmlfile=/export/configfile.xml
Network - IPv4
==============
Pending IP Address: <IP1>
Pending IP Discovery: static
Pending IP Netmask: <NETMASK>
Pending IP Gateway: <IP_GATEWAY>
Management Port: MGMT
Interface State: enabled

(2) You modify the content of configfile.xml (network)

<ROOT_USER>@<HOSTNAME>:/export# ilomconfig modify network --xmlfile=/export/configfile.xml
--ipaddress=<IP> --state=disabled
Set 'pendingipaddress' to '<IP2>'
Set 'state' to 'disabled'
Set 'commitpending' to 'true'

(3) You list again  configfile.xml  but the content not change

<ROOT_USER>@<HOSTNAME>:/export# ilomconfig list network --xmlfile=/export/configfile.xml
Network - IPv4
==============
Pending IP Address: <IP1><-- does not change
Pending IP Discovery: static
Pending IP Netmask: <NETMASK>
Pending IP Gateway: <IP_GATEWAY>
Management Port: MGMT
Interface State: enabled

<ROOT_USER>@<HOSTNAME>:/export# less configfile.xml
:
  <property>/SP/network/pendingipaddress</property>
  <!--- Description: Pending IP address -->
  <value><IP1></value>  

 

Changes

 Issue in OHMP 2.2.7

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.