当前位置:网站首页>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.sh
Connect to the client .cd /work/install/zookeeper/zookeeper-3.4.6/bin/ && ./zkCli.sh
- Use
ls /
View all directories under the root directory , Usels /configs
View all configuration directories , And so on, you can view the list of all configuration files - Use
get /configs/xxx/data-config.xml
Get the file content and display it on the terminal
Upload the configuration
- Get into
solr
This 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 :-zkhost
The following oneszookeeper
Cluster nodes ;-confdir
Followed by the directory where the configuration file is located ;-confname
Followed 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.configName
Namely .
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
边栏推荐
- 06 products and promotion developed by individuals - code statistical tools
- 自动答题 之 Selenium测试直接运行在浏览器中,就像真正的用户在操作一样。
- Introduction to spring trick of ByteDance: senior students, senior students, senior students, and the author "brocade bag"
- Deploy flask project based on LNMP
- vscode
- EasyRE WriteUp
- SQL tuning notes
- 基于LNMP部署flask项目
- Flink parsing (III): memory management
- 04 products and promotion developed by individuals - data push tool
猜你喜欢
虚拟机启动提示Probing EDD (edd=off to disable)错误
吴军三部曲见识(七) 商业的本质
Prototype chain inheritance
信息与网络安全期末复习(完整版)
JVM运行时数据区之程序计数器
关于Selenium启动Chrome浏览器闪退问题
【逆向中级】跃跃欲试
1. Introduction to JVM
Introduction to spring trick of ByteDance: senior students, senior students, senior students, and the author "brocade bag"
JVM class loading subsystem
随机推荐
Interpretation of Flink source code (II): Interpretation of jobgraph source code
复盘网鼎杯Re-Signal Writeup
网络分层概念及基本知识
C version selenium operation chrome full screen mode display (F11)
Redis quick start
06 products and promotion developed by individuals - code statistical tools
Deploy flask project based on LNMP
自动化运维利器-Ansible-Playbook
Flink parsing (IV): recovery mechanism
CentOS7上Redis安装
mysql 基本增删改查SQL语句
Models used in data warehouse modeling and layered introduction
Flink analysis (I): basic concept analysis
Akamai anti confusion
C#WinForm中的dataGridView滚动条定位
学习投资大师的智慧
信息与网络安全期末复习(基于老师给的重点)
Flink 解析(四):恢复机制
[VNCTF 2022]ezmath wp
Logical operation instruction