From solr-user-return-151387-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Thu Jan 9 18:41:59 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id C48DD18063F for ; Thu, 9 Jan 2020 19:41:58 +0100 (CET) Received: (qmail 20317 invoked by uid 500); 9 Jan 2020 18:41:54 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 20266 invoked by uid 99); 9 Jan 2020 18:41:54 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jan 2020 18:41:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D41461A32A4 for ; Thu, 9 Jan 2020 18:41:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.499 X-Spam-Level: X-Spam-Status: No, score=-0.499 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.2, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=messagingengine.com Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id o4wqfe0BDrGe for ; Thu, 9 Jan 2020 18:41:46 +0000 (UTC) Received-SPF: Pass (helo) identity=helo; client-ip=64.147.123.24; helo=wout1-smtp.messagingengine.com; envelope-from=wunder@wunderwood.org; receiver= Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 5F4D0BC564 for ; Thu, 9 Jan 2020 18:41:46 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 4A29F737 for ; Thu, 9 Jan 2020 13:41:39 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 09 Jan 2020 13:41:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ebw0Dv TRTMqUZRPKxfPsaZwzsC1it8DkmZoTTxXIFFo=; b=m0QbOdBP3xBicrxxac2r4b ZchrRdxjUYcBSvpx0z2L0thxgT/o9BQbnnbYn+5Sbv63gYOJYrIc0E7A+wbhdltv J/QHyXwQRWBf6FXMnfQ8aXDEoM/CloVV/o/0ClLqTyzDM/STxgkm0TWZ9HKk4Nsi MT4yYO2LFZDsHJpqphoxnyruSlIUJKLRBcfnBiWftYI1Uv8/81iarVtnSkxMdk/p A7oc3bDFA0HKY+P1IsJdVDaSgd5IkJDzoP3SsADqvAPX+taN835DiEmHwje9tRBP MTxVxT55TqQruAsdb7zOOgpgRvwl94vRL/fKO2Mgtdaq0+yaYBmW7PycJugjldSQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdeiuddgkedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhtggguffffhfvjgfkofesrgdtmh erhhdtjeenucfhrhhomhephggrlhhtvghrucgfnhguvghrfihoohguuceofihunhguvghr seifuhhnuggvrhifohhougdrohhrgheqnecuffhomhgrihhnpeifuhhnuggvrhifohhoug drohhrghdpfhgrtggvsghoohhkrdgtohhmnecukfhppeejiedrvddukedruddtgedrieeh necurfgrrhgrmhepmhgrihhlfhhrohhmpeifuhhnuggvrhesfihunhguvghrfihoohgurd horhhgnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.1.78] (76-218-104-65.lightspeed.sntcca.sbcglobal.net [76.218.104.65]) by mail.messagingengine.com (Postfix) with ESMTPA id 40DBA30600A8 for ; Thu, 9 Jan 2020 13:41:38 -0500 (EST) From: Walter Underwood Content-Type: multipart/alternative; boundary="Apple-Mail=_0B19BACC-1947-4817-8B28-6902CD6CE239" Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Add Solr files to VCS (GIT) Date: Thu, 9 Jan 2020 10:41:35 -0800 References: <3451DFD8-33FD-4B15-AAE1-7AC5C3413999@gmail.com> To: solr-user@lucene.apache.org In-Reply-To: Message-Id: <6F8879E9-B4DA-4836-BF86-AFB5ABC008A4@wunderwood.org> X-Mailer: Apple Mail (2.3445.104.11) --Apple-Mail=_0B19BACC-1947-4817-8B28-6902CD6CE239 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 If you only have one server, that isn=E2=80=99t production or search = isn=E2=80=99t important. So it doesn=E2=80=99t really matter how you update it. wunder Walter Underwood wunder@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Jan 9, 2020, at 7:48 AM, Paras Lehana = wrote: >=20 > Hey Erick, >=20 > Thanks for your reply. >=20 > We have only one production server and one development server both > connected with same git repo (different branches). I'm using Solr in > standalone mode. >=20 > On Thu, 9 Jan 2020 at 19:48, Erick Erickson = wrote: >=20 >> There=E2=80=99s nothing built in to Solr that will automatically pull = files from a >> VCS repo, so it=E2=80=99s a manual process. Which is one of the = =E2=80=9Cgotchas=E2=80=9D about >> managed config files, but that=E2=80=99s another rant. >>=20 >> Are you running SolrCloud or stand-alone? If SolrCloud, it doesn=E2=80=99= t make >> sense to talk about /var/solr/data/core/conf, you=E2=80=99d need to = have one >> copy in VCS and push/pull it to/from ZooKeeper as needed with >> =E2=80=9Cbin/solr zk upconfig|downconfig=E2=80=9D. >>=20 >> As for solr.in.sh, I=E2=80=99d keep a master copy in VCS and, if your = setup is >> complicated use something like Puppet or Chef or whatever to >> automate pushing changes to all my servers. Otherwise do it >> manually if you only have a few servers. >>=20 >> Best, >> Erick >>=20 >>=20 >>> On Jan 9, 2020, at 8:19 AM, Paras Lehana = >> wrote: >>>=20 >>> Hi Community, >>>=20 >>> We have just set up a new server with Solr 8.4 on production. = Instead of >>> changing files like solrconfig and solr.in.sh by logging on the = server, >> we >>> are planning to have some VCS. We have integrated GIT on our server = but, >> as >>> other servers, there is a single directory where git files are = supposed >> to >>> be uploaded. >>>=20 >>> We have followed "Taking Solr to production" and thus our core conf = files >>> live in /var/solr/data/core/conf while solr.in.sh is in = /etc/default/. >>>=20 >>> What is your preferred method to integrate VCS for files like these? = For >> a >>> workaround, I'm thinking of changing these files with symbolic links = that >>> will point to git files. Or we can have an automated process (like = rsync) >>> to copy files. >>>=20 >>> Just asking the community how they manage version control for Solr = files. >>>=20 >>> -- >>> -- >>> Regards, >>>=20 >>> *Paras Lehana* [65871] >>> Development Engineer, Auto-Suggest, >>> IndiaMART Intermesh Ltd. >>>=20 >>> 8th Floor, Tower A, Advant-Navis Business Park, Sector 142, >>> Noida, UP, IN - 201303 >>>=20 >>> Mob.: +91-9560911996 >>> Work: 01203916600 | Extn: *8173* >>>=20 >>> -- >>> * >>> * >>>=20 >>> >>=20 >>=20 >=20 > --=20 > --=20 > Regards, >=20 > *Paras Lehana* [65871] > Development Engineer, Auto-Suggest, > IndiaMART Intermesh Ltd. >=20 > 8th Floor, Tower A, Advant-Navis Business Park, Sector 142, > Noida, UP, IN - 201303 >=20 > Mob.: +91-9560911996 > Work: 01203916600 | Extn: *8173* >=20 > --=20 > * > * >=20 > --Apple-Mail=_0B19BACC-1947-4817-8B28-6902CD6CE239--