def create_scripts_folder_on_server(self, server=None): if server is None: server = self.host shell = RemoteMachineShellConnection(server) final_path = self.install_path + x509main.SCRIPTSPATH shell.create_directory(final_path) shell.disconnect()
def create_CA_folder_on_server(self, server=None): if server is None: server = self.host shell = RemoteMachineShellConnection(server) final_path = self.install_path + x509main.CHAINFILEPATH \ + "/" + x509main.TRUSTEDCAPATH shell.create_directory(final_path) shell.disconnect()
def _create_data_locations(self, server): shell = RemoteMachineShellConnection(server) shell.create_new_partition(self.disk_location, self.disk_location_size) shell.create_directory(self.data_location) shell.give_directory_permissions_to_couchbase(self.data_location) shell.disconnect()