Abstract:Distributed ICE middleware is an efficient RPC framework that supports cross language development, and the IceGrid service is the core of the whole framework. The main function is to provide services such as location management, remote management, load balancing and service registration for clients. In the distributed platform constructed by ICE, once the IceGrid service is in trouble, the whole network communication will have problems. IceGrid itself supports the high availability of the master slave mode, but when the master is not available, slave will not automatically upgrade to the master, and it must be restarted manually, which seriously affects the efficiency of the IceGrid. Zookeeper is an open source distributed application coordination service. It is a software that provides conformance services for distributed applications. This paper presents a highly available and improved model for IceGrid services based on Zookeeper. When the master is not accessible, Zookeeper selects a new master from one of slaves automatically.