Migrated from http://devel.opensaf.org/ticket/2073
performing "si-swap" on an si of models NplusM, Nway,NwayActive? is returning "ERR_NOT SUPPORTED"
Also there is no mentioning about what the return code should be for "si-swap" on NwayActive? and NoRed? Models.
console output:
amf-adm si-swap safSi=NWayActiveXAppSiorder_SI1,safApp=NWayActiveXAppSiorder
error - saImmOmAdminOperationInvoke_2 admin-op RETURNED: SA_AIS_ERR_NOT_SUPPORTED (19)
Implementation details:
In this implemntaion for NWAY model, si-swap admin op will be supported with following restrictions:
1)Operation will be rejected if Equal distribution feature is enabled.
2)operation will be rejected if SIRankedSU is configured and AutoAdjust flag is
enabled. However it will be allowed if AutoAdjust is disabled.
Reason for rejecting the operation in above two cases:
In both of these cases AutoAdjust flag is eanbled and is used to partially
adjust the SG. At the same time, autoadjust feature is used without
using autoadjustprob timer. In the equal distribution cases both active
assignments and standby assignments are equally distributed among the
available SUs without waiting for any autoadjustprob timer expiry.
Thus if si-swap is supported in this case, SG will be adjusted to
same configuration.
Same explanation is valid for other case also.
Changed 20 months ago by hafe ¶
■version changed from 4.2.0 to 4.0.2
■milestone changed from 4.2.0.GA to future_releases
Problem not introduced in 4.2
Changed 16 months ago by nagendra ¶
■type changed from defect to enhancement
We need to implement SI-SWAP for NpM, Nway. "si-swap" on NwayActive? and NoRed? Models will result in NOT_SUPPORTED.
SA_AIS_ERR_NOT_SUPPORTED - This administrative operation is not supported for
the type of entity denoted by the name to which objectName points.
Currently si-swap is allowed on a SI that is protected by a 2N SG.
As per spec, operation is valid for NWAY and NPM model also.
Existing NWAY FSM (sg_nway_fsm.cc) already has some handling for si_switch.
I will float a patch after adding remaining changes.
Since it is documented that si-swap is not supported for npm and nway model, this ticket is for Nway model. For NpM separate ticket can be raised in future.
Diff:
Attached is a sample configuration for Nway model.
changeset: 6897:a8fa29e9bb10
tag: tip
parent: 6894:616910975364
user: praveen.malviya@oracle.com
date: Mon Sep 28 12:37:58 2015 +0530
summary: amfd: support si-swap admin op for Nway model [#78]
Related
Tickets:
#78