After upgrade of vApp, IM from 14.1->14.3, the file /opt/CA/wildfly-idm/standalone/configuration/ca-standalone-full-ha.xml has been updated.
We had below piece of extra code in the file and got removed after upgrade and hence broke the functionality using this datasource.
<datasource jndi-name="java:jboss/datasources/jdbc/ext-ds" pool-name="ext-ds" enabled="true">
<connection-url>jdbc:oracle:thin:@xxxxxxxxxxxxx:xxxxx</connection-url>
<driver>ojdbc</driver>
<security>
<security-domain>ext-ds</security-domain>
</security>
</datasource>
Also the file added under /opt/CA/VirtualAppliance/custom/IdentityManager/dataSources/ext-ds.prop has DB details as well.
IMAG_PACKAGE=IM
DB_TYPE=ORACLE
DATASOURCE_NAME=ext-ds
DB_URL=jdbc:oracle:thin:@xxxxxxxxxxxxx:xxxxx
DB_USER=im_user
I'm tried to update file "ca-standalone-full-ha.xml" which is not editable in vApp with config user and hence I connected with jboss admin user
/opt/CA/wildfly-idm/bin/jboss-cli.sh --connect --user=jbosscli --password=xxxxxxxx --command=:take-snapshot
after this I need to add new data source with below details and I'm unaware how to add using /subsystem=datasources command
<datasource jndi-name="java:jboss/datasources/jdbc/ext-ds" pool-name="ext-ds" enabled="true">
<connection-url>jdbc:oracle:thin:@xxxxxxxxxxxxx:xxxxx</connection-url>
<driver>ojdbc</driver>
<security>
<security-domain>ext-ds</security-domain>
</security>
</datasource>
Could you please help me with similar command or how can I edit the file any other possible way.
Link I found but it has some differences. https://knowledge.broadcom.com/external/article/133305/can-i-modify-wildfly-standalone-xml-conf.html