Example #1
0
 def start_database(self):
     logger.info('Starting Greenplum Database')
     cmd = GpStart('Start Greenplum Database')
     cmd.run()
     if cmd.get_results().rc != 0:
         logger.error('Failed to start Greenplum Database.')
         cmd.validate()
Example #2
0
 def start_database(self):
     logger.info('Starting Greenplum Database')
     cmd = GpStart('Start Greenplum Database')
     cmd.run()
     if cmd.get_results().rc != 0:
         logger.error('Failed to start Greenplum Database.')
         cmd.validate()
Example #3
0
 def start_master_only(self):
     logger.info('Starting Greenplum Database in master only mode')
     cmd = GpStart('Start Greenplum Database in master only mode', masterOnly=True)
     cmd.run()
     if cmd.get_results().rc != 0:
         logger.error('Failed to start Greenplum Database in master only mode.')
         cmd.validate()
Example #4
0
 def start_master_only(self):
     logger.info('Starting Greenplum Database in master only mode')
     cmd = GpStart('Start Greenplum Database in master only mode',
                   masterOnly=True)
     cmd.run()
     if cmd.get_results().rc != 0:
         logger.error(
             'Failed to start Greenplum Database in master only mode.')
         cmd.validate()