In this paper two models of queuing systems with failures and several types of input flows are considered. These models can simulate the functioning of cellular communications networks under various control regimes. For stationary probabilities of service process (including failed ones) the closed form and the effective calculating algorithms are obtained. The results are used to control the input flows in an optimal way.