Class Reference
IRIS for UNIX 2024.1.2
|
|
Private
Storage
|
System Management Portal - Sharding Configuration
|
|
|
Do not allow this page to auto-switch namespaces if $NAMESPACE is specified
This parameter is used to make sure that if multiple CSP applications are mapped to the same namespace that the CSP engine can correctly identify which class corresponds with which URL. If 'LockCSPName' is true (the default, defined in the CSP application) then you can only access this page if the url exactly matches this 'CSPURL'. You can set this parameter to "" if you wish to disable this check for this class. This check is applied for all CSP urls (cls/csp/zen).
If this page was compiled from a .csp file, then this parameter is automatically set to contain the url of this file used for compilation.
Each SMP page should set this link which points to the documentation anchor name.
Displayed name of this page.
Security requirement
|
Allow Assign if the current namespace is a master or it is not a shard
Allow Verify if the current namespace has any sharding config
Captures the "current" namespace
Whether user can use Enable Sharding
Whether Sharding license is present
Do not use standare Save/Cancel buttons
Whether the current InterSystems IRIS instance is enabled to act as a shard master or shard server.
If it is not enabled, then this page will allow user to enable it.
Once it is enabled, then user may be able to Add/Verify/Activate shard for namespace
If the current Namespace is part of a Node-level cluster, this property holds the role of this namespace for that cluster, so thatcheckNode can display a proper warning. Note that this value will be left empty if this Instance is part of a node-level cluster, but the current Namespace plays no role in it, as in those cases it's OK (though likely not very practical) to change / initialize a namespace-level config here.
status after EnableSharding is executed. It is either 1 or tSC. If it is 1 then we display restart instance message.
Double the default timeout interval so long-running VerifyShards calls don't distort the page
|
Be sure to do ##super() when overriding.
Get the (localized) name of the page. This should be implemented in a subclass.
Helper method to flag the current instance
Get information to display in the ribbon bar.
Start verifying shards
Start verifying shards
This method resets the modified indicator and return user to the parent page.
Assign new shard or edit existing shard
User changed RunQueriesAsync. Display appropriate hint.
User hit Verify button (flag=false): disable currently enabled buttons When verify finishes (flag=true): enable what needs enabled
This client event, if present, is fired when the a popup page launched from this page fires an action.
This client event, if present, is fired when the page is loaded.
This client event, if present, is fired when the page is resized.
User changed master namespace. Reload page with new namespace.