They are both correct but are not doing what you expect. Unless you have set up seperate access node networks then both connection strings will effectively use all 4 access nodes on the primary regardless of the IPs you specify in the connection string
The Centera SDK will decide on how best to distribute IO across the Access Nodes of the primary Centera automatically.
Note that a secondary centera is a read only centera and not thr replica. The secondary is mean to be say an old centera that has filled up and for some reason the customer doesnt want to expand it and rolls out a new primary but still wants the old now read only centera to be included in reads. New ingest would go to the primary but reads of old content would first be looked for on the primary and then the secondary.
Best practise is to put at least two IP addresses of the primary access nodes (plus any PEA file). The SDk will attempt to connect to the IP on the left and if successfull it will then probe that node for the IP addresses of all available access nodes in the primary and make connections to them. It will then load balance IO across all available primary Access Nodes.
The SDK will also discover the IP addresses of all the replica access nodes and may make connections to them (default is yes but you can disable by setting lazy pool open). If a read fails on the primary by default the sdk will ask the replica if it has the clip and read it from there.
You used to not be able to segregate pool traffic to particular Access Nodes however you can from rev 4.2 of Centrastar create and manage groups of access nodes (min two max half of available) and have them used by seperate applications (or instances of an application). However I wouldn't recommend using it unless you are rolling out classes of service to internal or external users. Just let the SDK load balance across all available access nodes.
mckeown_paul
409 Posts
0
June 17th, 2013 06:00
They are both correct but are not doing what you expect. Unless you have set up seperate access node networks then both connection strings will effectively use all 4 access nodes on the primary regardless of the IPs you specify in the connection string
mckeown_paul
409 Posts
0
June 17th, 2013 06:00
Hi there
The Centera SDK will decide on how best to distribute IO across the Access Nodes of the primary Centera automatically.
Note that a secondary centera is a read only centera and not thr replica. The secondary is mean to be say an old centera that has filled up and for some reason the customer doesnt want to expand it and rolls out a new primary but still wants the old now read only centera to be included in reads. New ingest would go to the primary but reads of old content would first be looked for on the primary and then the secondary.
Best practise is to put at least two IP addresses of the primary access nodes (plus any PEA file). The SDk will attempt to connect to the IP on the left and if successfull it will then probe that node for the IP addresses of all available access nodes in the primary and make connections to them. It will then load balance IO across all available primary Access Nodes.
The SDK will also discover the IP addresses of all the replica access nodes and may make connections to them (default is yes but you can disable by setting lazy pool open). If a read fails on the primary by default the sdk will ask the replica if it has the clip and read it from there.
You used to not be able to segregate pool traffic to particular Access Nodes however you can from rev 4.2 of Centrastar create and manage groups of access nodes (min two max half of available) and have them used by seperate applications (or instances of an application). However I wouldn't recommend using it unless you are rolling out classes of service to internal or external users. Just let the SDK load balance across all available access nodes.
mckeown_paul
409 Posts
1
June 17th, 2013 06:00
I should add that the use of the keyword primary is uneccessary.
andreasschulz1
1 Rookie
•
11 Posts
0
June 17th, 2013 06:00
Thanks for fast reply,
in my case is this correct ?
Connection String for Pool1
“10.10.10.10, primary=10.10.10.11 ?D:\EASY\centera-pea-file\Pool1.pea”
Connection String for Pool2
“10.10.10.12, primary=10.10.10.13 ?D:\EASY\centera-pea-file\Pool2.pea”
Thanks
Andreas
andreasschulz1
1 Rookie
•
11 Posts
0
June 17th, 2013 07:00
Thanks alot, I will set “10.10.10.10,10.10.10.11 ?D:\EASY\centera-pea-file\Pool1.pea”
for all pools
Best Regards
Andreas