class %CSP.UI.Portal.Sharding.NodelevelConfig extends %CSP.UI.Portal.Template, %CSP.UI.Portal.Sharding.Utils

System Management Portal - Sharding Configuration for NodeLevel Clusters

Property Inventory

Method Inventory


parameter AUTONS = 0;
Do not allow this page to auto-switch namespaces if $NAMESPACE is specified
parameter CSPURL = /csp/sys/mgr/%CSP.UI.Portal.Sharding.NodelevelConfig.zen;
Inherited description: 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.
parameter HELPADDRESS = Home,Configuration,Sharding,NodelevelConfig;
Inherited description: Each SMP page should set this link which points to the documentation anchor name.
parameter PAGENAME = Sharding Configuration for Node Level Clusters;
Displayed name of this page.
parameter RESOURCE = %Admin_Manage;
Security requirement


property ActivateShardingPage as %ZEN.Datatype.string [ InitialExpression = ..Link("/csp/sys/mgr/%CSP.UI.Portal.Sharding.Dialog.Activate.zen",,1) ];
Property methods: ActivateShardingPageDisplayToLogical(), ActivateShardingPageGet(), ActivateShardingPageIsValid(), ActivateShardingPageLogicalToDisplay(), ActivateShardingPageLogicalToOdbc(), ActivateShardingPageNormalize(), ActivateShardingPageSet()
property AdvancedSettingsPage as %ZEN.Datatype.string [ InitialExpression = ..SettingsLink() ];
Property methods: AdvancedSettingsPageDisplayToLogical(), AdvancedSettingsPageGet(), AdvancedSettingsPageIsValid(), AdvancedSettingsPageLogicalToDisplay(), AdvancedSettingsPageLogicalToOdbc(), AdvancedSettingsPageNormalize(), AdvancedSettingsPageSet()
property AllowActivate as %Boolean [ InitialExpression = 0 ];
Allow Activate if the current namespace is a master and if any shard is inactive
Property methods: AllowActivateDisplayToLogical(), AllowActivateGet(), AllowActivateIsValid(), AllowActivateLogicalToDisplay(), AllowActivateLogicalToXSD(), AllowActivateNormalize(), AllowActivateSet(), AllowActivateXSDToLogical()
property AllowAssign as %Boolean [ InitialExpression = 1 ];
Allow Assign if the current namespace is a master or it is not a shard
Property methods: AllowAssignDisplayToLogical(), AllowAssignGet(), AllowAssignIsValid(), AllowAssignLogicalToDisplay(), AllowAssignLogicalToXSD(), AllowAssignNormalize(), AllowAssignSet(), AllowAssignXSDToLogical()
property AllowVerify as %Boolean [ InitialExpression = 1 ];
Allow Verify if the current namespace a master
Property methods: AllowVerifyDisplayToLogical(), AllowVerifyGet(), AllowVerifyIsValid(), AllowVerifyLogicalToDisplay(), AllowVerifyLogicalToXSD(), AllowVerifyNormalize(), AllowVerifySet(), AllowVerifyXSDToLogical()
property ConfigurePage as %ZEN.Datatype.string [ InitialExpression = ..Link("/csp/sys/mgr/%CSP.UI.Portal.Sharding.Dialog.Configure.zen",,1) ];
Property methods: ConfigurePageDisplayToLogical(), ConfigurePageGet(), ConfigurePageIsValid(), ConfigurePageLogicalToDisplay(), ConfigurePageLogicalToOdbc(), ConfigurePageNormalize(), ConfigurePageSet()
property EnableShardingPage as %ZEN.Datatype.string [ InitialExpression = ..Link("/csp/sys/mgr/%CSP.UI.Portal.Sharding.Dialog.Enable.zen",,1) ];
Property methods: EnableShardingPageDisplayToLogical(), EnableShardingPageGet(), EnableShardingPageIsValid(), EnableShardingPageLogicalToDisplay(), EnableShardingPageLogicalToOdbc(), EnableShardingPageNormalize(), EnableShardingPageSet()
property HasSecPriviledge as %Boolean [ InitialExpression = $System.Security.Check("%Admin_Secure","USE") ];
Whether user can use Enable Sharding
Property methods: HasSecPriviledgeDisplayToLogical(), HasSecPriviledgeGet(), HasSecPriviledgeIsValid(), HasSecPriviledgeLogicalToDisplay(), HasSecPriviledgeLogicalToXSD(), HasSecPriviledgeNormalize(), HasSecPriviledgeSet(), HasSecPriviledgeXSDToLogical()
property IsEditForm as %Boolean [ InitialExpression = 0 ];
Do not use standare Save/Cancel buttons
Property methods: IsEditFormDisplayToLogical(), IsEditFormGet(), IsEditFormIsValid(), IsEditFormLogicalToDisplay(), IsEditFormLogicalToXSD(), IsEditFormNormalize(), IsEditFormSet(), IsEditFormXSDToLogical()
property IsShardingEnabled as %Boolean [ InitialExpression = 0 ];
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
Property methods: IsShardingEnabled(), IsShardingEnabledDisplayToLogical(), IsShardingEnabledGet(), IsShardingEnabledIsValid(), IsShardingEnabledLogicalToDisplay(), IsShardingEnabledLogicalToXSD(), IsShardingEnabledNormalize(), IsShardingEnabledSet(), IsShardingEnabledXSDToLogical()
property MASTERNAMESPACE as %String;
property NodeLevelPage as %ZEN.Datatype.string [ InitialExpression = ..Link("/csp/sys/mgr/%25CSP.UI.Portal.Sharding.NodelevelConfig.zen",,1) ];
Property methods: NodeLevelPageDisplayToLogical(), NodeLevelPageGet(), NodeLevelPageIsValid(), NodeLevelPageLogicalToDisplay(), NodeLevelPageLogicalToOdbc(), NodeLevelPageNormalize(), NodeLevelPageSet()
property PageMessage as %String;
Property methods: PageMessageDisplayToLogical(), PageMessageGet(), PageMessageIsValid(), PageMessageLogicalToDisplay(), PageMessageLogicalToOdbc(), PageMessageNormalize(), PageMessageSet()
property RebalanceShardingPage as %ZEN.Datatype.string [ InitialExpression = ..Link("/csp/sys/mgr/%CSP.UI.Portal.Sharding.Dialog.Rebalance.zen",,1) ];
Property methods: RebalanceShardingPageDisplayToLogical(), RebalanceShardingPageGet(), RebalanceShardingPageIsValid(), RebalanceShardingPageLogicalToDisplay(), RebalanceShardingPageLogicalToOdbc(), RebalanceShardingPageNormalize(), RebalanceShardingPageSet()
property ShardingPage as %ZEN.Datatype.string [ InitialExpression = ..Link("/csp/sys/mgr/%25CSP.UI.Portal.Sharding.Configuration.zen",,1) ];
Property methods: ShardingPageDisplayToLogical(), ShardingPageGet(), ShardingPageIsValid(), ShardingPageLogicalToDisplay(), ShardingPageLogicalToOdbc(), ShardingPageNormalize(), ShardingPageSet()
property TableDetailsPage as %ZEN.Datatype.string [ InitialExpression = ..Link("/csp/sys/mgr/%CSP.UI.Portal.Sharding.Dialog.TableDetails.zen",,1) ];
Property methods: TableDetailsPageDisplayToLogical(), TableDetailsPageGet(), TableDetailsPageIsValid(), TableDetailsPageLogicalToDisplay(), TableDetailsPageLogicalToOdbc(), TableDetailsPageNormalize(), TableDetailsPageSet()
property VerifyShardingPage as %ZEN.Datatype.string [ InitialExpression = ..Link("/csp/sys/mgr/%CSP.UI.Portal.Sharding.Dialog.Verify.zen",,1) ];
Property methods: VerifyShardingPageDisplayToLogical(), VerifyShardingPageGet(), VerifyShardingPageIsValid(), VerifyShardingPageLogicalToDisplay(), VerifyShardingPageLogicalToOdbc(), VerifyShardingPageNormalize(), VerifyShardingPageSet()
property iTimeoutInterval as %ZEN.Datatype.integer [ InitialExpression = 1000 ];
Double the default timeout interval so long-running VerifyShards calls don't distort the page
Property methods: iTimeoutIntervalDisplayToLogical(), iTimeoutIntervalGet(), iTimeoutIntervalIsValid(), iTimeoutIntervalLogicalToDisplay(), iTimeoutIntervalLogicalToOdbc(), iTimeoutIntervalNormalize(), iTimeoutIntervalSet()


method %OnAfterCreatePage() as %Status [ Language = objectscript ]
Inherited description: Be sure to do ##super() when overriding.
method %OnGetPageName() as %String [ Language = objectscript ]
Inherited description: Get the (localized) name of the page. This should be implemented in a subclass.
method DrawAddress(table As %ZEN.Component.tablePane, name As %ZEN.Datatype.string, seed As %ZEN.Datatype.string) as %Status [ Language = objectscript ]
Helper method to flag the current instance
method DrawRole(table As %ZEN.Component.tablePane, name As %ZEN.Datatype.string, seed As %ZEN.Datatype.string) as %Status [ Language = objectscript ]
Helper method to rename "Query" role to "Compute"
classmethod GetShardingRole(pNamespace) as %String [ Language = objectscript, ZenMethod ]
method HideComponent(id As %String) [ Language = objectscript ]
method OnGetRibbonInfo(Output pDisplay As %Boolean, Output pViewIcons As %List, Output pSortOptions As %List, Output pSearchBox As %Boolean, Output pRibbonTitle As %String, Output pCommands As %List) as %Status [ Language = objectscript ]
Get information to display in the ribbon bar.
classmethod SaveOption(MASTERNAMESPACE, OptionName, OptionValue) as %ZEN.proxyObject [ Language = objectscript, ZenMethod ]
classmethod StartRebalance(pMASTERNAMESPACE) as %ZEN.proxyObject [ Language = objectscript, ZenMethod ]
classmethod StartVerify(pMASTERNAMESPACE) as %ZEN.proxyObject [ Language = objectscript, ZenMethod ]
Start verifying shards
clientmethod doCancel() [ Language = javascript ]
This method resets the modified indicator and return user to the parent page.
clientmethod doConfigure() [ Language = javascript ]
clientmethod doNew() [ Language = javascript ]
clientmethod doRebalance() [ Language = javascript ]
clientmethod doRunQueries() [ Language = javascript ]
User changed RunQueriesAsync. Display appropriate hint.
clientmethod doSettings() [ Language = javascript ]
clientmethod doTableDetails(tableName, shardKey) [ Language = javascript ]
clientmethod doVerify(SHARD) [ Language = javascript ]
clientmethod enableButtons(flag) [ Language = javascript ]
User hit Verify button (flag=false): disable currently enabled buttons When verify finishes (flag=true): enable what needs enabled
clientmethod onPopupAction(popupName, action, value) [ Language = javascript ]
This client event, if present, is fired when the a popup page launched from this page fires an action.
clientmethod onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.
clientmethod onresizeHandler() [ Language = javascript ]
This client event, if present, is fired when the page is resized.
clientmethod tabChanged(index) [ Language = javascript ]
clientmethod timeout() [ Language = javascript ]

Inherited Members

Inherited Properties

Inherited Methods