On 12/16/2015 03:17 PM, Nikhil Dehadrai wrote:
  Hi There,

Based on the URL for REPLICA PROMOTION Test plan
(http://www.freeipa.org/page/V4/Replica_Promotion/Test_plan), I have
following observations / queries.

Observations:
-------------------
1. For "ipa-kra-install" and "ipa-ca-install" , expected result for step
1 should be FAILED, But it is marked as SUCCEED. (What is the correct
behavior here).

Questions:
--------------
1. As per current design  (IPA 4.2) we can prepare replica server file
on an existing replica  server using "ipa-replica-prepare" and use this
file to setup new replica host, how can we achieve this behavior under
this new feature when MASTER domain level is set to 1.?

You can't. The whole point of replica installation by promotion is to eliminate the need to lug around files to set up new replicas.

In domain level 1 the ipa-replica-prepare command is disabled and running it raises an error (See test case 2 in http://www.freeipa.org/page/V4/Replica_Promotion/Test_plan). Also there is no MASTER domain level, the domain level is uniform across the whole topology

2. How will the "ipa topologysegment-add" work for a 3 repilca scenario?
Since, under domain level 1 it uses "rightnode" and "leftnode" to form a
new segment. Can I add 3rd replica to this already created "Newsegment"
or we need to have it created separately? How will it work?

Topology segments describe replication agreements between *two* endpoints (think about them as graph edges connecting two nodes). So you set up a segment between replica1 and replica2. To connect third replica to the topology, you have to create new segment connecting either replica1 and replica3, or replica2 and replica3.

We can add New Test Scenarios as well:
-----------------------------------------------------
1. Add scenario for domain level details at UI. Since it talks of
reflecting the domain level changes at UI.
2. Add scenario to validate once domain level of master is raised to 1,
after that it cannot be lowered.
3. Add scenario for "ipa-restore" using master and replica topology , so
as to identify the effect of restoration on replica by using "ipa
topologysegment-find realm" command.( What will be the expected behavior
in this case)

I'm not quite sure about point 3 either. I guess that you have to reenroll the replica after restore, but maybe someone more knowledgeable about the feature will chime in.

Let me know.

Thanks and Best Regards,
Nikhil Dehadrai




--
Martin^3 Babinsky

--
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to