From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WGDBEoceX2U+vQAA9RJhRA:P1 (envelope-from ) for ; Thu, 23 Nov 2023 10:42:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WGDBEoceX2U+vQAA9RJhRA (envelope-from ) for ; Thu, 23 Nov 2023 10:42:31 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CA55613923 for ; Thu, 23 Nov 2023 10:42:30 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="k6kWDo/S"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-science-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-science-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700732551; a=rsa-sha256; cv=none; b=DCveIpwh46slMZOF1RMc1/4sflOYE2XlIrg5cyLPXtO2HaI2225Wu9a2p5kivCem9/1XEd gkbYGL1H87Jqh92MmBeUq9bH0+sNpNySLIoYQ0rYOkH3E4BFohr7U6OmVrqyzm9BejfbrI d3zDZDolleB7Fm8IfRNtNU2CmhwqY0ey0iMTw0soWZiLlpzQAbd61akmcbw+/IfY6hbEM/ sR0i+z1eOVFT3KB7Bv84ne57fwSc42VW6twsos8eNDdBLMTp9UE4S0NCkzmEllDFohQXZ5 /1Y88+FhzlFJPIHxlYpH7Rf9uKM2LlBiAaI/m8CWn73Y0MWCtyTo3BrxjzSXbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="k6kWDo/S"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-science-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-science-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700732551; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=/YQZgOby+u8yAPPMIVyk14/omfctfWwSdCiYPL22HCU=; b=o91YNPJXMdHt/5US16wKba++BpI8XHD9+wFat6GvsspSrtaEi/8qERJGqvPW1Row4kgMhW jIBiGuu804rVENBlGoRI0MTJq2y2wjVa9SxymdqljCfUaEqhzePe4gS0/7fYUFhoV49Zb6 TaVsW8xarqeJSbU8oFVTAKIwYcu3PWD/+dJPXm6Fzlkk8P74j5HTZyeAC4zS1WgkD2DQGn FpAMMIyDSpITPCkZq6RkenHPZCEHQJq1uUl2zzMol+WgRFErMjzkod30jbYeWZ1TALABA+ 0fqsm0xG6ngLkRe1XQKdZLZRqn+lf++LaL8ttn6pXABmvzhk2GB/q8BORqtR4A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r66Dt-0003xo-OF; Thu, 23 Nov 2023 04:42:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r66Ds-0003xN-2t; Thu, 23 Nov 2023 04:42:12 -0500 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r66Dq-0005kW-AE; Thu, 23 Nov 2023 04:42:11 -0500 Received: by mail-pj1-x102d.google.com with SMTP id 98e67ed59e1d1-2854757f0f8so596154a91.1; Thu, 23 Nov 2023 01:42:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700732528; x=1701337328; darn=gnu.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=/YQZgOby+u8yAPPMIVyk14/omfctfWwSdCiYPL22HCU=; b=k6kWDo/SPnvr9L7USIpPwd7pXpCc/m3oP3zTEW3XtNelRS6aB/Tx+90QsiXpe7rdb/ bcS4UJZOaKe/PXdElmwNqWckRy9m/Nas45ilv2q96zFJXKQNK6ZF0eraAMv+3a0rZBFw 4xxSL/FgLcvoA8n7R2+mtI8iUBfYO2icueKZtiQOcV9vxWpPLig3HwhHOtp9Lks5/zF/ E6/zoqwK9HNp5SIWQ9C6K4Yy4SEWbx/rRezSQRXzb7jyfUS4iZHXSg2HTxyo/JjtZ/WG 9XOO6PFJLBNViSjpRakfpDqwFl/yUjAeGgkiBMjXrtgR+ey5GTKhiPt5M/To/fa8wci/ eHQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700732528; x=1701337328; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/YQZgOby+u8yAPPMIVyk14/omfctfWwSdCiYPL22HCU=; b=adG2tTRaWIko/c1N888g2eoYffBOwxtxbgxoweZNJMZJ9ZgA35QHoz4C4pGwFHWJY+ El1r2WOBlQU8s9kAXKhKCqX2s5KVNovdBuF/3DdxYMVuX9GhLVnfVoi2FbIZFzUXn+kJ k0Vy1UtQD/xt8vynVLqXAtTuAOXXsJrKU6g9CL1C6K5iZQbARNwz3KZ4v7oxuXRQze+S v7aVJh+1ASYTSd8SYV8u407erJMdGrNByu8qNl6Ch3G95LQcLzjWEKj9VusTg6woaZFX kL6ByCt9mP1Bt3dpS9hCSHIend/+10hMB0oR35C71W/ZGPH/aN+1bctTXEspSHEdvZF6 eK5w== X-Gm-Message-State: AOJu0Yx/E3Krqng27KQScNSavxygJUGyRkK4n6IIytC/o9DTKsNFqI7S 9F0OUnjekevgWkOqZ+GC2cyI21W/UvwKAKuO7EvBeCdG X-Google-Smtp-Source: AGHT+IEJHzv89hbKWcbF4zKS1PHPimCNpdiCts8Hxes1LKR7BJi53B14STYXv4fLFRevJwjPa3flKyWrlflxpse3ahk= X-Received: by 2002:a17:90b:3b8c:b0:27d:3e8f:26dc with SMTP id pc12-20020a17090b3b8c00b0027d3e8f26dcmr4677032pjb.9.1700732528291; Thu, 23 Nov 2023 01:42:08 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "Etienne B. Roesch" Date: Thu, 23 Nov 2023 09:41:56 +0000 Message-ID: Subject: Re: guix on nfs based systems To: "Etienne B. Roesch" , help-guix@gnu.org, guix-science@gnu.org Content-Type: multipart/alternative; boundary="00000000000034f6de060acea62c" Received-SPF: pass client-ip=2607:f8b0:4864:20::102d; envelope-from=etienne.roesch@gmail.com; helo=mail-pj1-x102d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-science@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-science-bounces+larch=yhetil.org@gnu.org Sender: guix-science-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: CA55613923 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.43 X-Spam-Score: -9.43 X-TUID: yHZP/qDagrXf --00000000000034f6de060acea62c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks! That's really helpful! How robust is your system to bandwidth fluctuations and network hiccups? How big is your store, /gnu, /var/guix? How many users do you have? Etienne On Thu, Nov 23, 2023 at 6:32=E2=80=AFAM Efraim Flashner wrote: > On Wed, Nov 22, 2023 at 05:32:07PM +0000, Etienne B. Roesch wrote: > > Hi, > > > > I have been successful in convincing our IT dept to provide guix as > > standard on our vms and research clusters. We use this sophisticated > > platform that allows users to spawn a vm at will, and also use this > shared > > ldap user database to allow for people to log on from computers/termina= ls > > spread on campus. Home directories are basically pulled from the OS > (mostly > > ubuntu and centos) as a shared file system on the network, which then > > synchronises changes live. Practically, that means a user will find its > > desktop, preferences and files as they move to different computers. > > > > Theoretically, a user can connect to several computers at the same time= , > > which can lead to conflict issues at times, e.g. firefox doesn't like > > parallel access to its preferences. I haven't fully tested it, but we > think > > that a guix profile is specific to a given computer, because of the way > it > > links to the store, which is (currently) local to the vm, which isn't > > ideal: the whole point of using vms is for users to kill them when they > > don't need them. > > > > What would be the recommended way of solving this? Has anybody had a > > similar situation? > > I am thinking we could either: > > - leave it as is, and train users to recreate their profiles whenever > they > > use a new vm/computer (after all, that's what guix is for) but it could > > take some time to recompile if binaries aren't available > > - maybe turn /gnu/store as a shared nfs folder > > CCing guix-science > > One thing we do on the small cluster at UTenn is /gnu and /var/guix (in > addition to the home directories) are exported across NFS and then any > profiles that are installed in the users' home directories have their > symlinks not dangling. > > I also have a snippet in my .profile to use GUIX_DAEMON_SOCKET to ssh > back to the head node to use the guix-daemon there, which keeps all the > guix stuff on one machine and easier to manage and make sure the same > software is available on all the machines. > > -- > Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7= =A4 =D7=9D=D7=99=D7=A8=D7=A4=D7=90 > GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 > Confidentiality cannot be guaranteed on emails sent or received unencrypt= ed > --00000000000034f6de060acea62c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks! That's really=C2=A0helpful! How robust is your= system to bandwidth fluctuations and network hiccups?
How big is your = store, /gnu, /var/guix?

How many users do you=C2= =A0have?

Etienne

On Thu, Nov 23, 2= 023 at 6:32=E2=80=AFAM Efraim Flashner <efraim@flashner.co.il> wrote:
On = Wed, Nov 22, 2023 at 05:32:07PM +0000, Etienne B. Roesch wrote:
> Hi,
>
> I have been successful in convincing our IT dept to provide guix as > standard on our vms and research clusters. We use this sophisticated > platform that allows users to spawn a vm at will, and also use this sh= ared
> ldap user database to allow for people to log on from computers/termin= als
> spread on campus. Home directories are basically pulled from the OS (m= ostly
> ubuntu and centos) as a shared file system on the network, which then<= br> > synchronises changes live. Practically, that means a user will find it= s
> desktop, preferences and files as they move to different computers. >
> Theoretically, a user can connect to several computers at the same tim= e,
> which can lead to conflict issues at times, e.g. firefox doesn't l= ike
> parallel access to its preferences. I haven't fully tested it, but= we think
> that a guix profile is specific to a given computer, because of the wa= y it
> links to the store, which is (currently) local to the vm, which isn= 9;t
> ideal: the whole point of using vms is for users to kill them when the= y
> don't need them.
>
> What would be the recommended way of solving this? Has anybody had a > similar situation?
> I am thinking we could either:
> - leave it as is, and train users to recreate their profiles whenever = they
> use a new vm/computer (after all, that's what guix is for) but it = could
> take some time to recompile if binaries aren't available
> - maybe turn /gnu/store as a shared nfs folder

CCing guix-science

One thing we do on the small cluster at UTenn is /gnu and /var/guix (in
addition to the home directories) are exported across NFS and then any
profiles that are installed in the users' home directories have their symlinks not dangling.

I also have a snippet in my .profile to use GUIX_DAEMON_SOCKET to ssh
back to the head node to use the guix-daemon there, which keeps all the
guix stuff on one machine and easier to manage and make sure the same
software is available on all the machines.

--
Efraim Flashner=C2=A0 =C2=A0<efraim@flashner.co.il>=C2=A0 =C2=A0=D7=A8=D7=A0=D7= =A9=D7=9C=D7=A4 =D7=9D=D7=99=D7=A8=D7=A4=D7=90
GPG key =3D A28B F40C 3E55 1372 662D=C2=A0 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted=
--00000000000034f6de060acea62c--