If you are using Solr 4.0 or 4.1, you have to add the new shard with the ip that you want to take over and then remove the original. You can't have a new ip take over for an old one, you have to just add a new replica and kill the original.
In Solr 4.2 there is a property called coreNodeName that can be used in solr.xml and with the core admin api. If you use this when you first start your cluster, you can start a new machine with the same coreNodeName and it will take over for that SolrCore. - Mark On Mar 17, 2013, at 10:49 AM, adfel70 <adfe...@gmail.com> wrote: > Hi, > I see that solr nodes are given their names in zookeeper with ip-host > dependence. > Can I change these ports? > Will zookeeper know that the nodes run on new ports in order to update all > its data? > > thanks.