lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Upgrading SOLR (not clustered)
Date Wed, 25 Jul 2018 20:40:25 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Phil,

On 7/25/18 4:38 PM, Staley, Phil R - DCF wrote:
> Christopher,
> 
> Testing an upgrade from version 7.2.1 to 7.4.0 on SUSE Linux 12
> 
> From the /etc/init.d/solr file?
> 
> SOLR_INSTALL_DIR="/opt/solr"
> 
> From the /etc/default/solr.in.sh file? (and these are my data
> and/indexing core locations
> 
> SOLR_PID_DIR="/var/solr" SOLR_HOME="/var/solr/data" 
> LOG4J_PROPS="/var/solr/log4j.properties" 
> SOLR_LOGS_DIR="/var/solr/logs" SOLR_PORT="8983"

I would expect your process to work. Did it?

- -chris

> -----Original Message----- From: Christopher Schultz
> <chris@christopherschultz.net> Sent: Wednesday, July 25, 2018 3:23
> PM To: solr-user@lucene.apache.org Subject: Re: Upgrading SOLR (not
> clustered)
> 
> Phil,
> 
> On 7/25/18 12:38 PM, Staley, Phil R - DCF wrote:
>> What are the steps for upgrading a non-clustered SOLR version? 
>> Here's what I thought should work:
> 
> 
> 
>> 1.      Open a bash window and ssh login to desired server with 
>> your Linux admin credentials
> 
>> 2.      Change directories:  cd /opt
> 
>> 3.      Download the latest Linux/OSX version direct to server: 
>> sudo wget 
>> http://secure-web.cisco.com/1m3u-zHHzT7PG9DMKzh18vroXutH5_t3ai-gl70-Y
x
>>
>> 
ZzDhjDAlBf5297ajnpoZ0PptxeKUldcLaRREkQF6UwpkpjGJvBhFyMYKEleNgOv2KiAXuZ
>> Qw4HjRFeUCRluU7gPGPLiYF7_aaBeutMU6Kr0LxiOTpUTv2z9qZiIQYU2M-YN1lNy-acH
K
>>
>> 
rY5ZfGuMw0fSBmdRa9PSzP9ZUj1qGEY94PCLQXxVNkYx_u4CXx-TaA0Fo-aKqvl2x9ejFB
>> uVt2jF1e8zf3i9E367USmyBdbEQ/http%3A%2F%2Fapache.claz.org%2Flucene%2Fs
o
>>
>> 
lr%2Fx.x.x%2Fsolr-x.x.x.tgz (replace x.x.x with the latest version
>> number)
> 
>> a.      Additional download mirror servers are available @ 
>> http://secure-web.cisco.com/1Mafx4QIn9BgkDPtPKbw6pF3EugYCWQHwgSifrgOr
_
>>
>> 
5l1VTprI53j3huCKwyUxst3FIbRgyqah-96wu9NC3fcClwiEqV6ww9g796bhMz6OQDxYb17q
2WPVzIhkB8ozsOw6CJoJKu9xvQuPlab4QkH5DAqOfWBFbtBavS2s-eRdGexv327ATH5BZZP0
snS49XnaiUJjYgYPf4ILzXPp5DLQmbLYSxuHlIp0UP3J_4b_gxq9JEB7_E6dcDiq1hrEN_wW
4n8MvuaRQ3PqPgO_ucjaFoYOL5ZoFSM-svWmZcoD1E/http%3A%2F%2Fwww.apache.org%2
Fdyn%2Fcloser.lua%2Flucene%2Fsolr%2F7.3.1
if the
http://secure-web.cisco.com/1mEnNfQ3nil_pfEFLpG5wMsugkz7vhDU0czyVu2MH7pe
J0aomngulTED-W-zTbK-ywavVjNDYF95PcgmerYe2J4MSIrpaWALkysbyL5rYu4BVb9VZXQg
GuPso0kODrtnA_F4Igw1cE2qjoeoRLk6Pff9Or3lnLbyVCuHjIfECo_JOGvuw91ulYljWU3e
113vxCGB8x9ogaAPR06C1qoqDhu4_b1j2tXqAfJb9iiJKLvOHB-RsxGLu1jxdk4_enK1CVE5
5nj2gyHh2QgAgqVmaBA/http%3A%2F%2Fapache.claz.org
is site is slow.
> 
>> 4.      Login as root user:  sudo -i  and enter you admin
>> password
> 
>> 5.      Unzip the .tgz file:  tar zxf solr-x.x.x.tgz
> 
>> 6.      Change directories:  cd /
> 
>> 7.      Stop SOLR service: service solr stop
> 
>> 8.      Confirm that SOLR is stopped:   service solr status
> 
>> 9.      Change directories to your user home directory:  cd 
>> /home/myadminlogonid
> 
>> 10.  Create new solr symbolic link in your user home folder that 
>> points to new SOLR version:   ln -s /opt/solr-x.x.x  solr
> 
>> 11.  Move/replace current symbolic link:  mv solr /opt
> 
> What version are you going from/to?
> 
> What OS is this?
> 
> Do you have an /etc/init.d/solr file? If so, where does
> SOLR_INSTALL_DIR point?
> 
> Do you have an /etc/default/solr.in.sh file? If it points to all of
> your data-locations, then you should be okay.
> 
> -chris
> 
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAltY4DkACgkQHPApP6U8
pFgShhAAysteX3nkqj/LwLZ8Q5uiLVo/OCNz0kk/Q4VOFM7sgnkydLTCdfRD6hBD
FtqoJue/ayXvGPoRC46R0+LGBYyRQwPajFPBe0S5Ay4dCIe4de1lMjmsc6zfgMpb
tu15YduBFT2O6vdKUyHISHIANqvnaAZnRvfp6P3rlgN1ADL0Ui8y2Kdrx+iHszi2
mIc3fuJY1t8LVpAjMH5Vu8ZD8LuBkH3DOHPLErPoJPkOF+0CaiLrR7DBStrKdsOF
5k5Jlgv/oYueCS0X1SAtc1W7t/vqUHgqnqNqnNaInGDOTblW/FTVOxRt8BF90sgS
UPBy8K2EyhS/rZqEBEp7sLndzNhtGHmhCNOIptHsaixt+zh7bepdXEvSNThDLHs2
Pg+NTyGGsr5JzdzkjZZwV4Re5jPY5vNL9LTOqIr/x3rQiSo04M5u1rCuHKRFP3Dw
ZFxamOXPDSo1Oo32042/yAwgpI+En1YVEEvXwNhudCeG1mEAxW+UejdhEAkxrpFt
+BqDo+XWh9jNyqBFUMtMjjzbF3SWfjeDtMfFPCy6IamUqCWJoXk6uhGF6RH1GHqL
QBJP3NSxMMU5X68fVG/dr2DKiprZmuJuuNup3qZJwGWZZAHV3/Z+3gmTLL/ISqDH
RZnm2lc1aIgIFdD7s1cFxHueD3j7shxbwmFXkn5Jd+RUjKf7nDU=
=enmW
-----END PGP SIGNATURE-----

Mime
View raw message