当前位置:网站首页>Solrcloud related commands
Solrcloud related commands
2022-07-06 17:29:00 【geekqian】
Reference link : https://blog.csdn.net/qq_37936542/article/details/83113083
Make a note of , Memo
zookeeper Query configuration in
- Get into
zookeeper/bin Catalog , function./zkCli.shConnect to the client .cd /work/install/zookeeper/zookeeper-3.4.6/bin/ && ./zkCli.sh - Use
ls /View all directories under the root directory , Usels /configsView all configuration directories , And so on, you can view the list of all configuration files - Use
get /configs/xxx/data-config.xmlGet the file content and display it on the terminal
Upload the configuration
- Get into
solrThis path under the directory/server/scripts/cloud-scripts/:cd /work/install/solr/solr-7.5.0/server/scripts/cloud-scripts/ - Use the following command to upload
./zkcli.sh -zkhost xx.x.x.17:2181,x.x.x.xx:2181,xx.x.x.23:2181 -cmd upconfig -confdir /work/install/solr/solr-7.5.0/server/solr/configsets/xxx_xxx_configs/conf -confname xxx_xxx_configs
explain :-zkhostThe following oneszookeeperCluster nodes ;-confdirFollowed by the directory where the configuration file is located ;-confnameFollowed by the name of the uploaded directory , The name is in the partition of this file :vim /work/install/solr/solr-data/data/xxx_xxx_collection_shard1_replica_n1/core.properties
amongcollection.configNameNamely .
Unverified commands
Reference link : https://cloud.tencent.com/developer/article/1403896
Modify a configuration file separately :./zkcli.sh -zkhost node96.xdata:2181,node97.xdata:2181,node98.xdata:2181 -cmd putfile /infra-solr/configs/ranger_audits/solr-data-config.xml /usr/lib/ambari-infra-solr/example/example-DIH/solr/solr/conf/solr-data-config.xml
Delete the configuration directory ./zkcli.sh -zkhost node96.xdata:2181,node97.xdata:2181,node98.xdata:2181 -cmd clear /infra-solr/configs/collection1
Delete a single profile ./zkcli.sh -zkhost node96.xdata:2181,node97.xdata:2181,node98.xdata:2181 -cmd delete /infra-solr/configs/ranger_audits/solr-data-config.xml
边栏推荐
- 当前系统缺少NTFS格式转换器(convert.exe)
- Prototype chain inheritance
- Set up the flutter environment pit collection
- 1. Introduction to JVM
- 微信防撤回是怎么实现的?
- 04个人研发的产品及推广-数据推送工具
- Selenium test of automatic answer runs directly in the browser, just like real users.
- [VNCTF 2022]ezmath wp
- Interpretation of Flink source code (II): Interpretation of jobgraph source code
- C# WinForm系列-Button简单使用
猜你喜欢

信息与网络安全期末复习(完整版)

Interpretation of Flink source code (III): Interpretation of executiongraph source code

February database ranking: how long can Oracle remain the first?

集成开发管理平台

EasyRE WriteUp

案例:检查空字段【注解+反射+自定义异常】

Flink parsing (III): memory management

Garbage first of JVM garbage collector

复盘网鼎杯Re-Signal Writeup

C#版Selenium操作Chrome全屏模式显示(F11)
随机推荐
MySQL报错解决
Control transfer instruction
Flink 解析(二):反压机制解析
复盘网鼎杯Re-Signal Writeup
Final review of information and network security (full version)
数据仓库建模使用的模型以及分层介绍
灵活报表v1.0(简单版)
C#版Selenium操作Chrome全屏模式显示(F11)
[reverse intermediate] eager to try
C WinForm series button easy to use
沉淀下来的数据库操作类-C#版(SQL Server)
肖申克的救赎有感
February database ranking: how long can Oracle remain the first?
Models used in data warehouse modeling and layered introduction
Compile homework after class
Deploy flask project based on LNMP
Detailed explanation of data types of MySQL columns
Only learning C can live up to expectations top3 demo exercise
Wu Jun's trilogy experience (VII) the essence of Commerce
About selenium starting Chrome browser flash back