The AM2CM Tool does not migrate Ambari Infra Solr configuration and data to Cloudera Manager. However, it adds a new Solr service. To take a backup, perform the following steps after the transition.
Execute the following commands on the hosts where Solr is installed.
mv /etc/alternatives/solr-conf /etc/alternatives/solr-confhdp mv /etc/alternatives/hue-conf /etc/alternatives/hue-confhdp mv /etc/alternatives/hbase-solr-conf /etc/alternatives/hbase-solr-confhdp mv /var/lib/alternatives/solr-conf /var/lib/alternatives/solr-confhdp