I am running version 7.1 on masters and slaves. I am trying to replicate
the master's database to a replica using the method of deleting the
database on the replica and then running ipropd-slave.
I truncated the log on the master using the command "iprop-log truncate
--reset"
I then attempted to replicate the database on a replica by deleting the
database and the log file on the replica and starting ipropd-slave.
However, all I am getting on the replica is a database of size 8192
bytes (the master's database is several hundred megabytes).
This is what I see in the slave's logs:
018-06-22T11:32:40.616711-07:00 kdc-test1 ipropd-slave[24142]: slave
status change: bootstrapping
2018-06-22T11:32:40.617083-07:00 kdc-test1 ipropd-slave[24142]: slave
status change: getting credentials from keytab/database
2018-06-22T11:32:40.617562-07:00 kdc-test1 ipropd-slave[24142]: slave
status change: creating log file
2018-06-22T11:32:40.629051-07:00 kdc-test1 ipropd-slave[24142]: slave
status change: ipropd-slave started
2018-06-22T11:32:40.629807-07:00 kdc-test1 ipropd-slave[24144]: slave
status change: connecting to master: kdc-test2.stanford.edu
2018-06-22T11:32:40.630420-07:00 kdc-test1 ipropd-slave[24144]:
connection successful to master: kdc-test2.stanford.edu[171.67.51.238]
2018-06-22T11:33:12.462594-07:00 kdc-test1 ipropd-slave[24144]:
ipropd-slave started at version: 0
2018-06-22T11:33:12.462902-07:00 kdc-test1 ipropd-slave[24144]: slave
status change: connected to master, waiting instructions
2018-06-22T11:33:12.534262-07:00 kdc-test1 ipropd-slave[24144]: slave
status change: up-to-date with version: 7 at 2018-06-22T11:33:12
2018-06-22T11:33:12.610593-07:00 kdc-test1 ipropd-slave[24144]: slave
status change: up-to-date with version: 7 at 2018-06-22T11:33:12
When I dump the master's log using 'iprop-log dump' it shows 7 entries.
I thought that ipropd-slave would get the entire database if there was
no database to start with. But this is not happening.
Any ideas?
Thank you, Adam Lewenberg