Пример #1
0
 def install(self, env):
     import params
     env.set_params(params)
     self.install_packages(env)
     install_tidb('pd-server')
Пример #2
0
 def start(self, env):
     import params
     env.set_params(params)
     install_tidb('pd-server')
     self.configure(env)
     Execute('systemctl start pd')