[OpenAFS] Re: Starting an server (both DB and FS) without `BOS` (e.g. on Linux with systemd)

Jeffrey Altman jaltman@auristor.com
Sat, 9 Mar 2019 16:16:19 -0500


This is a cryptographically signed message in MIME format.

--------------ms030708010304060006070907
Content-Type: multipart/mixed;
 boundary="------------F78AE0FE203D8831531C8829"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------F78AE0FE203D8831531C8829
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 3/9/2019 5:05 AM, Ciprian Dorin Craciun wrote:
> [I'm adding to the previous question also the issue of salvaging.  I'm
> quoting what I've asked on a previous thread.]
>=20
> BTW, on the topic of volume salvaging, when I define my DAFS / FS node
> I start a node of `salvager` (for FS) and `dasalvager` and
> `salvageserver`.  However looking at the running processes the
> `salvager` and `dasalvager` don't seem to be running after the initial
> startup.  Thus I wonder how the salvage process actually happens?
>=20
> Does the `fileserver` / `dafileserver` actually start the salvage
> process, or do they communicate this to the `bos` to restart only that
> service?

The BOS Overseer Service plays a number of roles:

1. It is a cross-platform remote management interface for the
   creating, deleting, starting, and stopping b-node services
   There are four types of bnodes:

   a. simple - any single process service for example ptserver,
      vlserver, buserver, one of the MIT/Heimdal kerberos services,
      etc.  Simple services do not have any special interaction
      with bosserver.

   b. cron - like a simple bnode but which can be executed once
      at start (now), daily, or weekly

   c. fs - a bnode which defines the process group for
      the legacy fileserver.  The bosserver has special knowledge
      related to process restart in case of failure and integration
      with the "bos salvage" command.

   d. dafs - a bnode which defines the process group for the
      demand attach fileserver.  The bosserver has special knowledge
      related to process restart in case of failure and integration
      with the "bos salvage" command.

2. The bosserver is responsible for managing the content of many
   configuration files including BosConfig, UserList, and
   the server version of the CellServDB file.  The KeyFile can
   also be updated via bosserver.  The files other than BosConfig
   are shared with the AFS services

3. The bosserver is used to request manual salvages of individual
   volumes or whole partitions.  When the "fs" bnode is in use,
   the bnode will be stopped and started while the salvage takes
   place.  With the "dafs" bnode, single volume salvages do not
   require the "dafs" bnode to be halted but full partition
   salvages do.

4. Remote fetching of log files.

5. Remote execution of arbitrary commands.

Most but not all of these functions could be performed with other tools.
 Managing the special inter-dependencies of the "fs" and "dafs" bnode
processes and salvaging are the two exceptions.

Jeffrey Altman


--------------F78AE0FE203D8831531C8829
Content-Type: text/x-vcard; charset=utf-8;
 name="jaltman.vcf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="jaltman.vcf"

begin:vcard
fn:Jeffrey Altman
n:Altman;Jeffrey
org:AuriStor, Inc.
adr:Suite 6B;;255 West 94Th Street;New York;New York;10025-6985;United St=
ates
email;internet:jaltman@auristor.com
title:Founder and CEO
tel;work:+1-212-769-9018
note;quoted-printable:LinkedIn: https://www.linkedin.com/in/jeffreyaltman=
=3D0D=3D0A=3D
	Skype: jeffrey.e.altman=3D0D=3D0A=3D
=09
url:https://www.auristor.com/
version:2.1
end:vcard


--------------F78AE0FE203D8831531C8829--

--------------ms030708010304060006070907
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
DGswggXSMIIEuqADAgECAhBAAWbTGehnfUuu91hYwM5DMA0GCSqGSIb3DQEBCwUAMDoxCzAJ
BgNVBAYTAlVTMRIwEAYDVQQKEwlJZGVuVHJ1c3QxFzAVBgNVBAMTDlRydXN0SUQgQ0EgQTEy
MB4XDTE4MTEwMjA2MjYyMloXDTE5MTEwMjA2MjYyMlowcDEvMC0GCgmSJomT8ixkAQETH0Ew
MTQyN0UwMDAwMDE2NkQzMTlFODFBMDAwMDdBN0IxGTAXBgNVBAMTEEplZmZyZXkgRSBBbHRt
YW4xFTATBgNVBAoTDEF1cmlTdG9yIEluYzELMAkGA1UEBhMCVVMwggEiMA0GCSqGSIb3DQEB
AQUAA4IBDwAwggEKAoIBAQDqEYwjLORE23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