From: Francis Dupont Date: Fri, 21 Jun 2019 15:52:57 +0000 (+0200) Subject: [466-kea-admin-lease-options-to-be-renamed-to-db] Checkpoint: kea-admin lease-{^dump... X-Git-Tag: Kea-1.6.0-beta2~107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e30f9866672e7b890faf66123a6f1de75b54ffd;p=thirdparty%2Fkea.git [466-kea-admin-lease-options-to-be-renamed-to-db] Checkpoint: kea-admin lease-{^dump} -> db-* (doc) --- diff --git a/doc/guide/admin.xml b/doc/guide/admin.xml index c7e709c0bc..4477091489 100644 --- a/doc/guide/admin.xml +++ b/doc/guide/admin.xml @@ -70,7 +70,7 @@ - lease-init — + db-init — Initializes a new database schema. This is useful during a new Kea installation. The database is initialized to the latest version supported by the version of the software being @@ -80,7 +80,7 @@ - lease-version — + db-version — Reports the database backend version number. This is not necessarily equal to the Kea version number as each backend has its own versioning scheme. @@ -89,7 +89,7 @@ - lease-upgrade — + db-upgrade — Conducts a database schema upgrade. This is useful when upgrading Kea. @@ -367,7 +367,7 @@ $ If you elected not to create the tables in Step 4, you can do so now by running the kea-admin tool: -$ kea-admin lease-init mysql -u database-user -p database-password -n database-name +$ kea-admin db-init mysql -u database-user -p database-password -n database-name (Do not do this if you did create the tables in Step 4.) kea-admin implements rudimentary checks; @@ -385,14 +385,14 @@ $ kea-admin lease-init mysql -u database-user Sometimes a new Kea version may use a newer database schema, so the existing database will need to be upgraded. This can - be done using the kea-admin lease-upgrade + be done using the kea-admin db-upgrade command. To check the current version of the database, use the following command: -$ kea-admin lease-version mysql -u database-user -p database-password -n database-name +$ kea-admin db-version mysql -u database-user -p database-password -n database-name (See for a discussion about versioning.) If the version does not match the minimum @@ -407,7 +407,7 @@ $ kea-admin lease-version mysql -u database-user -$ kea-admin lease-upgrade mysql -u database-user -p database-password -n database-name +$ kea-admin db-upgrade mysql -u database-user -p database-password -n database-name @@ -427,7 +427,7 @@ $ kea-admin lease-upgrade mysql -u database-userFirst-Time Creation of the PostgreSQL Database - The first task is to create both the lease database and the + The first task is to create both the database and the user under which the servers will access it. A number of steps are required: @@ -561,7 +561,7 @@ host database-name user-namekea-admin tool: -$ kea-admin lease-init pgsql -u database-user -p database-password -n database-name +$ kea-admin db-init pgsql -u database-user -p database-password -n database-name Do not do this if you already created the tables manually. kea-admin implements rudimentary checks; @@ -583,11 +583,11 @@ $ kea-admin lease-init pgsql -u database-user Use the following command to check the current schema version: -$ kea-admin lease-version pgsql -u database-user -p database-password -n database-name +$ kea-admin db-version pgsql -u database-user -p database-password -n database-name Use the following command to perform an upgrade: -$ kea-admin lease-upgrade pgsql -u database-user -p database-password -n database-name +$ kea-admin db-upgrade pgsql -u database-user -p database-password -n database-name @@ -598,7 +598,7 @@ $ kea-admin lease-upgrade pgsql -u database-user Cassandra (sometimes for historical reasons referred to in documentation and commands as CQL) is the newest backend - added to Kea; initial development was contributed by Deutsche Telekom. + added to Kea; initial development was contributed by Deutsche Telekom. The Cassandra backend is able to store leases, host reservations, and options defined on a per-host basis. @@ -668,7 +668,7 @@ cql> CREATE KEYSPACE keyspace-name WITH replication = {'class' : ' If you elected not to create the tables in Step 4, you can do so now by running the kea-admin tool: -$ kea-admin lease-init cql -n database-name +$ kea-admin db-init cql -n database-name (Do not do this if you did create the tables in Step 4.) kea-admin implements rudimentary checks; @@ -686,14 +686,14 @@ $ kea-admin lease-init cql -n database-name Sometimes a new Kea version may use a newer database schema, so the existing database will need to be upgraded. This can - be done using the kea-admin lease-upgrade + be done using the kea-admin db-upgrade command. To check the current version of the database, use the following command: -$ kea-admin lease-version cql -n database-name +$ kea-admin db-version cql -n database-name (See for a discussion about versioning.) If the version does not match the minimum @@ -708,7 +708,7 @@ $ kea-admin lease-version cql -n database-name -$ kea-admin lease-upgrade cql -n database-name +$ kea-admin db-upgrade cql -n database-name