In the case of distributed applications, designed to run for more days with no restart needed, there is a strong need for a self-adapting, even self-organizing, distributed infrastructure, to dynamically solve the issues that might arise, and to adapt the infrastructure to the needs of the distributed application than runs on top of it. A solution for such a distributed logical infrastructure, based on a peer-to-peer system, is presented in this paper, in which we describe an enhanced Chord-based DHT, designed to manage the reliability for certain critical pieces of data. Our solution also includes means for self-extension of the application, by integrating new peers, when needed. A preliminary evaluation has been performed, assessing the self-extending feature of our peer-to-peer infrastructure and also the increased reliability that this enhanced DHT is able to provide, by being able to recover presumably lost keys. Future development for our prototype is discussed at the end of the paper, together with our conclusion concerning this work.