EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB13294: How to specify that MicroStrategy Intelligence Server Universal 9.x - 10.x should run with a pre-defined set of processors using command line parameters on AIX


Community Admin

• Strategy


On AIX, Processor Affinity is implemented using resource sets. A resource set is a logical structure that contains a list of processors (CPUs). Processes are bound to a resource set which defines specific CPUs that will be used. Creating/modifying resource sets and binding processes requires 'root' privileges. For more details regarding implementation of Processor Affinity on AIX for Intelligence Server Universal, refer to the following Knowledge Base document:
KB10122: Processor Affinity Implementation in MicroStrategy 9.x - 10.x
 
AIX provides a series of *rset commands (attachrset, detachrset, execrset, lsrset, mkrset and rmrset) to easily manipulate resource sets and resource set binding. The execrset command can be used to run Strategy Intelligence Server Universal 9.x - 10.x by directly specifying the CPUs to be used for this process.
 
In order to specify Strategy Intelligence Server Universal  9.x - 10.x to run with a pre-defined set of processors, run the following command from the <MSTR_HOME_PATH>/bin folder (where <MSTR_HOME_PATH> is the directory specified as the Home Directory during installation):
 
execrset -c CPUs -e mstrctl -s IntelligenceServer start
For example, suppose the user wants to specify Strategy Intelligence Server Universal 8.1.x - 9.0.x to use the first 8 processors, 0 to 7. The above command will be of the form:
 
execrset -c 0-7 -e mstrctl -s IntelligenceServer start
As a second example, suppose the user wants to specify Strategy Intelligence Server Universal 8.1.x - 9.0.x to use processors, 1, 2, and 4. Then the above command will be of the form:
 
execrset -c 1 2 4 -e mstrctl -s IntelligenceServer start
The user can perform a check to ensure Strategy Intelligence Server Universal 8.1.x - 9.0.x is indeed using the processors that were specified, as follows:
1)  First obtain the Process ID (PID) of the Intelligence Server process by using the steps in the following Knowledge Base document:
KB13293: How to obtain the process ID (PID) of the MicroStrategy Intelligence Server Universal 9.x and 10.x process running on Unix/Linux.
The ability to specify to run the Intelligence Server process with a pre-defined set of processors using command line parameters is helpful when the Processor Affinity cannot be set through Strategy Service Manager. One such situation is described in the following Knowledge Base document:
2) After obtaining the the process id, run the following command:
 
lsrset -v -p PID
This command will display the resource set associated with this PID (if one was created) and the number of CPUs affiliated to it. User will also see the specific CPUs assigned. The example screen-shot below shows the result of this command. In this example, the Intelligence Server has been specified to run using 1 CPU (processor # 0)
 

ka04W000000OgEBQA0_0EM440000002Ber.gif

 
 
NOTE:If CPU license compliance is not met, processor assignments will be automatically adjusted to drive the system back into compliance. However, this action will only take place if the Intelligence Server is running with a 'root' user account. Users implementing the solution above should be aware of the implications to avoid an out of compliance scenario.
 
Third Party Software Installation:
WARNING:
The third-party product(s) discussed in this technical note is manufactured by vendors independent of Strategy. Strategy makes no warranty, express, implied or otherwise, regarding this product, including its performance or reliability.
 


Comment

0 comments

Details

Knowledge Article

Published:

June 20, 2017

Last Updated:

June 20, 2017