On 2/5/19 8:15 AM, TomK via FreeIPA-users wrote:
Hello,
Would someone please point me to a concise list of steps I can use here?
Running 1.) and 2.) yields various errors and I would like to try a
known set of working commands to get a replica going in this state
before posting with errors:
# ipa-replica-prepare ipa04.abc.xyz.123 --ip-address 192.168.0.20 -p
"PASS01"
Replica creation using 'ipa-replica-prepare' to generate replica file
is supported only in 0-level IPA domain.
The current IPA domain level is 1 and thus the replica must
be created by promoting an existing IPA client.
To set up a replica use the following procedure:
1.) set up a client on the host using 'ipa-client-install'
2.) promote the client to replica running 'ipa-replica-install'
*without* replica file specified
'ipa-replica-prepare' is allowed only in domain level 0
The ipa-replica-prepare command failed.
Hi,
the process to install a replica has evolved since IPA 4.3. If your
master was installed with IPA 4.3+, then it is using domain level 1 by
default (unless you specified ipa-server-install --domain-level 0 during
the installation).
In this case, please refer to this wiki [1] to install a replica. There
is no need to create a replica file, and you can either:
- install the future replica as a client with:
$ ipa-client-install [options]
then run ipa-replica-install to promote the machine from client to
replica using:
$ kinit admin
$ ipa-replica-install
or
- directly install the replica using:
$ ipa-replica-install --principal admin --admin-password xx [options]
HTH,
flo
[1]
https://www.freeipa.org/page/Releases/4.3.0#New_method_-_domain_level_1