瀏覽代碼

- renamed: bdb_recover -> kambdb_recover

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@4602 689a6050-402a-0410-94f2-e92a70836424
Klaus Darilion 17 年之前
父節點
當前提交
12dc323525
共有 2 個文件被更改,包括 24 次插入24 次删除
  1. 13 13
      modules/db_berkeley/km_README
  2. 11 11
      modules/db_berkeley/km_doc/db_berkeley_admin.xml

+ 13 - 13
modules/db_berkeley/km_README

@@ -43,7 +43,7 @@ Will Quan
         1.10. METADATA_READONLY (optional)
         1.10. METADATA_READONLY (optional)
         1.11. METADATA_LOGFLAGS (optional)
         1.11. METADATA_LOGFLAGS (optional)
         1.12. DB Maintaince Script : kamdbctl 
         1.12. DB Maintaince Script : kamdbctl 
-        1.13. DB Recovery : bdb_recover
+        1.13. DB Recovery : kambdb_recover
         1.14. Known Limitations
         1.14. Known Limitations
 
 
    List of Examples
    List of Examples
@@ -57,7 +57,7 @@ Will Quan
    1.7. METADATA_KEYS
    1.7. METADATA_KEYS
    1.8. METADATA_LOGFLAGS
    1.8. METADATA_LOGFLAGS
    1.9. kamdbctl
    1.9. kamdbctl
-   1.10. bdb_recover usage
+   1.10. kambdb_recover usage
 
 
 Chapter 1. Admin Guide
 Chapter 1. Admin Guide
 
 
@@ -101,7 +101,7 @@ modparam("db_berkeley", "auto_reload", 1)
    The following operations can be journaled: INSERT, UPDATE,
    The following operations can be journaled: INSERT, UPDATE,
    DELETE. Other operations such as SELECT, do not. This
    DELETE. Other operations such as SELECT, do not. This
    journaling are required if you need to recover from a corrupt
    journaling are required if you need to recover from a corrupt
-   DB file. That is, bdb_recover requires these to rebuild the db
+   DB file. That is, kambdb_recover requires these to rebuild the db
    file. If you find this log feature useful, you may also be
    file. If you find this log feature useful, you may also be
    interested in the METADATA_LOGFLAGS bitfield that each table
    interested in the METADATA_LOGFLAGS bitfield that each table
    has. It will allow you to control which operations to journal,
    has. It will allow you to control which operations to journal,
@@ -203,7 +203,7 @@ modparam("db_berkeley", "journal_roll_interval", 3600)
    '/usr/local/share/kamailio/db_berkeley/openser' By default
    '/usr/local/share/kamailio/db_berkeley/openser' By default
    these tables are created Read/Write and without any
    these tables are created Read/Write and without any
    journalling as shown. These settings can be modified on a per
    journalling as shown. These settings can be modified on a per
-   table basis. Note: If you plan to use bdb_recover, you must
+   table basis. Note: If you plan to use kambdb_recover, you must
    change the LOGFLAGS.
    change the LOGFLAGS.
                 METADATA_READONLY
                 METADATA_READONLY
                 0
                 0
@@ -423,13 +423,13 @@ ce of db; output DB_PATH/db.new)
        kamdbctl bdb newappend db datafile (appends data to a new instan
        kamdbctl bdb newappend db datafile (appends data to a new instan
 ce of db; output DB_PATH/db.new)
 ce of db; output DB_PATH/db.new)
 
 
-1.13. DB Recovery : bdb_recover
+1.13. DB Recovery : kambdb_recover
 
 
    The db_berkeley module uses the Concurrent Data Store (CDS)
    The db_berkeley module uses the Concurrent Data Store (CDS)
    architecture. As such, no transaction or journaling is
    architecture. As such, no transaction or journaling is
-   provided by the DB natively. The application bdb_recover is
+   provided by the DB natively. The application kambdb_recover is
    specifically written to recover data from journal files that
    specifically written to recover data from journal files that
-   Kamailio creates. The bdb_recover application requires an
+   Kamailio creates. The kambdb_recover application requires an
    additional text file that contains the table schema.
    additional text file that contains the table schema.
 
 
    The schema is loaded with the '-s' option and is required for
    The schema is loaded with the '-s' option and is required for
@@ -447,20 +447,20 @@ ce of db; output DB_PATH/db.new)
    The following illustrates the four operations available to the
    The following illustrates the four operations available to the
    administrator.
    administrator.
 
 
-   Example 1.10. bdb_recover usage
-usage: ./bdb_recover -s schemadir [-h home] [-c tablename]
+   Example 1.10. kambdb_recover usage
+usage: ./kambdb_recover -s schemadir [-h home] [-c tablename]
         This will create a brand new DB file with metadata.
         This will create a brand new DB file with metadata.
 
 
-usage: ./bdb_recover -s schemadir [-h home] [-C all]
+usage: ./kambdb_recover -s schemadir [-h home] [-C all]
         This will create all the core tables, each with metadata.
         This will create all the core tables, each with metadata.
 
 
-usage: ./bdb_recover -s schemadir [-h home] [-r journal-file]
+usage: ./kambdb_recover -s schemadir [-h home] [-r journal-file]
         This will rebuild a DB and populate it with operation from jour
         This will rebuild a DB and populate it with operation from jour
 nal-file.
 nal-file.
         The table name is embedded in the journal-file name by conventi
         The table name is embedded in the journal-file name by conventi
 on.
 on.
 
 
-usage: ./bdb_recover -s schemadir [-h home] [-R lastN]
+usage: ./kambdb_recover -s schemadir [-h home] [-R lastN]
         This will iterate over all core tables enumerated. If journal f
         This will iterate over all core tables enumerated. If journal f
 iles exist in 'home',
 iles exist in 'home',
         a new DB file will be created and populated with the data found
         a new DB file will be created and populated with the data found
@@ -474,7 +474,7 @@ n
         the last hours data in table location.
         the last hours data in table location.
 
 
    Important note- A corrupted DB file must be moved out of the
    Important note- A corrupted DB file must be moved out of the
-   way before bdb_recover is executed.
+   way before kambdb_recover is executed.
 
 
 1.14. Known Limitations
 1.14. Known Limitations
 
 

+ 11 - 11
modules/db_berkeley/km_doc/db_berkeley_admin.xml

@@ -74,7 +74,7 @@ modparam("db_berkeley", "auto_reload", 1)
 		The following operations can be journaled: 
 		The following operations can be journaled: 
 		INSERT, UPDATE, DELETE. Other operations such as SELECT, do not. 
 		INSERT, UPDATE, DELETE. Other operations such as SELECT, do not. 
 		This journaling are required if you need to recover from a corrupt 
 		This journaling are required if you need to recover from a corrupt 
-		DB file. That is, bdb_recover requires these to rebuild 
+		DB file. That is, kambdb_recover requires these to rebuild 
 		the db file. If you find this log feature useful, you may 
 		the db file. If you find this log feature useful, you may 
 		also be interested in the METADATA_LOGFLAGS bitfield that each 
 		also be interested in the METADATA_LOGFLAGS bitfield that each 
 		table has. It will allow you to control which operations to 
 		table has. It will allow you to control which operations to 
@@ -223,7 +223,7 @@ modparam("db_berkeley", "journal_roll_interval", 3600)
 		By default, the files are installed in '/usr/local/share/kamailio/db_berkeley/openser'
 		By default, the files are installed in '/usr/local/share/kamailio/db_berkeley/openser'
 		By default these tables are created Read/Write and without any journalling as 
 		By default these tables are created Read/Write and without any journalling as 
 		shown. These settings can be modified on a per table basis.
 		shown. These settings can be modified on a per table basis.
-		Note: If you plan to use bdb_recover, you must change the LOGFLAGS.
+		Note: If you plan to use kambdb_recover, you must change the LOGFLAGS.
 		</para>
 		</para>
 	        <programlisting  format="linespecific">
 	        <programlisting  format="linespecific">
 		METADATA_READONLY
 		METADATA_READONLY
@@ -513,13 +513,13 @@ usage: kamdbctl create
 	</section>
 	</section>
 	
 	
 	<section>
 	<section>
-	<title>DB Recovery : bdb_recover</title>
+	<title>DB Recovery : kambdb_recover</title>
 	<para>
 	<para>
 	The db_berkeley module uses the Concurrent Data Store (CDS) architecture. 
 	The db_berkeley module uses the Concurrent Data Store (CDS) architecture. 
 	As such, no transaction or journaling is provided by the DB natively. 
 	As such, no transaction or journaling is provided by the DB natively. 
-	The application bdb_recover is specifically written to recover data from 
+	The application kambdb_recover is specifically written to recover data from 
 	journal files that Kamailio creates.  
 	journal files that Kamailio creates.  
-	The bdb_recover application requires an additional text file that contains 
+	The kambdb_recover application requires an additional text file that contains 
 	the table schema.
 	the table schema.
 	</para>
 	</para>
 	
 	
@@ -540,19 +540,19 @@ usage: kamdbctl create
 	<para>
 	<para>
 	The following illustrates the four operations available to the administrator.
 	The following illustrates the four operations available to the administrator.
 	<example>
 	<example>
-	<title>bdb_recover usage</title>
+	<title>kambdb_recover usage</title>
 	<programlisting>
 	<programlisting>
-usage: ./bdb_recover -s schemadir [-h home] [-c tablename]
+usage: ./kambdb_recover -s schemadir [-h home] [-c tablename]
 	This will create a brand new DB file with metadata.
 	This will create a brand new DB file with metadata.
 
 
-usage: ./bdb_recover -s schemadir [-h home] [-C all]
+usage: ./kambdb_recover -s schemadir [-h home] [-C all]
 	This will create all the core tables, each with metadata.
 	This will create all the core tables, each with metadata.
 
 
-usage: ./bdb_recover -s schemadir [-h home] [-r journal-file]
+usage: ./kambdb_recover -s schemadir [-h home] [-r journal-file]
 	This will rebuild a DB and populate it with operation from journal-file. 
 	This will rebuild a DB and populate it with operation from journal-file. 
 	The table name is embedded in the journal-file name by convention.
 	The table name is embedded in the journal-file name by convention.
 
 
-usage: ./bdb_recover -s schemadir [-h home] [-R lastN]
+usage: ./kambdb_recover -s schemadir [-h home] [-R lastN]
 	This will iterate over all core tables enumerated. If journal files exist in 'home', 
 	This will iterate over all core tables enumerated. If journal files exist in 'home', 
 	a new DB file will be created and populated with the data found in the last N files. 
 	a new DB file will be created and populated with the data found in the last N files. 
 	The files are 'replayed' in chronological order (oldest to newest). This 
 	The files are 'replayed' in chronological order (oldest to newest). This 
@@ -564,7 +564,7 @@ usage: ./bdb_recover -s schemadir [-h home] [-R lastN]
 	</para>
 	</para>
 	
 	
 	<para>
 	<para>
-	Important note- A corrupted DB file must be moved out of the way before bdb_recover is executed.
+	Important note- A corrupted DB file must be moved out of the way before kambdb_recover is executed.
 	</para>
 	</para>
 	
 	
 	</section>
 	</section>