Lines Matching full:vm
12 |gs vm resistry|<+
32 This module can work with any vm hosting service/provider as long as they
66 """Interface to create and manage a core_cluster vm image.
68 A core_cluster vm image has base packages shared by all server roles.
78 # in the VAGRANT_DIR if you wish to prepare a new vm. You can achieve
91 """Setup a core cluster vm.
105 """Teardown a core cluster vm."""
121 information is piped through to each vm, so the cluster manager is
203 @param vm_name: The name of the vm, eg: stumpyshard.
215 def _check_shadow_config(self, vm, key, expected_value): argument
220 value = self._get_shadow_config_value(vm, key)
223 '%s vm has misconfigued config %s = %s, expected %s' %
224 (vm, key, value, expected_value))
225 logging.info('%s has %s = %s', vm, key, value)
228 def _upstart_cmd(self, vm, job_name, cmd='status'): argument
231 @param vm: The name of the vm to execute it against.
239 return self.execute_against_vm(vm, status_cmd)
241 return '%s service not found on %s' % (job_name, vm)
249 config option on a vm has an unexpected setting, services
265 for vm in self.vagrant_shard_names + [self.vagrant_master_name]:
266 vm_manager.format_msg('Checking services on %s' % vm)
267 self._check_shadow_config(vm, 'host', 'localhost')
268 global_db = ('localhost' if vm == self.vagrant_master_name
270 self._check_shadow_config(vm, 'global_db_host', global_db)
273 logging.info('Checking %s on %s', service, vm)
274 status = self._upstart_cmd(vm, service, action)
329 'vm image and spin up a cluster against which you can '