pcp
[Top] [All Lists]

Re: PCP Installation

To: pcp@xxxxxxxxxxx
Subject: Re: PCP Installation
From: Mehran Saliminia <msaliminia@xxxxxxxxx>
Date: Thu, 7 May 2015 09:04:09 +0200
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=HpnZozR6Tz/s85Qj5VDViFHaYjWVZNqGjQOe4546q1Q=; b=mPVXuNMF8YWjVhPmqzcbhig3tImE7X7P/YZDVlVbwC3A8gl2vY5p9gPWpEMjULXUw2 sPQAPSE5HPd6wiiENvFRFVBwAWemfKULAHifUYCJfFdU1gsbNSgro7JuZvvpR/s7TKsm oywEkMC48W7deEpOi/Q8po5vdFIe9XvTt8V+UZTSYm6FG/dHa58naJ/7evm034pRByva 3dhrTf/8G0z2ycgvFOh+NxNKKqgmx1RM2e5UfkFRGWsHCVS3bBR+Hy7so9z4LK/61QXU lGcI3If0bUKymLF7pXtQlWQrg6mMKlvLy9LHtoT2J1gsz6xkrawsxdh3ZrS6qjxS+6Qi 5dUg==
In-reply-to: <87h9rp1tly.fsf@xxxxxxxxxx>
References: <CALsPFxwT8eEVE24uE5_=56zyMztQ8Ozks0mw15P5sPGa_=7RUA@xxxxxxxxxxxxxx> <87h9rp1tly.fsf@xxxxxxxxxx>
Thank you Lukas for your guidance and advise!



On Wed, May 6, 2015 at 7:52 PM, Lukas Berk <lberk@xxxxxxxxxx> wrote:
Hi Mehran,

Mehran Saliminia <msaliminia@xxxxxxxxx> writes:
[...]
> Since you are one of the main contributors of the PCP github project,
> I would ask a couple of questions about the PCP-Installation from the
> source code.

Sure, but in the future please considering sending this to a wider
audience such as the pcp mailing list ( pcp@xxxxxxxxxxx ). There is
a much greater amount of combined expertise on the list.

> I am going to install pcp from the source code and all its
> dependencies as well.
>
> Firstly, I want to have a packaging script for pcp, something like
> this, but for pcp and its dependencies:
>
> https://github.com/cloudfoundry/cf-release/blob/94bb01c0673d1d327b07e64dd7714d2f775748d3/packages/libpq/packaging
>
> We assume that we have everything locally so that we can install
> everything without any internet connection. without apt-get I mean.

Sounds like you should use the include Makepkgs script. Assuming you
have all the proper dependencies, it should build your .debs

> Secondly, I am going to have some ctrl script to start and stop pcp
> processes. Something like this:
>
> https://github.com/cloudfoundry/cf-release/blob/94bb01c0673d1d327b07e64dd7714d2f775748d3/jobs/etcd/templates/etcd_ctl.erb
>
> I don't want to use service pcp start/stop. I am going to install pcp
> in a specific directory and be able to control all processes within my
> script.

I suppose one could invoke the rc scripts we provide manually. Due to
PCP's architecture there is commonly more than one service running based
on your desired setup/functionality. More specificity on what
functionality is desired would be helpful.

Cheers,

Lukas



--
Mehran Saliminia

Please consider the impact on the environment before printing this e-mail.
<Prev in Thread] Current Thread [Next in Thread>
  • Re: PCP Installation, Mehran Saliminia <=