def install(self, env): import params env.set_params(params) self.install_packages(env) install_tidb('pd-server')
def start(self, env): import params env.set_params(params) install_tidb('pd-server') self.configure(env) Execute('systemctl start pd')