This paper deals with network architecture which is a combination of electronic commerce and maintenance system in the typical Internet ecosystems. The ecommerce application that is typically known as online shopping can be considered as a multi-channel queueing system. In the other hand, stochastic maintenance system is designed for maintain the servers in the e-commerce. The security system in this research deals with a complex system that consists of main unreliable servers, backups and repair facilities to repair the broken servers. The solution presents the analytical solutions of the combined architecture of two queueing systems and these tractable results are used for demonstration in the framework of optimization problems. It also gives the guideline for the more complex systems to improve the availability of the networks.