I'm trying to use db_berkeley module. When I want to append some data rows to table 'load_balancer', I have confused with the command 'opensipsdbctl bdb append <db> <datafile>'. How can I form the <datafile>? My tried datafile as below.
datafile_example_1 ======================================================= METADATA_COLUMNS id(int) group_id(int) dst_uri(str) resources(str) probe_mode(int) description(str) METADATA_KEY METADATA_READONLY 0 METADATA_LOGFLAGS 0 METADATA_DEFAULTS NIL|0|NIL|NIL|0|'' 1|1|sip:192.168.3.3:5060|0|'' 2|1|sip:192.168.3.5:5062|0|'' 3|2|sip:192.168.3.7:5064|0|'' ======================================================= datafile_example_2 ======================================================= 1|1|sip:192.168.3.3:5060|0|'' 2|1|sip:192.168.3.5:5062|0|'' 3|2|sip:192.168.3.7:5064|0|'' ======================================================= After the 'append' command and replace load_balancer.new, I tried to startup opensips, but failed. In the opensips log, I can find some error of db_berkeley reading. My appended 'datafile' has some error? -- View this message in context: http://n2.nabble.com/db-berkeley-append-db-datafile-tp4637598p4637598.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
