support ping within master and slave