AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 929052
Accepted
Sreeraju V
Sreeraju V
Asked: 2018-09-03 02:59:32 +0800 CST2018-09-03 02:59:32 +0800 CST 2018-09-03 02:59:32 +0800 CST

在 AWS 中从独立 Solar 迁移到 SolrCloud

  • 772

我们的开发人员在本地独立 Solr 服务器上工作,我们在本地 Solr 中有许多内核。现在我们计划将其迁移到 AWS 基础设施中的 SolrCloud,以使用 numShards:3 和 replicationFact:3 进行复制。我们不需要将数据从本地 Solr 服务器迁移到 AWS SolrCloud。我们只需要将 Core 从 Local Solr 转移到 SolrCloud 中的集合。我是这些方面的新手,请您帮我解决这些问题。

1)通俗地说,我们只需要将核心的Conf文件夹中的内容传输到SolrCloud Collection,我们不需要传输数据(数据文件夹)。

solr
  • 1 1 个回答
  • 307 Views

1 个回答

  • Voted
  1. Best Answer
    Sreeraju V
    2019-05-31T22:13:37+08:002019-05-31T22:13:37+08:00

    解决方案:

    1)collection在 SolrCloud 中创建一个与config setcore 名称相同的新名称。

    2) 将confLocal Standalone Solr Server 中的 core 文件夹移动到 SolrCloud 'Collection' 文件夹。

    3) 从 bash 运行 zookeeper 的 zkCli.sh 命令,将conf文件上传到所有 SolrCloud 服务器。

    cd /opt/solr/server/scripts/cloud-scripts/ 
    bash zkcli.sh -cmd upconfig -confdir /opt/solr-7.4.0/server/solr/collectionname/conf/ -z IP1:2181,IP2:2181,IP3:2181 -confname confname
    

    参考:https ://lucene.apache.org/solr/guide/6_6/using-zookeeper-to-manage-configuration-files.html#UsingZooKeepertoManageConfigurationFiles-UploadingConfigurationFilesusingbin_solrorSolrJ

    • 0

相关问题

  • 在 Solr 中创建普通的非托管模式

  • Solr 搜索 - java.util.Map$Entry 无法解析

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve