Discussion:
[arangodb-google] Unattended installation of ArangoDB on Debian 9/ Ubuntu 18
Monosij Dutta-Roy
2018-05-25 17:28:22 UTC
Permalink
Hello -

I am updating my bash scripts for unattended installation of ArangoDB 3.3.9.

Repo installs fine and installation starts ok.

My previous scripts for 3.1.24 had these following debconf-selections:

echo arangodb3 arangodb3/backup boolean false | debconf-set-selections
echo arangodb3 arangodb3/upgrade boolean false | debconf-set-selections
echo arangodb3 arangodb3/password password NEWPASSWORD |
debconf-set-selections
echo arangodb3 arangodb3/password_again password NEWPASSWORD |
debconf-set-selections

However, now I am stuck at setting a storage engine as below.

If you could please let me know what would be the debconf-set-selections
for this and any other new selections that may have been added would be
great.

For now the storage engine is ok to be set to auto i.e. mmfiles I
understand.

But if you please let me know what would be the option to set to rocksdb,
including any other additional installation steps necessary, as well would
be great.

Thank you.

Monosij

... Stuck Here
Package configuration┌────────────────────────── Configuring arangodb3
├─────────────────────────┐│ Choose which storage engine you want to use.
Please note that you can't ││ switch storage engines of existing
installations, a dump and restore is ││ required therefore. 'auto' will
pick the existing one or default to││ mmfiles.││││ Database storage
engine││││auto
││mmfiles││rocksdb││││││<Ok><Cancel>│││└───────────────────────────────────────────────────────────────────────────┘
--
You received this message because you are subscribed to the Google Groups "ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arangodb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Wilfried Gösgens
2018-05-28 08:25:54 UTC
Permalink
Hi,
the storage engine you choose depends on your requirements:
https://docs.arangodb.com/3.3/Manual/Architecture/StorageEngines.html

If your application is known to perform well with mmfiles (the pre-existing
storage engine)
you can stay with that - thats the reason why the default is *auto ==
mmfiles* - so users
have to choose a different storage engine.

You may want to test the behaviour and performance of your application by
benchmarking
before / after switching it.

https://github.com/arangodb/arangodb/blob/devel/Installation/debian/templates.in
is the file containing all questions.

Cheers,
Willi
Post by Monosij Dutta-Roy
Hello -
I am updating my bash scripts for unattended installation of ArangoDB 3.3.9.
Repo installs fine and installation starts ok.
echo arangodb3 arangodb3/backup boolean false | debconf-set-selections
echo arangodb3 arangodb3/upgrade boolean false | debconf-set-selections
echo arangodb3 arangodb3/password password NEWPASSWORD |
debconf-set-selections
echo arangodb3 arangodb3/password_again password NEWPASSWORD |
debconf-set-selections
However, now I am stuck at setting a storage engine as below.
If you could please let me know what would be the debconf-set-selections
for this and any other new selections that may have been added would be
great.
For now the storage engine is ok to be set to auto i.e. mmfiles I
understand.
But if you please let me know what would be the option to set to rocksdb,
including any other additional installation steps necessary, as well would
be great.
Thank you.
Monosij
... Stuck Here
Package configuration┌────────────────────────── Configuring arangodb3
├─────────────────────────┐│ Choose which storage engine you want to use.
Please note that you can't ││ switch storage engines of existing
installations, a dump and restore is ││ required therefore. 'auto' will
pick the existing one or default to││ mmfiles.││││ Database storage
engine││││auto
││mmfiles││rocksdb││││││<Ok><Cancel>│││└───────────────────────────────────────────────────────────────────────────┘
--
You received this message because you are subscribed to the Google Groups "ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arangodb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Monosij Dutta-Roy
2018-05-30 16:16:24 UTC
Permalink
Hi Wilfried -

I was actually asking about unattended installation. Not the choice of
storage engines. I am ok with default storage engine. Just how do I get
past this screen in unatttended mode.

Please note the beginning part of my question.

Thank you.

Mono
Post by Wilfried Gösgens
Hi,
https://docs.arangodb.com/3.3/Manual/Architecture/StorageEngines.html
If your application is known to perform well with mmfiles (the
pre-existing storage engine)
you can stay with that - thats the reason why the default is *auto ==
mmfiles* - so users
have to choose a different storage engine.
You may want to test the behaviour and performance of your application by
benchmarking
before / after switching it.
https://github.com/arangodb/arangodb/blob/devel/Installation/debian/templates.in
is the file containing all questions.
Cheers,
Willi
Post by Monosij Dutta-Roy
Hello -
I am updating my bash scripts for unattended installation of ArangoDB 3.3.9.
Repo installs fine and installation starts ok.
echo arangodb3 arangodb3/backup boolean false | debconf-set-selections
echo arangodb3 arangodb3/upgrade boolean false | debconf-set-selections
echo arangodb3 arangodb3/password password NEWPASSWORD |
debconf-set-selections
echo arangodb3 arangodb3/password_again password NEWPASSWORD |
debconf-set-selections
However, now I am stuck at setting a storage engine as below.
If you could please let me know what would be the debconf-set-selections
for this and any other new selections that may have been added would be
great.
For now the storage engine is ok to be set to auto i.e. mmfiles I
understand.
But if you please let me know what would be the option to set to rocksdb,
including any other additional installation steps necessary, as well would
be great.
Thank you.
Monosij
... Stuck Here
Package configuration┌────────────────────────── Configuring arangodb3
├─────────────────────────┐│ Choose which storage engine you want to use.
Please note that you can't ││ switch storage engines of existing
installations, a dump and restore is ││ required therefore. 'auto' will
pick the existing one or default to││ mmfiles.││││ Database storage
engine││││auto
││mmfiles││rocksdb││││││<Ok><Cancel>│││└───────────────────────────────────────────────────────────────────────────┘
--
You received this message because you are subscribed to the Google Groups "ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arangodb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Wilfried Gösgens
2018-05-30 16:54:45 UTC
Permalink
Hi,
the template referenced in my post contains the neccessary information. Its:

echo arangodb3 arangodb3/storage_engine select mmfiles |
debconf-set-selections

according to
http://manpages.ubuntu.com/manpages/xenial/man1/debconf-set-selections.1.html
Post by Monosij Dutta-Roy
Hi Wilfried -
I was actually asking about unattended installation. Not the choice of
storage engines. I am ok with default storage engine. Just how do I get
past this screen in unatttended mode.
Please note the beginning part of my question.
Thank you.
Mono
Post by Wilfried Gösgens
Hi,
https://docs.arangodb.com/3.3/Manual/Architecture/StorageEngines.html
If your application is known to perform well with mmfiles (the
pre-existing storage engine)
you can stay with that - thats the reason why the default is *auto ==
mmfiles* - so users
have to choose a different storage engine.
You may want to test the behaviour and performance of your application by
benchmarking
before / after switching it.
https://github.com/arangodb/arangodb/blob/devel/Installation/debian/templates.in
is the file containing all questions.
Cheers,
Willi
Post by Monosij Dutta-Roy
Hello -
I am updating my bash scripts for unattended installation of ArangoDB 3.3.9.
Repo installs fine and installation starts ok.
echo arangodb3 arangodb3/backup boolean false | debconf-set-selections
echo arangodb3 arangodb3/upgrade boolean false | debconf-set-selections
echo arangodb3 arangodb3/password password NEWPASSWORD |
debconf-set-selections
echo arangodb3 arangodb3/password_again password NEWPASSWORD |
debconf-set-selections
However, now I am stuck at setting a storage engine as below.
If you could please let me know what would be the debconf-set-selections
for this and any other new selections that may have been added would be
great.
For now the storage engine is ok to be set to auto i.e. mmfiles I
understand.
But if you please let me know what would be the option to set to
rocksdb, including any other additional installation steps necessary, as
well would be great.
Thank you.
Monosij
... Stuck Here
Package configuration┌────────────────────────── Configuring arangodb3
├─────────────────────────┐│ Choose which storage engine you want to use.
Please note that you can't ││ switch storage engines of existing
installations, a dump and restore is ││ required therefore. 'auto' will
pick the existing one or default to││ mmfiles.││││ Database storage
engine││││auto
││mmfiles││rocksdb││││││<Ok><Cancel>│││└───────────────────────────────────────────────────────────────────────────┘
--
You received this message because you are subscribed to the Google Groups "ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arangodb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...