Upgrade Guide
Upgrade Guide
Versi on 2021
M i cr o St r at egy 2021
Ju n e 2021
C opyr i ght © 2021 by M i cr oStr ategy Incor por ated. Al l r i ghts r eser ved.
Tr adem ar k Infor m ati on
The fol l ow i ng ar e ei ther tr adem ar ks or r egi ster ed tr adem ar ks of M i cr oStr ategy Incor por ated or i ts affi l i ates i n the U ni ted States and cer tai n other countr i es:
Dossier, Enterprise Semantic Graph, Expert.Now, HyperIntelligence, HyperMobile, HyperScreen, HyperVision, HyperVoice,
HyperWeb, Information Like Water, Intelligent Enterprise, MicroStrategy, MicroStrategy 2019, MicroStrategy 2020,
MicroStrategy 2021, MicroStrategy Analyst Pass, MicroStrategy Architect, MicroStrategy Architect Pass, MicroStrategy Badge,
MicroStrategy Cloud, MicroStrategy Cloud Intelligence, MicroStrategy Command Manager, MicroStrategy Communicator,
MicroStrategy Consulting, MicroStrategy Desktop, MicroStrategy Developer, MicroStrategy Distribution Services, MicroStrategy
Education, MicroStrategy Embedded Intelligence, MicroStrategy Enterprise Manager, MicroStrategy Federated Analytics,
MicroStrategy Geospatial Services, MicroStrategy Identity, MicroStrategy Identity Manager, MicroStrategy Identity Server,
MicroStrategy Integrity Manager, MicroStrategy Intelligence Server, MicroStrategy Library, MicroStrategy Mobile,
MicroStrategy Narrowcast Server, MicroStrategy Object Manager, MicroStrategy Office, MicroStrategy OLAP Services,
MicroStrategy Parallel Relational In-Memory Engine (MicroStrategy PRIME), MicroStrategy R Integration, MicroStrategy
Report Services, MicroStrategy SDK, MicroStrategy System Manager, MicroStrategy Transaction Services, MicroStrategy
Usher, MicroStrategy Web, MicroStrategy Workstation, MicroStrategy World, Usher, and Zero-Click Intelligence.
Other pr oduct and com pany nam es m enti oned her ei n m ay be the tr adem ar ks of thei r r especti ve ow ner s.
Speci fi cati ons subj ect to change w i thout noti ce. M i cr oStr ategy i s not r esponsi bl e for er r or s or om i ssi ons. M i cr oStr ategy m akes no w ar r anti es or com m i tm ents
concer ni ng the avai l abi l i ty of futur e pr oducts or ver si ons that m ay be pl anned or under devel opm ent.
CO N TEN TS
P lanning Y our U pgrade 4
D efi ni ng D SN s 270
Speci fyi ng Warehouse C onnecti on Informati on 274
Mi ni mi zi ng the Impact of D ata C hanges for Pl atform R el ease U pgrades 293
Up gr ad e Gu id e
Plan n in g Yo u r Up gr ad e
U pgradi ng to Mi croStrategy 2021 can have a si gni fi cant effect on your
system. N ew features and enhancements may cause changes to user
w orkfl ow s as w el l as the data returned by report executi ons. To ensure a
successful upgrade process Mi croStrategy strongl y recommends that you
careful l y revi ew the upgrade i nformati on covered i n thi s i n thi s secti on
before begi nni ng your upgrade.
l In-Place U pgrade: The upgrade i s made di rectl y to the current i n-pl ace
envi ronment hardw are. Your Mi croStrategy envi ronment w i l l be
unavai l abl e to end users throughout the upgrade process. Thi s opti on
w orks best for smal l er depl oyments and those w here dow nti me i s
acceptabl e.
You do not need to unins tall y our c urrent v ers ion of Mic roStrategy before
upgrading. Mic roStrategy rec ommends performing an ov er-ins tall when
doing an in-plac e upgrade.
System Preparation
l Al l necessary hardw are (i f appl i cabl e) for your new envi ronment has been
procured.
l Al l necessary i nformati on from al l hardw are has been col l ected and i s
avai l abl e, i ncl udi ng:
l Machi ne credenti al s
l R evi ew the R eadme for your new versi on of Mi croStrategy to ensure that
al l mi ni mum system requi rements are met.
l C ol l aborati on Store
MicroStrategy Web
Backup any changed Mi croStrategy Web confi gurati on fi l es:
l .. /W EB - IN F / x m l / c on f i g / m a p C o n f i g .x m l
l .. /W EB - IN F / x m l / s ys _d e f a u l t s . p r o pe r t i e s
l .. /W EB - IN F / x m l / s ys _d e f a u l t s . x m l
l .. /W EB - IN F / w e b . x ml
l .. /W EB - IN F / x m l / A dm i n S e r v e r s . x m l
l .. /W EB - IN F / x m l / s ys _d e f a u l t s _
In te ll ig e n c e S e r v e r N a m e . p r o p e r t i e s
l .. /W EB - IN F / x m l / s ys _d e f a u l t s _
In te ll ig e n c e S e r v e r N a m e $ P r o j e c t . p r o p e r t i e s
l .. /p lu gi n s /
l .. /i ma ge s /
MicroStrategy Mobile
Backup any changed Mi croStrategy Mobi l e confi gurati on fi l es:
l /W EB - IN F/ x m l / s y s _d e f a u l t s . p r o p e r t i e s
l /W EB - IN F/ x m l / s y s _d e f a u l t s . x m l
l /W EB - IN F/ w e b . x m l
l .. /W EB - IN F / x m l / A dm i n S e r v e r s . x m l
l .. /W EB - IN F / x m l / s ys _d e f a u l t s _
In te ll ig e n c e S e r v e r N a m e . p r o p e r t i e s
l .. / W EB - I N F / x m l / sy s _d e f a u l t s _
In te ll ig e n c e S e r v e r N a m e $ P r o j e c t . p r o p e r t i e s
l .. /p lu gi n s /
Backup any mobi l e devi ce confi gurati ons or saved any i mages from the
Mi croStrategy Photo U pl oader w i dget, manual l y back them up before
proceedi ng w i th your upgrade.
l /W EB - IN F/ x m l / m o b il e
l /W EB - IN F/ S a v e d I m ag e s
If you secure your Mi croStrategy Mobi l e connecti ons through C erti fi cate
Server, you must upgrade your C erti fi cate Server to support Mi croStrategy
2021 Mobi l e appl i cati ons.
MicroStrategy Library
Backup any Mi croStrategy Li brary C onfi gurati on Fi l es:
l /w eb ap ps / M i c r o S t r a t e g y L i b r a r y / i m a g e s /
l /w eb ap ps / M i c r o S t r a t e g y L i b r a r y / p l u g i n s /
l /w eb ap ps / M i c r o S t r a t e g y L i b r a r y / W E B -I N F / c l a s s e s / a ut h/
l /w eb ap ps / M i c r o S t r a t e g y L i b r a r y / W E B -
IN F/ cl as s e s / c o n f i g / c o n f i g O v e r r i d e . p r o p e r t i e s
l Any other customi zati ons i ncl udi ng SSL confi gurati ons
MicroStrategy Collaboration
Back up the C ol l aborati on Server noti fi cati on fi l es i n the fol l ow i ng di rectory:
Copyr ight © 2021 All Rights Re se r ve d 7
Up gr ad e Gu id e
<IN ST AL L_ P A T H > \ M i c r o S t r a t e g y \ C o l l a b o r a t i o n S e r v e r\ no de _
modu le s\ ms t r - c o l l a b -s v c \ p l u g i n C o n f i g \ d o s s i e r
Li st of fi l es:
l co nf ig .j s o n
l em ai l- I nv i t e . t e m pl a t e
l em ai l- M en t i o n . t e mp l a t e
Upgrade Prerequisites
Make sure al l of the fol l ow i ng condi ti ons are met before you conti nue:
l Instal l ati on fi l es have been dow nl oaded from the Mi croStrategy dow nl oad
si te.
l 10.4.x
l R evi ew the R eadme for a compl ete l i st of new products, new features,
and updates i n Mi croStrategy.
l Fol l ow the upgrade order and recommendati ons outl i ned i n thi s gui de, i n
parti cul ar the The U pgrade Process C heckl i st, page 10. Al w ays upgrade
the Intel l i gence Server before upgradi ng cl i ent appl i cati ons such as
Mi croStrategy Web, Mobi l e, Li brary, and D evel oper.
l Avoi d i nstal l i ng Mi croStrategy products usi ng vi rtual sessi ons on the host
machi ne such as Wi ndow s Termi nal Servi ces. Al w ays i nstal l
Mi croStrategy di rectl y on the server machi ne's physi cal i nterface, or by
usi ng a remote connecti on tool (such as Mi crosoft R emote D esktop) that
takes ful l control of the server machi ne's i nterface and creates an actual
admi ni strator sessi on on the machi ne.
l Ensure that al l data types assi gned i n exi sti ng proj ects are supported i n
the current Mi croStrategy versi on. If a proj ect contai ni ng col umns w i th
unsupported data types i s upgraded, the data types for those col umns are
assi gned as "reserved," and proper data types are not assi gned i n
temporary tabl es. Thi s affects report executi on. Pl ease see the Proj ect
D esi gn Gui de for a l i sti ng of the supported data types for each database
type and addi ti onal i nformati on about changi ng to supported data types.
l C heck for certi fi ed and supported confi gurati ons for al l products and
components bei ng i nstal l ed.
3. If you are upgradi ng your Express i nstal l ati on envi ronment, you can
el ect to keep the current versi on of tutori al or your exi sti ng database.
D uri ng the upgrade, you are asked "D o you w ant to overw ri te the
exi sti ng database?"
l Sel ect Yes to overw ri te the database and exi sti ng data.
6. Val i date the test envi ronment w i th functi onal testi ng, compari sons
tests i n Integri ty Manager, and si mul ated end-to-end performance tests
usi ng the C apaci ty Testi ng Tool .
Ex ecu t in g t h e Up gr ad e
Mi croStrategy recommends that you fol l ow a speci fi c product upgrade
sequence w hen upgradi ng Mi croStrategy products across several
machi nes. Fol l ow i ng thi s upgrade sequence hel ps ensure that
Mi croStrategy products i nstal l ed on separate machi nes are i nteroperabl e,
that i s, they are abl e to w ork together w hen i nstal l ed on separate machi nes.
C lient applications
l D evel oper
l Offi ce
A dministrative applications
l Workstati on
l C ommand Manager
l Enterpri se Manager
l Integri ty Manager
l Systems Manager
If your l i cense i ncl udes new products or servi ces sel ect them for
i nstal l ati on i n thi s w i ndow .
5. The i nstal l er w i l l di spl ay any runni ng servi ces that need to be stopped.
C l i ck Yes to stop them now .
10. C hoose to have an acti vati on code sent to you now or at a l ater date.
11. R evi ew the l i st of components you have sel ected for i nstal l ati on.
U pdati ng the metadata ensure compati bi l i ty betw een your pre-exi sti ng
obj ects and the Mi croStrategy cl i ents. You can al so take advantage of new
confi gurati on setti ngs exposed through the cl i ent appl i cati ons, functi onal i ty,
and obj ects avai l abl e onl y w i th the updated versi on of metadata.
D uri ng the metadata update process, the C onfi gurati on Wi zard generates
addi ti onal SQL for tasks such as managi ng i ndexes and pri mary keys. To
vi ew thi s SQL duri ng the update process, on the Summary Page of the
C onfi gurati on Wi zard, i n the Summary pane, cl i ck SQL Preview. In
addi ti on, once you have compl eted the update process, the generated SQL
i s saved i n the Mi croStrategy common fi l es di rectory. The fi l e name i s
Orig in al Sc r i p t _g e n e r a t e d . s q l, w here O r i g i n a l S c r i p t i s the
name of the ori gi nal SQL update scri pt. For exampl e, i f you are updati ng an
Oracl e database, the ori gi nal SQL update scri pt i s m d o r c l . s q l and the
generated SQL fi l e i s m d o r c l _g e n e r a t e d .s q l.
l For information about v iewing the Configuration Wiz ard log file if an error
oc c urs , s ee R esol vi ng Probl ems Encountered D uri ng the U pgrade .
l The MDUpdate c ommand line utility that was formerly us ed to update the
metadata is no longer s upported. To update the metadata from the c ommand
line, y ou c an us e a res pons e file with Configuration Wiz ard.
l The proj ect's metadata versi on from w hi ch you update must be ol der than,
or the same as, the versi on of the product w here C onfi gurati on Wi zard i s
i nstal l ed that w i l l be performi ng the metadata update. An ol der versi on of
the product i s not abl e to perform an update on a new er versi on of
metadata.
l The l anguage setti ngs of the cl i ent, proj ect, and Intel l i gence Server must
al l be the same.
l The proj ects to be updated must not be l ocked. To unl ock a proj ect's
metadata, i n D evel oper, from the A dministration menu, go to Locking >
U nlock Project.
The fol l ow i ng prerequi si tes are speci fi c to the R D BMS that your proj ect
metadata i s stored i n:
l If you are usi ng Oracl e for your metadata database, make sure that the
Maxi mum Open C ursors parameter for the database i s set to at l east
1500.
l If you are usi ng SQL Server for your metadata database, Mi croStrategy
recommends setti ng the transacti on l og to the Si mpl e R ecovery Model
because the Bul k or Ful l R ecovery Model s may fi l l the transacti on l og
duri ng the upgrade and cause an error.
l If you are usi ng D B2 for your metadata database, make sure that the
D ynami c Secti ons property for the database i s set to 999.
If y ou attempt to update a projec t through the Configuration Wiz ard and the
update fails , the projec t is loc k ed. You mus t unloc k the projec t before y ou
attempt to upgrade the projec t again. To unloc k a projec t, in Dev eloper, from
the A dministration menu, go to Locking > U nlock Project .
To M ake M et ad at a U p d at es U si n g t h e Co n f i gu r at i o n Wi zar d
The D SN and Logi n ID are provi ded based on the server confi gurati on
that you di d previ ousl y.
5. On the Sel ect C omponents page, sel ect the check boxes for each
Intel l i gence Server you w ant to upgrade.
6. U nder each sel ected Intel l i gence Server, sel ect the system
components you w ant to upgrade:
l Migrate H istory List messages: Sel ect thi s check box to mi grate
your exi sti ng H i story Li st reposi tory to a new format for i mproved
search resul ts, scal abi l i ty, and performance. A fi l e-based reposi tory
can be mi grated to a database-based reposi tory or a hybri d
reposi tory, and a database-based reposi tory can be mi grated to a
hybri d reposi tory.
l If you sel ect thi s check box, addi ti onal confi gurati on opti ons for
thi s mi grati on are provi ded l ater, on the H i story Li st Mi grati on
page. D uri ng the upgrade process thi s Intel l i gence Server and any
other Intel l i gence Servers i n the cl uster are stopped and restarted.
7. Sel ect each proj ect you w ant to update. Onl y proj ects that are l oaded
on Intel l i gence Server can be updated. Proj ect updates can i ncl ude
any of the fol l ow i ng opti ons:
l Execute project logical upgrade: U pdates the proj ect to the most
recent versi on of Mi croStrategy. Thi s opti on al so updates the report,
document, and dossi er defi ni ti ons to i mprove the performance and
reduce the memory usage and storage requi rements of reports and
documents that w ere created w i th a previ ous versi on of
Mi croStrategy.
8. C l i ck N ext.
9. If you sel ected the Migrate H istory List messages opti on, on the
H i story Li st Target D atabase page, speci fy the necessary i nformati on
for the H i story Li st database.
10. C l i ck N ext.
11. On the Summary page, revi ew your upgrade choi ces and cl i ck Finish.
4. Sel ect the D SN for the H i story Li st database, and speci fy the l ogi n
i nformati on.
5. To upgrade exi sti ng H i story Li st messages to the current format, sel ect
the C opy H istory List content check box.
If this c hec k box is c leared, ex is ting His tory Lis t mes s ages are not
upgraded. The new tables required to s upport His tory Lis t mes s ages are
s till c reated.
6. If you sel ect to upgrade your exi sti ng H i story Li st messages, you can
al so sel ect the C ompress data check box to compress al l exi sti ng
H i story Li st messages. Thi s compressi on can i mprove the performance
of usi ng H i story Li st messages. H ow ever, the compressi on of your
H i story Li st messages can requi re si gni fi cant system resources duri ng
the upgrade.
messages are not modi fi ed, but any new l y created H i story Li st
messages are created w i th the new compressed format.
7. C l i ck N ext.
l N ote your current Web customi zati ons and revi ew the i nformati on i n
Mi croStrategy Web C ustomi zati ons to l earn how to successful l y mi grate
these customi zati ons.
l If you have created any mobi l e devi ce confi gurati ons or saved any i mages
from the Mi croStrategy Photo U pl oader w i dget, those confi gurati ons and
i mages are del eted duri ng the upgrade unl ess you manual l y back them up
before the upgrade and restore them after the upgrade.
l If you secure your Mi croStrategy Mobi l e connecti ons through C erti fi cate
Server, you must upgrade your C erti fi cate Server to support Mi croStrategy
2021 Mobi l e appl i cati ons. Enhancements to Mi croStrategy C erti fi cate
Server requi re thi s step.
.N ET:
J2EE:
Mi croStrategy Web customi zati ons are devel oped as pl ugi ns that are stored
i n the pl ugi ns fol der of the envi ronment. When upgradi ng to a new er versi on
of Mi croStrategy Web, the pl ugi n upgrade di ffers dependi ng on w hether you
are usi ng a .N ET envi ronment on Wi ndow s or a J2EE envi ronment on
Wi ndow s or Li nux.
.NET Environment
When you upgrade Mi croStrategy Web i n a .N ET envi ronment (IIS), the
exi sti ng pl ugi ns are automati cal l y copi ed to the pl ugi ns fol der of the new
i nstal l ati on di rectory.
J2EE Environment
When you upgrade Mi croStrategy Web i n a J2EE envi ronment, you must
manual l y copy your exi sti ng pl ugi ns to the pl ugi ns fol der i n your new
depl oyment fol der.
3. C opy your exi sti ng pl ugi ns to the new pl ugi ns fol der i n depl oyment
fol der.
For i nformati on about the pl ugi n structure used for Mi croStrategy Web
customi zati ons, refer to Mi croStrategy Web SD K i n the Mi croStrategy
D evel oper Li brary.
Begi nni ng w i th versi on 9.0, D i stri buti on Servi ces repl aced N arrow cast
Server as the appl i cati on that del i vers Web del i very subscri pti ons.
When you mi grate al l i nformati on rel ated to Web del i very subscri pti ons from
your exi sti ng N arrow cast Server to D i stri buti on Servi ces, you can sel ect to
mi grate N arrow cast Server users and thei r addresses. These users are
copi ed as contacts w ho w i l l recei ve the subscri pti ons i n D i stri buti on
Servi ces. D uri ng the upgrade process, onl y user addresses are mi grated;
subscri pti ons and schedul es w i l l not be mi grated.
Do not bac k up the repos itories us ing the Copy Repos itory tool in Narrowc as t
Serv er. Copy Repos itory as s igns a new Sy s tem ID to the res ulting
repos itories , whic h break s the link between Narrowc as t Serv er and y our
ex is ting Mic roStrategy projec t. Mak ing a databas e bac k up retains this link .
You can mi grate exi sti ng N arrow cast Server subscri pti ons to D i stri buti on
Servi ces usi ng the C onfi gurati on Wi zard. For i nstructi ons, see the
procedure bel ow .
You can al so mi grate your subscri pti ons from w i thi n D evel oper, w i th the
Mi grate Subscri pti ons for Web D el i veri es w i zard. To access the Mi grate
Subscri pti ons for Web D el i veri es w i zard, i n D evel oper, from the Tools
menu, sel ect Migrate N arrowcast Server Subscriptions for Web
D eliveries.
Only the 32-bit Configuration Wiz ard (mac fgwiz .ex e) in Windows c an s upport
this func tionality .
3. C l i ck N ext.
5. C l i ck Migrate.
5. MicroStrategy Library
In Mi croStrategy 10.9 through 11.0, Mi croStrategy Li brary w as automati cal l y
depl oyed i n Tomcat and the M i c r o S t r a t e g y L i b r a r y . w a r fi l e i nstal l ed
i n the <I NS TA L L _P A T H > \ L i b r a r y W e b M o b i l e di rectory. Mi croStrategy
2019 and above requi res admi ni strators to perform the upgrade for thei r
Li brary depl oyment.
You mus t manually deploy a new Library WAR File after upgrading
Mic roStrategy Library .
Thi s secti on contai ns hi gh l evel steps and consi derati ons for performi ng an
upgrade or mi grati ng Mi croStrategy Li brary to a new envi ronment.
l server.xml
l tomcat-users.xml
2. U ni nstal l Tomcat.
5. Start Tomcat.
U se the fol l ow i ng steps to depl oy a new WAR fi l e for both Wi ndow s and
Li nux.
3. Mi grate your customi zati ons to the new envi ronment, such as:
l .. ./ we b a p p s / M i c r o S t r a t e g y L i b r a r y / i m a g e s /
l .. ./ we b a p p s / M i c r o S t r a t e g y L i b r a r y / p l u g i n s /
l .. ./ we b a p p s / M i c r o S t r a t e g y L i b r a r y / W E B -
IN F/ cl a s s e s / a u t h /
l .. ./ we b a p p s / M i c r o S t r a t e g y L i b r a r y / W E B -
IN F/ cl a s s e s / c o n f i g / c o n f i g O v e r r i d e . p r o p e r t i e s
l .. ./ we b a p p s / M i c r o S t r a t e g y L i b r a r y / W E B -
IN F/ cl a s s e s / l o g b a c k . x m l
l Any other customi zati ons i ncl udi ng SSL confi gurati ons
4. Veri fy that Mi croStrategy Li brary functi onal i ty i ncl udi ng col l aborati on,
shari ng, exporti ng, pri nti ng, and al l other features are w orki ng
properl y. Ensure dossi ers and documents are appeari ng.
6. MicroStrategy Collaboration
Mi croStrategy C ol l aborati on has been enhanced to use a central data
reposi tory i nstal l ed as part of the Mi croStrategy Pl atform. Starti ng i n
Mi croStrategy 2020 the C ol l aborati on Server constructs the connecti on
stri ng to the Mi croStrategy D ata R eposi tory duri ng runti me. After performi ng
the upgrade, C ol l aborati on Server w i l l onl y support connecti ons to the
Mi croStrategy D ata R eposi tory.
After upgradi ng C ol l aborati on Server, the previ ous data reposi tory remai ns
unchanged but i t w i l l not be used by the new versi on of C ol l aborati on
Server. Any comments stored i n the previ ous data reposi tory w i l l need to be
moved to the new reposi tory to be accessi bl e.
The C ol l aborati on Server Admi ni strati on Tool provi des a w ay for system
admi ni strators to mi grate comments from the previ ous data reposi tory to the
new data reposi tory. The C ol l aborati on Admi ni strati on Page w i l l di spl ay a
w arni ng message w hen i t detects that a previ ous data reposi tory w as used
by the C ol l aborati on Server before the upgrade.
The C ol l aborati on Server Admi ni strati on Tool i s a consol e appl i cati on and
w i l l connect to the data reposi tory usi ng the same confi gurati on as the
C ol l aborati on Server so no user i nput i s requi red to connect. The tool w i l l
provi de feedback as data i s bei ng mi grated and w i l l show a message w hen
the mi grati on i s compl ete.
In order to recover col l aborati on messages that w ere stored i n the previ ous
versi on of the Mi croStrategy Pl atform pl ease fol l ow these steps:
cm d> m i g r a t e
The C ol l aborati on Admi n Page w i l l stop di spl ayi ng the w arni ng message at
thi s poi nt.
l Your Enterpris e Manager s tatis tic s and warehous e are automatic ally updated
by the ins taller.
l Us e the Projec t Duplic ation Wiz ard to mak e a bac k up of y our ex is ting
Enterpris e Manager projec t. For detailed information about us ing Projec t
Duplic ation, s ee the Managi ng Your Proj ects c hapter of the System
Admi ni strati on H el p .
l U ser N ame: Type the Mi croStrategy user name that can access and
admi ni ster the Enterpri se Manager proj ect.
l Password: Type the passw ord for the Mi croStrategy user that can
access and admi ni ster the Enterpri se Manager proj ect.
6. C l i ck N ext.
l D SN : Sel ect the data source name for your stati sti cs reposi tory or
cl i ck N ew to open the Mi croStrategy C onnecti vi ty Wi zard and create
a new D SN .
l U ser N ame: Type the database user name for the user that can
connect to the stati sti cs data source.
l Password: Type the passw ord for the user that can connect to the
stati sti cs data source.
8. C l i ck N ext.
10. C l i ck Finish.
l U ser N ame: Enter the Mi croStrategy user name that can access the
Intel l i gence Server.
If this is y our firs t time c onnec ting to the Mic roStrategy Intelligenc e
Serv er, us e the us er name A dministrator without a pas s word.
l Password: Enter the passw ord for the Mi croStrategy user that can
access the Intel l i gence Server.
7. C l i ck N ext.
l P la tf o r m A n a l y t i c s C o n f i g u r a t i o n N e w . s c p
l Pl at fo r m A n a l y t i c s C o n f i g u r a t i o n U p g r a d e . s c p
l Pl at fo r m A n a l y t i c s C o n f i g u r a t i o n N e w _P o s t g r e S Q L . sc p
l Pl at fo r m A n a l y t i c s C o n f i g u r a t i o n U p g r a d e _
Po st gr e S Q L . s c p
9. To manual l y update the proj ect setti ngs, see C onfi gure the Pl atform
Anal yti cs Proj ect.
The C onfi gurati on Wi zard provi des the fol l ow i ng opti ons:
l H ost: Type the host name of the Pl atform Anal yti cs w arehouse. By
defaul t, thi s i s set to the l ast successful connecti on val ue.
l Port: Type the port number of the Pl atform Anal yti cs w arehouse. By
defaul t, thi s i s set to the l ast successful connecti on val ue.
l U ser N ame: Type the user name for the Pl atform Anal yti cs w arehouse. By
defaul t, thi s i s set to the val ue from P A C o n su m e r C o n f i g . y a m l fi l e
l Password: Type the passw ord for the Pl atform Anal yti cs w arehouse user.
Depending on the warehous e ty pe y ou c hoos e for the Hos t and Port, y ou mus t
s et the parameter w h D b T y p e to either " p o s t g r e s q l " or " m y s q l" in the
PA Co ns u m e r C o n f ig . y a m l file.
l Linux : / o p t / M i c r o S t r a t e g y / P l a t f o r m A n a l y t i c s / C o n f
l Windows : C : \ P r o g r a m F i l e s
(x 86 )\ M i c r o S t r a t e g y \ P l a t f o r m A n a l y t i c s \ c o n f
C l i ck N ext to proceed.
You can al so update the Pl atform Anal yti cs reposi tory usi ng the
C onfi gurati on Wi zard i n i nteracti ve mode.
To update the Pl atform Anal yti cs reposi tory usi ng the C onfi gurati on
2. C l i ck Enter.
To update the Pl atform Anal yti cs reposi tory usi ng the C onfi gurati on
4. C l i ck Enter.
In st r u ct i o n s
1. Open Mi croStrategy Li cense Manager from Start menu > Programs >
MicroStrategy Tools > License Manager.
3. Sel ect the Server A ctivation using A ctivation C ode opti on and enter
your Acti vati on C ode i n the text fi el d. C l i ck N ext .
4. C l i ck OK .
1. Upgrade Preparation
Before you begi n the upgrade to Mi croStrategy 2021 take care of the
fol l ow i ng i tems:
l Log i n as ro o t user.
l Backup the current confi gurati on fi l es for Intel l i gence Server, Web,
Mobi l e, Li brary, and C ol l aborati on.
Li st of Fi l es:
Intelligence Server
l MS IR eg fi l es
l od bc in st . i n i
l od bc .i ni
MicroStrategy Library
l .. /w eb ap p s / M i c ro S t r a t e g y L i b r a ry / i m a g e s /
l .. /w eb ap p s / M i c ro S t r a t e g y L i b r a ry / p l u g i n s /
l .. /w eb ap p s / M i c ro S t r a t e g y L i b r a ry / W E B -
IN F/ cl as s e s / a u th /
l .. /w eb ap p s / M i c ro S t r a t e g y L i b r a ry / W E B -
IN F/ cl as s e s / c o nf i g / c o n f i g O v e r ri d e . p r o p e r t i e s
l .. /w eb ap p s / M i c ro S t r a t e g y L i b r a ry / W E B -
IN F/ cl as s e s / l o gb a c k . x m l
l Any other customi zati ons i ncl udi ng SSL confi gurati ons
MicroStrategy Collaboration
When upgradi ng the C ol l aborati on Server, the Mi croStrategy Instal l er
preserves the c o n f i g. j s o n fi l e for the servi ce; how ever, i t does not
back up the noti fi cati on c o n f i g . j s o n fi l e. If you have modi fi ed any
noti fi cati on properti es, you need to backup the fol l ow i ng and restore i t
once the upgrade i s compl ete:
< IN ST AL L_ P A T H > \ M i c r o S t r a t e g y \ C o l l a b o r a t i o n
Se rv er \n o d e _m o d u l e s \ m s t r -c o l l a b -
sv c\ pl ug i n C o n f i g \ d o s s i e r
Li st of fi l es:
l co nf ig .j s o n
l em ai l- I n v i t e . t e m p l a t e
l em ai l- M e n t i o n . t e m p l a t e
l Us ername
l Pas s word
l Send an emai l to your users to i nform that Intel l i gence Server and Web
Server w i l l be dow n duri ng the upgrade process.
l H al t any moni tori ng al erts i n case fal se al arm tri ggered duri ng upgrades.
l C heck the Mi croStrategy Web Admi ni strati on page and del ete any defi ned
Trust R el ati onshi ps.
mo un t | g r e p M i c r o S t r a t e g y
l To unmount each fol der, run u m o u n t / < p a t h > / < t o > / < f o l d er >. For
exampl e:
um ou nt / o p t / m s t r / M i c r o S t r a t e g y / i n s t a l l / i m a g e s
l Stop puppet: s e r v i c e p u p p e t s t o p
gr ep pu p p e t
1. cd / op t / a p a c h e / t o m c a t / l a t e s t / w e b a p p s /
2. rm - r f M i c r o S t r a t e g y *
3. cd
/o pt /a p a c h e / t o m c a t / l a t e s t / w o r k / C a t a l i n a / l o c al ho st
4. rm - r f M i c r o S t r a t e g y *
1. N avi gate to your Mi croStrategy 2021 dow nl oad fol der and then
Qu er yR e p o r t i n g A n a l y s i s _L i n u x.
l For GU I mode:. / s e t u p . s h
After eac h s tep of the ins tall proc es s c lic k N ext , or ty pe 1 and pres s
Enter , to proc eed.
To quit the ins tallation at any time during the s etup, c lic k C ancel , or ty pe
3 and pres s Enter .
If your l i cense i ncl udes new products or servi ces sel ect them for
i nstal l ati on i n thi s w i ndow .
5. The i nstal l er di spl ays any runni ng servi ces that need to be
stopped. C l i ck Yes to stop them now .
10. R evi ew the l i st of components sel ected for i nstal l ati on.
If you are usi ng a versi on pri or to Mi croStrategy 10.4 and connect to your
data source usi ng a Mi croStrategy-branded dri ver , the dri vers are upgraded
from 32-bi t to 64-bi t dri vers automati cal l y w hen Intel l i gence Server i s
upgraded. You must manual l y update the Mi croStrategy o d b c . i n i
confi gurati on fi l e to poi nt to the l ocati on for the 64-bi t dri ver.
If you connect to your data source usi ng a dri ver provi ded by a thi rd-party
vendor, you must i nstal l the 64-bi t versi on of the dri ver from your thi rd-party
vendor, and then create a new D SN that uses that dri ver to connect to your
data source. You must al so update the Mi croStrategy o d b c . i n i
confi gurati on fi l e.
After you upgrade the dri vers, conti nue the upgrade process w i th 4.
C onnect the Intel l i gence Server to the Metadata.
cd / op t / m s t r / M i c r o s t r a t e g y / b i n
./ ms tr c f g w i z
3. From the D SN drop-dow n l i st, sel ect the D SN used to connect to the
metadata reposi tory. Enter the U ser N ame and Password for the
database.
4. C l i ck N ext.
D efinitions pane.
7. C l i ck N ext.
1. D efi ne the Intel l i gence Server setti ngs descri bed bel ow :
l Port number: You can use the defaul t port number (34952) or
speci fy another port number. The port number i s how a server
process i denti fi es i tsel f on the machi ne on w hi ch i t i s runni ng. If the
port number i s used by another process, such as i n a shared
envi ronment, speci fy an avai l abl e port number.
l R EST port number: You can use the defaul t port number (34962) or
speci fy another port number for the R EST API Server i nsi de
Intel l i gence Server. Thi s port number shoul d not be same w i th the
Intel l i gence Server port number.
You c an c onfigure REST API Serv er logging with the Diagnos tic s and
Performanc e Logging Tool. Selec t the Performance C onfiguration
tab, and find the dis patc her R EST Trace under c omponent N etwork
C lasses . For more information, s ee the Configuring What is Logged
s ec tion in the System Admi ni strati on H el p .
l Projects to load at startup: Thi s pane di spl ays al l the proj ects that
are i n the metadata reposi tory. You can sel ect proj ects to use w i th
the server defi ni ti on that you have chosen. The proj ects that you
sel ect are l oaded on the server at startup.
l Start Intelligence Server when finished: Sel ect thi s check box to
have Intel l i gence Server start once you compl ete thi s confi gurati on.
2. C l i ck N ext.
3. Secure socket l ayer (SSL) protocol encrypts communi cati ons betw een
Intel l i gence Server and D evel oper:
When you sel ect to enabl e the SSL protocol , you must provi de the
fol l ow i ng i nformati on:
l C ertificate: The SSL certi fi cate fi l e you created for Intel l i gence
Server. C l i ck the brow se button to navi gate to and sel ect the
certi fi cate fi l e.
l K ey: The pri vate key fi l e you created w hi l e requesti ng the certi fi cate
for Intel l i gence Server. C l i ck the brow se button to navi gate to and
sel ect the pri vate key fi l e.
l Password: The passw ord that you used w hi l e creati ng the pri vate
key for the SSL certi fi cate.
l SSL Port: The port number to use for SSL access. By defaul t, the
port i s 39321.
l SSL Port: The port number the Intel l i gence Server w i l l use for SSL
communi cati ons w i th cl i ent certi fi cate veri fi cati on.
4. C l i ck N ext.
5. To speci fy the defaul t stati sti cs reposi tory for the l ocal Intel l i gence
Server and enabl e basi c stati sti cs l oggi ng for proj ects:
l When defi ni ng the defaul t stati sti cs reposi tory, you must provi de the
fol l ow i ng confi gurati on detai l s:
l D SN : Sel ect the data source name for your stati sti cs reposi tory.
If a D SN for your stati sti cs reposi tory does not exi st, you can cl i ck
N ew to open the Mi croStrategy C onnecti vi ty Wi zard and create a
new D SN .
l U ser N ame: Type the database user name for the user that can
connect to the stati sti cs data source.
l Password: Type the passw ord for the user that can connect to the
stati sti cs data source.
o Enabl e basi c and addi ti onal stati sti cs for a proj ect i f you cl eared
thi s check box.
6. Enabl e and confi gure the Messagi ng Servi ces host and port setti ngs.
7. C l i ck N ext.
9. C l i ck Finish.
U pdati ng the metadata ensure compati bi l i ty betw een your pre-exi sti ng
obj ects and the Mi croStrategy cl i ents. You can al so take advantage of new
confi gurati on setti ngs exposed through the cl i ent appl i cati ons, functi onal i ty,
and obj ects avai l abl e onl y w i th the updated versi on of metadata.
D uri ng the metadata update process, the C onfi gurati on Wi zard generates
addi ti onal SQL for tasks such as managi ng i ndexes and pri mary keys. To
vi ew thi s SQL duri ng the update process, on the Summary Page of the
C onfi gurati on Wi zard, i n the Summary pane, cl i ck SQL Preview. In
addi ti on, once you have compl eted the update process, the generated SQL
i s saved i n the Mi croStrategy common fi l es di rectory. The fi l e name i s
Orig in al Sc r i p t _g e n e r a t e d . s q l, w here O r i g i n a l S c r i p t i s the
name of the ori gi nal SQL update scri pt. For exampl e, i f you are updati ng an
Oracl e database, the ori gi nal SQL update scri pt i s m d o r c l . s q l and the
generated SQL fi l e i s m d o r c l _g e n e r a t e d .s q l.
l If y ou hav e made any c hanges to the priv ileges as s igned to the out-of-the-
box Mic roStrategy us er groups and s ec urity roles , updating the metadata
may ov erwrite thos e c hanges . In partic ular, if y ou hav e made any c hanges
to groups that us e any priv ileges mentioned in the Li st of updated
pri vi l eges , updating the metadata will ov erwrite thos e c hanges .
l For information about v iewing the Configuration Wiz ard log file if an error
oc c urs , s ee R esol vi ng Probl ems Encountered D uri ng the U pgrade .
l The MDUpdate c ommand line utility that was formerly us ed to update the
metadata is no longer s upported. To update the metadata from the c ommand
line, y ou c an us e a res pons e file with Configuration Wiz ard.
l The proj ect's metadata versi on from w hi ch you update must be ol der than,
or the same as, the versi on of the machi ne w here C onfi gurati on Wi zard i s
i nstal l ed that w i l l be performi ng the metadata update An ol der versi on of
the product i s not abl e to perform an update on a new er versi on of
metadata.
l The l anguage setti ngs of the cl i ent, proj ect, and Intel l i gence Server must
al l be the same.
l The proj ects to be updated must not be l ocked. To unl ock a proj ect's
metadata, i n D evel oper, from the A dministration menu, go to Locking >
U nlock Project.
The fol l ow i ng prerequi si tes are speci fi c to the R D BMS that your proj ect
metadata i s stored i n:
l If you are usi ng Oracl e for your metadata database, make sure that the
Maxi mum Open C ursors parameter for the database i s set to at l east
1500.
l If you are usi ng SQL Server for your metadata database, Mi croStrategy
recommends setti ng the transacti on l og to the Si mpl e R ecovery Model
because the Bul k or Ful l R ecovery Model s may fi l l the transacti on l og
duri ng the upgrade and cause an error.
l If you are usi ng D B2 for your metadata database, make sure that the
D ynami c Secti ons property for the database i s set to 999.
To M ake M et ad at a U p d at es U si n g t h e Co n f i gu r at i o n Wi zar d
The D SN and Logi n ID are provi ded based on the server confi gurati on
that you di d previ ousl y.
5. On the Sel ect C omponents page, sel ect the check boxes for each
Intel l i gence Server you w ant to upgrade.
6. U nder each sel ected Intel l i gence Server, sel ect the system
components you w ant to upgrade:
l Lean Objects migration: Lean Obj ects are a si gni fi cantl y more
compact form of obj ect representati on i n the metadata tabl es. Lean
Obj ects are typi cal l y 25-50% smal l er and w i l l never be l arger than
the ori gi nal representati on. Mi grati ng exi sti ng obj ects to Lean
Obj ects al so al l ow s for faster l oadi ng of obj ects compared to the ol d
representati on.
Al l new obj ects are created i n thi s format, and exi sti ng obj ects are
converted to the new format as they are saved. Sel ecti ng Lean
Obj ects mi grati on converts al l obj ects i n the reposi tory to the new
format at once. Thi s opti on i s automati cal l y sel ected i f you sel ect
U pgrade metadata reposi tory.
The Lean objec ts migration modifies all objec ts in y our Mic roStrategy
projec ts to us e the new objec t repres entation. This migration c an
require a s ignific ant amount of time and res ourc es to c omplete.
l U pdate privileges: U pdati ng the pri vi l eges ensures that users have
access to the same functi onal i ty that they had i n previ ous versi ons of
Mi croStrategy.
By default, priv ileges are upgraded bas ed on the v ers ion of y our
Mic roStrategy metadata. Howev er, if y ou prev ious ly upgraded y our
Mic roStrategy metadata and did not upgrade priv ileges along with the
metadata upgrade, y ou mus t identify the Mic roStrategy v ers ion y ou
mos t rec ently upgraded y our priv ileges for.
l Migrate H istory List messages: Sel ect thi s check box to mi grate
your exi sti ng H i story Li st reposi tory to a new format for i mproved
search resul ts, scal abi l i ty, and performance. A fi l e-based reposi tory
can be mi grated to a database-based reposi tory or a hybri d
reposi tory, and a database-based reposi tory can be mi grated to a
hybri d reposi tory.
l If you sel ect thi s check box, addi ti onal confi gurati on opti ons for
thi s mi grati on are provi ded l ater, on the H i story Li st Mi grati on
page. D uri ng the upgrade process thi s Intel l i gence Server and any
other Intel l i gence Servers i n the cl uster are stopped and restarted.
7. Sel ect each proj ect you w ant to update. Onl y proj ects that are l oaded
on Intel l i gence Server can be updated. Proj ect updates can i ncl ude
l Execute project logical upgrade: U pdates the proj ect to the most
recent versi on of Mi croStrategy. Thi s opti on al so updates the report,
document, and dossi er defi ni ti ons to i mprove the performance and
reduce the memory usage and storage requi rements of reports and
documents that w ere created w i th a previ ous versi on of
Mi croStrategy.
l Lean Objects migration: Sel ecti ng Lean Obj ects mi grati on converts
al l obj ects i n thi s proj ect to the new format at once.
By default, if y ou update multiple projec ts and the update fails for one
projec t, the update proc es s c ontinues for other projec ts . This allows
y ou to c omplete all pos s ible updates and then rev iew any errors . To
abort the update proc es s for other projec ts when one projec t fails , c lear
the U pdate the remaining projects, even when one project
update fails c hec k box .
l U pdate OLA P Services C ube caches to PR IME: Sel ect thi s check
box to update al l Intel l i gent C ubes to the PR IME archi tecture. Thi s
archi tecture can i mprove the performance of publ i shi ng Intel l i gent
C ube resul ts through the use of paral l el processi ng and other
opti mi zati ons. Thi s update i s appl i ed to al l Intel l i gent C ubes for the
proj ect.
l U pdate data import cubes (definition and cache) to PR IME: Sel ect
thi s check box to update al l D ata Import datasets to the PR IME
archi tecture. Thi s archi tecture can i mprove the performance of
publ i shi ng D ata Import resul ts through the use of paral l el processi ng
and other opti mi zati ons. Thi s update i s appl i ed to data sets i ncl uded
i n your proj ect through the use of D ata Import.
It is eas ier to update OLAP Serv ic es Cube c ac hes and data import
c ubes to PRIME during the upgrade proc es s . If y ou do not update them
now, eac h c ube is updated when it is us ed. Doing the upgrade all at
onc e ens ures c ons is tent performanc e for end us ers .
8. C l i ck N ext.
9. If you sel ected the Migrate H istory List messages opti on, on the
H i story Li st Target D atabase page, speci fy the necessary i nformati on
for the H i story Li st database.
10. C l i ck N ext.
11. On the Summary page, revi ew your upgrade choi ces and cl i ck Finish.
To U p gr ad e t h e H i st o r y Li st Rep o si t o r y
1. From the C onfi gurati on Wi zard Wel come page sel ect U pgrade
existing environment to MicroStrategy Secure Enterprise and cl i ck
N ext.
3. Sel ect the D SN for the H i story Li st database, and speci fy the l ogi n
i nformati on.
4. To upgrade exi sti ng H i story Li st messages to the current format, sel ect
the C opy H istory List content check box.
If this c hec k box is c leared, ex is ting His tory Lis t mes s ages are not
upgraded. The new tables required to s upport His tory Lis t mes s ages are
s till c reated.
5. If you sel ect to upgrade your exi sti ng H i story Li st messages, you can
al so sel ect the C ompress data check box to compress al l exi sti ng
H i story Li st messages. Thi s compressi on can i mprove the performance
of usi ng H i story Li st messages. H ow ever, the compressi on of your
H i story Li st messages can requi re si gni fi cant system resources duri ng
the upgrade.
6. C l i ck N ext.
l .. /W EB - I N F / x m l / c o n f i g / m a p C o n f i g . x m l
l .. /W EB - I N F / x m l / s y s _d e f a u l t s . p ro p e r t i e s
l .. /W EB - I N F / x m l / s y s _d e f a u l t s . x ml
l .. /W EB - I N F / w e b . x m l
l /W EB - IN F / x m l / s y s _d e f a u l t s . p r o p e r t i e s
l /W EB - IN F / x m l / s y s _d e f a u l t s . x m l
l /W EB - IN F / w e b . x m l
l Backup any mobi l e devi ce confi gurati ons or saved any i mages from the
Mi croStrategy Photo U pl oader w i dget, manual l y back them up before
proceedi ng w i th your upgrade.
l /W EB - IN F / x m l / m o b i l e
l /W EB - IN F / S a v e d I m a g e s
l If you depl oy any Web or Mobi l e customi zati ons and revi ew the fol l ow i ng
SD K documentati on to l earn how to successful l y mi grate these
customi zati ons:
l Mi croStrategy Web
l Mi croStrategy Mobi l e
l If you secure your Mi croStrategy Mobi l e connecti ons through C erti fi cate
Server, you must upgrade your C erti fi cate Server to support Mi croStrategy
2021 Mobi l e appl i cati ons.
8. MicroStrategy Library
In Mi croStrategy 10.9 through 11.0, Mi croStrategy Li brary w as automati cal l y
depl oyed i n Tomcat and the M i c r o S t r a t e g y L i b r a r y . w a r fi l e i nstal l ed
i n the <I NS TA L L _P A T H > \ L i b r a r y W e b M o b i l e di rectory. Mi croStrategy
2019 and above requi res admi ni strators to perform the upgrade for thei r
Li brary depl oyment.
You mus t manually deploy a new Library WAR File after upgrading
Mic roStrategy Library .
Thi s secti on contai ns hi gh l evel steps and consi derati ons for performi ng an
upgrade or mi grati ng Mi croStrategy Li brary to a new envi ronment.
U se the fol l ow i ng steps to depl oy a new WAR fi l e for both Wi ndow s and
Li nux.
3. Mi grate your customi zati ons to the new envi ronment, such as:
l .. ./ we b a p p s / M i c r o S t r a t e g y L i b r a r y / i m a g e s /
l .. ./ we b a p p s / M i c r o S t r a t e g y L i b r a r y / p l u g i n s /
l .. ./ we b a p p s / M i c r o S t r a t e g y L i b r a r y / W E B -
IN F/ cl a s s e s / a u t h /
l .. ./ we b a p p s / M i c r o S t r a t e g y L i b r a r y / W E B -
IN F/ cl a s s e s / c o n f i g / c o n f i g O v e r r i d e . p r o p e r t i e s
l .. ./ we b a p p s / M i c r o S t r a t e g y L i b r a r y / W E B -
IN F/ cl a s s e s / l o g b a c k . x m l
l Any other customi zati ons i ncl udi ng SSL confi gurati ons
4. Veri fy that Mi croStrategy Li brary functi onal i ty i ncl udi ng col l aborati on,
shari ng, exporti ng, pri nti ng, and al l other features are w orki ng
properl y. Ensure dossi ers and documents are appeari ng.
9. MicroStrategy Collaboration
Mi croStrategy C ol l aborati on has been enhanced to use a central data
reposi tory i nstal l ed as part of the Mi croStrategy Pl atform. Starti ng i n
Mi croStrategy 2020 the C ol l aborati on Server constructs the connecti on
stri ng to the Mi croStrategy D ata R eposi tory duri ng runti me. After performi ng
the upgrade, C ol l aborati on Server w i l l onl y support connecti ons to the
Mi croStrategy D ata R eposi tory.
After upgradi ng C ol l aborati on Server, the previ ous data reposi tory remai ns
unchanged but i t w i l l not be used by the new versi on of C ol l aborati on
Server. Any comments stored i n the previ ous data reposi tory w i l l need to be
moved to the new reposi tory to be accessi bl e.
The C ol l aborati on Server Admi ni strati on Tool provi des a w ay for system
admi ni strators to mi grate comments from the previ ous data reposi tory to the
new data reposi tory. The C ol l aborati on Admi ni strati on Page w i l l di spl ay a
w arni ng message w hen i t detects that a previ ous data reposi tory w as used
by the C ol l aborati on Server before the upgrade.
The C ol l aborati on Server Admi ni strati on Tool i s a consol e appl i cati on and
w i l l connect to the data reposi tory usi ng the same confi gurati on as the
C ol l aborati on Server so no user i nput i s requi red to connect. The tool w i l l
provi de feedback as data i s bei ng mi grated and w i l l show a message w hen
the mi grati on i s compl ete.
In order to recover col l aborati on messages that w ere stored i n the previ ous
versi on of the Mi croStrategy Pl atform pl ease fol l ow these steps:
cd
/o pt /m s t r / M i c r o S t r a t e g y / i n s t a l l / C o l l a b o r a t i on Se rv e
r/
./ co ll a b o r a t i o n S e r v e r . s h s t o p
cd
/o pt /m s t r / M i c r o S t r a t e g y / i n s t a l l / C o l l a b o r a t i on Se rv e
r/ Mo ng o D B /
./ mo ng o d . s h s t a r t
/opt/mstr/MicroStrategy/install/NodeJS/bin/node
/opt/mstr/MicroStrategy/install/CollaborationServer/node_modules/mstr-
collab-svc/admintool.js
/opt/mstr/MicroStrategy/install/CollaborationServer/config.json
cm d> m i g r a t e
The C ol l aborati on Admi n Page w i l l stop di spl ayi ng the w arni ng message at
thi s poi nt.
l Your Enterpris e Manager s tatis tic s and warehous e are automatic ally updated
by the ins taller.
l Us e the Projec t Duplic ation Wiz ard to mak e a bac k up of y our ex is ting
Enterpris e Manager projec t. For detailed information about us ing Projec t
Duplic ation, s ee the Managi ng Your Proj ects c hapter of the System
Admi ni strati on H el p .
l U ser N ame: Type the Mi croStrategy user name that can access and
admi ni ster the Enterpri se Manager proj ect.
l Password: Type the passw ord for the Mi croStrategy user that can
access and admi ni ster the Enterpri se Manager proj ect.
6. C l i ck N ext.
l D SN : Sel ect the data source name for your stati sti cs reposi tory or
cl i ck N ew to open the Mi croStrategy C onnecti vi ty Wi zard and create
a new D SN .
l U ser N ame: Type the database user name for the user that can
connect to the stati sti cs data source.
l Password: Type the passw ord for the user that can connect to the
stati sti cs data source.
8. C l i ck N ext.
10. C l i ck Finish.
l U ser N ame: Enter the Mi croStrategy user name that can access the
Intel l i gence Server.
If this is y our firs t time c onnec ting to the Mic roStrategy Intelligenc e
Serv er, us e the us er name A dministrator without a pas s word.
l Password: Enter the passw ord for the Mi croStrategy user that can
access the Intel l i gence Server.
R eposi tory.
7. C l i ck N ext.
l P la tf o r m A n a l y t i c s C o n f i g u r a t i o n N e w . s c p
l Pl at fo r m A n a l y t i c s C o n f i g u r a t i o n U p g r a d e . s c p
l Pl at fo r m A n a l y t i c s C o n f i g u r a t i o n N e w _P o s t g r e S Q L . sc p
l Pl at fo r m A n a l y t i c s C o n f i g u r a t i o n U p g r a d e _
Po st gr e S Q L . s c p
9. To manual l y update the proj ect setti ngs, see C onfi gure the Pl atform
Anal yti cs Proj ect.
The C onfi gurati on Wi zard provi des the fol l ow i ng opti ons:
l H ost: Type the host name of the Pl atform Anal yti cs w arehouse. By
defaul t, thi s i s set to the l ast successful connecti on val ue.
l Port: Type the port number of the Pl atform Anal yti cs w arehouse. By
defaul t, thi s i s set to the l ast successful connecti on val ue.
l U ser N ame: Type the user name for the Pl atform Anal yti cs w arehouse. By
defaul t, thi s i s set to the val ue from P A C o n su m e r C o n f i g . y a m l fi l e
l Password: Type the passw ord for the Pl atform Anal yti cs w arehouse user.
Depending on the warehous e ty pe y ou c hoos e for the Hos t and Port, y ou mus t
s et the parameter w h D b T y p e to either " p o s t g r e s q l " or " m y s q l" in the
PA Co ns u m e r C o n f ig . y a m l file.
l Linux : / o p t / M i c r o S t r a t e g y / P l a t f o r m A n a l y t i c s / C o n f
l Windows : C : \ P r o g r a m F i l e s
(x 86 )\ M i c r o S t r a t e g y \ P l a t f o r m A n a l y t i c s \ c o n f
C l i ck N ext to proceed.
You can al so update the Pl atform Anal yti cs reposi tory usi ng the
C onfi gurati on Wi zard i n i nteracti ve mode.
To update the Pl atform Anal yti cs reposi tory usi ng the C onfi gurati on
Wi zard i n i nteracti ve mode on Wi ndow s:
2. C l i ck Enter.
To update the Pl atform Anal yti cs reposi tory usi ng the C onfi gurati on
Wi zard i n i nteracti ve mode on Li nux:
4. C l i ck Enter.
Instructi ons
3. C l i ck N ext.
6. C l i ck N ext.
For detai l ed i nformati on on testi ng your upgraded envi ronment, see C hapter
, Val i dati ng the U pgrade.
If y ou do not want to c reate a tes t env ironment, Mic roStrategy rec ommends
that y ou c reate and s av e an Integrity Manager integrity tes t bas eline of y our
reports and doc uments . You c an then ex ec ute an integrity tes t agains t this
bas eline when the upgrade is c omplete, to ens ure that the upgrade has not
altered any of y our report res ults . For detailed information about us ing Integrity
Manager to ex ec ute integrity tes ts , s ee the Integri ty Manager c hapter of the
System Admi ni strati on H el p .
l D o not modi fy any exi sti ng confi gurati on obj ects. If you need addi ti onal
confi gurati on obj ects for testi ng, you can ei ther create addi ti onal obj ects,
or dupl i cate an exi sti ng obj ect and modi fy i t. Thi s appl i es to database
i nstances, connecti ons and l ogi ns, securi ty fi l ters, users and user groups,
and securi ty rol es.
l If your producti on envi ronment i s cl ustered, then your test envi ronment
shoul d al so be cl ustered.
l If your test and producti on data w arehouses have di fferent database tabl e
prefi xes, make sure you are usi ng the correct prefi xes i n the test
envi ronment's Warehouse C atal og.
l If you are creati ng reports and documents speci fi cal l y for an upgrade
i ntegri ty test, create those reports and documents before you dupl i cate
the producti on metadata.
l If you are usi ng connecti on mappi ng for users to access the data
w arehouse, check to be sure that al l users can l og i n to the test data
w arehouse, si nce user passw ords may di ffer betw een the test w arehouse
and the producti on w arehouse.
One way to manage this is to c reate a new generic databas e login, and then us e
the following s ample Command Manager s c ript to c hange us ers ' c onnec tion
mappings to us e this new login:
l If you are pl anni ng to upgrade Enterpri se Manager, run a data l oad before
you upgrade Intel l i gence Server. If you do not run a data l oad before
upgradi ng Enterpri se Manager and the proj ects on the Intel l i gence
Servers, you may l ose access to some stati sti cs data. Al l Enterpri se
Manager upgrades requi re that you al so upgrade your stati sti c tabl es,
Enterpri se Manager reposi tory, and your Enterpri se Manager metadata.
l If you are usi ng N arrow cast Server, make sure that the database copy of
the N arrow cast reposi tori es i s not used w hen setti ng up the N arrow cast
Server test envi ronment. Instead, make a copy of the reposi tori es w i th the
C opy R eposi tory uti l i ty i ncl uded w i th N arrow cast Admi ni strator and use
thi s copy. Thi s ensures that the test envi ronment does not acci dental l y
refer to a producti on server. For detai l ed i nstructi ons on creati ng a copy
of the N arrow cast reposi tori es, see the N arrow cast Server U pgrade
Gui de.
1. Set up the hardw are for the envi ronment. Mi croStrategy recommends
that thi s hardw are dupl i cate the confi gurati on of the producti on
envi ronment as cl osel y as possi bl e.
3. U si ng the Proj ect D upl i cati on Wi zard, dupl i cate the producti on
metadata i nto the test envi ronment. For i nstructi ons on usi ng the
Proj ect D upl i cati on Wi zard, see the Managi ng Your Proj ects chapter of
the System Admi ni strati on H el p, or see the Proj ect D upl i cati on Wi zard
H el p.
4. Make sure that your test envi ronment Intel l i gence Server i s connected
to your test envi ronment metadata, and not your producti on metadata.
5. U si ng the Proj ect D upl i cati on Wi zard, dupl i cate the producti on
metadata i nto the test envi ronment.
For ins truc tions on us ing the Projec t Duplic ation Wiz ard, s ee the
Managi ng Your Proj ects c hapter of the System Admi ni strati on H el p ,
or s ee the Projec t Duplic ation Wiz ard Help.
6. Ensure your test envi ronment Intel l i gence Server i s connected to your
test envi ronment metadata.
9. Test the upgrade, fol l ow i ng the gui del i nes l ai d out i n Val i dati ng the
U pgrade, page 167.
Once you have i nstal l ed and confi gured your test envi ronment, proceed
w i th Step 2. C onnect the Intel l i gence Server to a C opy of Your Metadata.
Repeat thes e s teps for eac h Intelligenc e s erv er node in a c lus tered
env ironment.
3. From the D SN drop-dow n l i st, sel ect the D SN used to connect to the
metadata reposi tory. Enter the U ser N ame and Password for the
database.
4. C l i ck N ext.
7. C l i ck N ext.
1. D efi ne the Intel l i gence Server setti ngs descri bed bel ow :
l Port number: You can use the defaul t port number (34952) or
speci fy another port number. The port number i s how a server
process i denti fi es i tsel f on the machi ne on w hi ch i t i s runni ng. If the
port number i s used by another process, such as i n a shared
envi ronment, speci fy an avai l abl e port number.
l R EST port number: You can use the defaul t port number (34962) or
speci fy another port number for the R EST API Server i nsi de
Intel l i gence Server. Thi s port number shoul d not be same w i th the
Intel l i gence Server port number.
You c an c onfigure REST API Serv er logging with the Diagnos tic s and
Performanc e Logging Tool. Selec t the Performance C onfiguration
tab, and find the dis patc her R EST Trace under c omponent N etwork
C lasses . For more information, s ee the Configuring What is Logged
s ec tion in the System Admi ni strati on H el p .
l Projects to load at startup: Thi s pane di spl ays al l the proj ects that
are i n the metadata reposi tory. You can sel ect proj ects to use w i th
the server defi ni ti on that you have chosen. The proj ects that you
sel ect are l oaded on the server at startup.
l Start Intelligence Server when finished: Sel ect thi s check box to
have Intel l i gence Server start once you compl ete thi s confi gurati on.
2. C l i ck N ext.
3. Secure socket l ayer (SSL) protocol encrypts communi cati ons betw een
Intel l i gence Server and D evel oper:
When you sel ect to enabl e the SSL protocol , you must provi de the
fol l ow i ng i nformati on:
l C ertificate: The SSL certi fi cate fi l e you created for Intel l i gence
Server. C l i ck the brow se button to navi gate to and sel ect the
certi fi cate fi l e.
l K ey: The pri vate key fi l e you created w hi l e requesti ng the certi fi cate
for Intel l i gence Server. C l i ck the brow se button to navi gate to and
sel ect the pri vate key fi l e.
l Password: The passw ord that you used w hi l e creati ng the pri vate
key for the SSL certi fi cate.
l SSL Port: The port number to use for SSL access. By defaul t, the
port i s 39321.
l SSL Port: The port number the Intel l i gence Server w i l l use for SSL
communi cati ons w i th cl i ent certi fi cate veri fi cati on.
4. C l i ck N ext.
5. To speci fy the defaul t stati sti cs reposi tory for the l ocal Intel l i gence
Server and enabl e basi c stati sti cs l oggi ng for proj ects:
l When defi ni ng the defaul t stati sti cs reposi tory, you must provi de the
fol l ow i ng confi gurati on detai l s:
l D SN : Sel ect the data source name for your stati sti cs reposi tory.
If a D SN for your stati sti cs reposi tory does not exi st, you can cl i ck
N ew to open the Mi croStrategy C onnecti vi ty Wi zard and create a
new D SN .
l U ser N ame: Type the database user name for the user that can
connect to the stati sti cs data source.
l Password: Type the passw ord for the user that can connect to the
stati sti cs data source.
o Enabl e basi c and addi ti onal stati sti cs for a proj ect i f you cl eared
thi s check box.
6. Enabl e and confi gure the Messagi ng Servi ces host and port setti ngs.
7. C l i ck N ext.
9. C l i ck Finish.
U pdati ng the metadata ensure compati bi l i ty betw een your pre-exi sti ng
obj ects and the Mi croStrategy cl i ents. You can al so take advantage of new
confi gurati on setti ngs exposed through the cl i ent appl i cati ons, functi onal i ty,
and obj ects avai l abl e onl y w i th the updated versi on of metadata.
D uri ng the metadata update process, the C onfi gurati on Wi zard generates
addi ti onal SQL for tasks such as managi ng i ndexes and pri mary keys. To
vi ew thi s SQL duri ng the update process, on the Summary Page of the
C onfi gurati on Wi zard, i n the Summary pane, cl i ck SQL Preview. In
addi ti on, once you have compl eted the update process, the generated SQL
i s saved i n the Mi croStrategy common fi l es di rectory. The fi l e name i s
Orig in al Sc r i p t _g e n e r a t e d . s q l, w here O r i g i n a l S c r i p t i s the
name of the ori gi nal SQL update scri pt. For exampl e, i f you are updati ng an
Oracl e database, the ori gi nal SQL update scri pt i s m d o r c l . s q l and the
generated SQL fi l e i s m d o r c l _g e n e r a t e d .s q l.
l If y ou hav e made any c hanges to the priv ileges as s igned to the out-of-the-
box Mic roStrategy us er groups and s ec urity roles , updating the metadata
may ov erwrite thos e c hanges .
l For information about v iewing the Configuration Wiz ard log file if an error
oc c urs , s ee R esol vi ng Probl ems Encountered D uri ng the U pgrade .
l The MDUpdate c ommand line utility that was formerly us ed to update the
metadata is no longer s upported. To update the metadata from the c ommand
line, y ou c an us e a res pons e file with Configuration Wiz ard.
l The proj ect's metadata versi on from w hi ch you update must be ol der than,
or the same as, the versi on of the machi ne w here C onfi gurati on Wi zard i s
i nstal l ed that w i l l be performi ng the metadata update An ol der versi on of
the product i s not abl e to perform an update on a new er versi on of
metadata.
l The l anguage setti ngs of the cl i ent, proj ect, and Intel l i gence Server must
al l be the same.
l The proj ects to be updated must not be l ocked. To unl ock a proj ect's
metadata, i n D evel oper, from the A dministration menu, go to Locking >
U nlock Project.
The fol l ow i ng prerequi si tes are speci fi c to the R D BMS that your proj ect
metadata i s stored i n:
l If you are usi ng Oracl e for your metadata database, make sure that the
Maxi mum Open C ursors parameter for the database i s set to at l east
1500.
l If you are usi ng SQL Server for your metadata database, Mi croStrategy
recommends setti ng the transacti on l og to the Si mpl e R ecovery Model
because the Bul k or Ful l R ecovery Model s may fi l l the transacti on l og
duri ng the upgrade and cause an error.
l If you are usi ng D B2 for your metadata database, make sure that the
D ynami c Secti ons property for the database i s set to 999.
To M ake M et ad at a U p d at es U si n g t h e Co n f i gu r at i o n Wi zar d
The D SN and Logi n ID are provi ded based on the server confi gurati on
that you di d previ ousl y.
5. On the Sel ect C omponents page, sel ect the check boxes for each
Intel l i gence Server you w ant to upgrade.
6. U nder each sel ected Intel l i gence Server, sel ect the system
components you w ant to upgrade:
l Lean Objects migration: Lean Obj ects are a si gni fi cantl y more
compact form of obj ect representati on i n the metadata tabl es. Lean
Obj ects are typi cal l y 25-50% smal l er and w i l l never be l arger than
the ori gi nal representati on. Mi grati ng exi sti ng obj ects to Lean
Obj ects al so al l ow s for faster l oadi ng of obj ects compared to the ol d
representati on.
Al l new obj ects are created i n thi s format, and exi sti ng obj ects are
converted to the new format as they are saved. Sel ecti ng Lean
Obj ects mi grati on converts al l obj ects i n the reposi tory to the new
format at once. Thi s opti on i s automati cal l y sel ected i f you sel ect
U pgrade metadata reposi tory.
The Lean objec ts migration modifies all objec ts in y our Mic roStrategy
projec ts to us e the new objec t repres entation. This migration c an
require a s ignific ant amount of time and res ourc es to c omplete.
l U pdate privileges: U pdati ng the pri vi l eges ensures that users have
access to the same functi onal i ty that they had i n previ ous versi ons of
Mi croStrategy.
By default, priv ileges are upgraded bas ed on the v ers ion of y our
Mic roStrategy metadata. Howev er, if y ou prev ious ly upgraded y our
Mic roStrategy metadata and did not upgrade priv ileges along with the
metadata upgrade, y ou mus t identify the Mic roStrategy v ers ion y ou
mos t rec ently upgraded y our priv ileges for.
l Migrate H istory List messages: Sel ect thi s check box to mi grate
your exi sti ng H i story Li st reposi tory to a new format for i mproved
search resul ts, scal abi l i ty, and performance. A fi l e-based reposi tory
can be mi grated to a database-based reposi tory or a hybri d
reposi tory, and a database-based reposi tory can be mi grated to a
hybri d reposi tory.
l If you sel ect thi s check box, addi ti onal confi gurati on opti ons for
thi s mi grati on are provi ded l ater, on the H i story Li st Mi grati on
page. D uri ng the upgrade process thi s Intel l i gence Server and any
other Intel l i gence Servers i n the cl uster are stopped and restarted.
7. Sel ect each proj ect you w ant to update. Onl y proj ects that are l oaded
on Intel l i gence Server can be updated. Proj ect updates can i ncl ude
any of the fol l ow i ng opti ons:
l Execute project logical upgrade: U pdates the proj ect to the most
recent versi on of Mi croStrategy. Thi s opti on al so updates the report,
document, and dossi er defi ni ti ons to i mprove the performance and
reduce the memory usage and storage requi rements of reports and
l Lean Objects migration: Sel ecti ng Lean Obj ects mi grati on converts
al l obj ects i n thi s proj ect to the new format at once.
By default, if y ou update multiple projec ts and the update fails for one
projec t, the update proc es s c ontinues for other projec ts . This allows
y ou to c omplete all pos s ible updates and then rev iew any errors . To
abort the update proc es s for other projec ts when one projec t fails , c lear
the U pdate the remaining projects, even when one project
update fails c hec k box .
l U pdate OLA P Services C ube caches to PR IME: Sel ect thi s check
box to update al l Intel l i gent C ubes to the PR IME archi tecture. Thi s
archi tecture can i mprove the performance of publ i shi ng Intel l i gent
C ube resul ts through the use of paral l el processi ng and other
opti mi zati ons. Thi s update i s appl i ed to al l Intel l i gent C ubes for the
proj ect.
l U pdate data import cubes (definition and cache) to PR IME: Sel ect
thi s check box to update al l D ata Import datasets to the PR IME
archi tecture. Thi s archi tecture can i mprove the performance of
publ i shi ng D ata Import resul ts through the use of paral l el processi ng
and other opti mi zati ons. Thi s update i s appl i ed to data sets i ncl uded
i n your proj ect through the use of D ata Import.
It is eas ier to update OLAP Serv ic es Cube c ac hes and data import
c ubes to PRIME during the upgrade proc es s . If y ou do not update them
now, eac h c ube is updated when it is us ed. Doing the upgrade all at
onc e ens ures c ons is tent performanc e for end us ers .
8. C l i ck N ext.
9. If you sel ected the Migrate H istory List messages opti on, on the
H i story Li st Target D atabase page, speci fy the necessary i nformati on
for the H i story Li st database.
10. C l i ck N ext.
11. On the Summary page, revi ew your upgrade choi ces and cl i ck Finish.
2. Sel ect Metadata, H istory List and Statistics R epository Tables and
cl i ck N ext.
3. Sel ect the H istory List Tables check box and cl i ck N ext.
4. From the D SN drop-dow n l i st, sel ect the D SN for your H i story Li st
reposi tory.
If a D SN for your H i story Li st reposi tory does not exi st, you can sel ect
N ew to open the C onnecti vi ty Wi zard and create a new D SN .
5. Type a U ser N ame and Password that can connect to the data source.
6. After provi di ng a val i d user name and passw ord, you can cl i ck SQL
Preview to open the SQL Previ ew di al og box. Thi s di al og box provi des
the SQL statements that w i l l be executed on your data source to create
the H i story Li st tabl es. C l i ck C lose once you are done revi ew i ng the
SQL statements to return to the C onfi gurati on Wi zard.
If you use the advanced opti ons to change the SQL scri pt, you can
cl i ck SQL Previ ew after sel ecti ng the new scri pt to see an updated
l i sti ng of the SQL statements that w i l l be executed.
7. C l i ck A dvanced.
If you use a tabl e prefi x for your H i story Li st tabl es, you must al so
defi ne thi s tabl e prefi x w hen you create a database i nstance to
connect to the H i story Li st tabl es.
10. C l i ck N ext.
12. C l i ck Finish to appl y the confi gurati on and create the H i story Li st
reposi tory.
to the Enterpri se Manager proj ect. In both scenari os, you shoul d use the
l atest versi ons of Enterpri se Manager proj ects w i th Mi croStrategy 2021.
l To upgrade y our Enterpris e Manager s tatis tic s and warehous e from 10.x to
2021, y ou mus t manually run the s c ript that c orres ponds with y our databas e
management s y s tem ty pe. See KB483298 for details . If y ou are upgrading from
Mic roStrategy 2019 to 2021, y ou do not need to upgrade y our Enterpris e
Manager s tatis tic s and warehous e.
l Us e the Projec t Duplic ation Wiz ard to mak e a bac k up of y our ex is ting
Enterpris e Manager projec t. For detailed information about us ing Projec t
Duplic ation, s ee the Managi ng Your Proj ects c hapter of the System
Admi ni strati on H el p .
l U ser N ame: Type the Mi croStrategy user name that can access and
admi ni ster the Enterpri se Manager proj ect.
l Password: Type the passw ord for the Mi croStrategy user that can
access and admi ni ster the Enterpri se Manager proj ect.
location fi el d, cl i ck ... (the Brow se button) to navi gate to and sel ect
the package fi l e.
6. C l i ck N ext.
l D SN : Sel ect the data source name for your stati sti cs reposi tory or
cl i ck N ew to open the Mi croStrategy C onnecti vi ty Wi zard and create
a new D SN .
l U ser N ame: Type the database user name for the user that can
connect to the stati sti cs data source.
l Password: Type the passw ord for the user that can connect to the
stati sti cs data source.
8. C l i ck N ext.
10. C l i ck Finish.
l U ser N ame: Enter the Mi croStrategy user name that can access the
Intel l i gence Server.
If this is y our firs t time c onnec ting to the Mic roStrategy Intelligenc e
Serv er, us e the us er name A dministrator without a pas s word.
l Password: Enter the passw ord for the Mi croStrategy user that can
access the Intel l i gence Server.
7. C l i ck N ext.
l P la tf o r m A n a l y t i c s C o n f i g u r a t i o n N e w . s c p
l Pl at fo r m A n a l y t i c s C o n f i g u r a t i o n U p g r a d e . s c p
l Pl at fo r m A n a l y t i c s C o n f i g u r a t i o n N e w _P o s t g r e S Q L . sc p
l Pl at fo r m A n a l y t i c s C o n f i g u r a t i o n U p g r a d e _
Po st gr e S Q L . s c p
9. To manual l y update the proj ect setti ngs, see C onfi gure the Pl atform
Anal yti cs Proj ect.
B ackup Prerequisites :
l C: \P ro gr a m F i l e s ( x 8 6 ) \ M i c r o S t r a t e g y \ P l a t f o r m
An al yt ic s \ P A C o n su m e r C o n f i g . y a m l populated with:
wa re ho us e D b C o n n ec t i o n :
l wh Ho st : 127.0.0.1
l wh Us er : root
l wh Po rt : 3306
l my sq l- c o n n e c t o r -j a v a . j a r is pres ent in
Pl at fo rm A n a l y t i cs \ l i b direc tory .
R estore Prerequisites :
l PA Co ns um e r C o n f i g. y a m l populated with:
pg Wa re ho u s e D b C o nn e c t i o n :
l pg Wh Ho s t : 127.0.0.1
l pg Wh Us e r : pos tgres
l pg Wh Po r t : 5432
l Enough dis k s pac e av ailable to Pos tgreSQL to res tore the bac k ed up . .c sv
files from My SQL.
1. N avi gate to your Pl atform Anal yti cs home di rectory and go i nto the bi n
di rectory:
C :\ Pr o g r a m F i l e s ( x 8 6 ) \ M i c r o S t r a t e g y \ P l a t f o r m
An al yt i c s \ b i n
pl at fo r m - a n a l y ti c s -d a t a -m i g r a ti o n -t o o l . b a t
This is the Platform Analytics Data Migration Tool. The purpose of this
tool is to help migrate your data from an existing Mysql Warehouse to a
new PostgreSQL Warehouse.
Please select from the following optio
1) Backup
2) Restore
3) Backup and Restore
0) Exit
M igration Workflow
Backu p
Rest o r e
1. Provi de the path to the di rectory w here the MySQL backup i s stored.
2. The tool w i l l prompt you agai n i f you are sure you are okay to drop
your PostgreSQL p l a t f o r m _a n a l y t i c s _w h schema.
5. Enter the ful l desi red di rectory path for the database to be backed up
to and restored from.
6. Wai t unti l the backup i s compl ete. The tool you w i l l then prompt i f i t i s
okay to recreate the PostgreSQL w arehouse and sel ect yes.
7. The program w i l l then restore your MySQL backup fi l es i nto your new
PostgreSQL w arehouse and the data mi grati on w i l l be compl ete.
The following migration s teps only apply when upgrading Mic roStrategy 2019
to Mic roStrategy 2020 and 2021.
The C ol l aborati on Server Admi ni strati on Tool provi des a w ay for system
admi ni strators to mi grate comments from the previ ous data reposi tory to the
new data reposi tory. The C ol l aborati on Admi ni strati on Page w i l l di spl ay a
w arni ng message w hen i t detects that a previ ous data reposi tory w as used
by the C ol l aborati on Server before the upgrade.
The C ol l aborati on Server Admi ni strati on Tool i s a consol e appl i cati on and
w i l l connect to the data reposi tory usi ng the same confi gurati on as the
Mak e s ure to us e four s pac es ins tead of a tab for the indentation bec aus e
the m o n g o d . c fg is in YAML format.
...
processManagement:
windowsService:
serviceName: MSTR_mongodb
displayName: MongoDB
security:
authorization: enabled
net:
bindIpAll: true
3. R estart the Mongo D B servi ce to appl y the modi fi ed confi gurati on.
{
"dburl": "mongodb://mstr:xxxx@{IP of the existing 2019
machine}:27017/mstr_collab?authSource=admin",
"port": 3000,
"logging": false,
"authorizationServerUrl":
"http://localhost:8080/MicroStrategyLibrary/api",
"dataSource": {
"username": "mstr_collab",
"password": "xxxxxx"
},
"scaling": "none",
"secretKey": "xxxx",
"enableConfigApi": true
}
"C:\Program Files\MicroStrategy\Common
Files\MicroStrategy\nodejs\node.exe" "C:\Program
Files\MicroStrategy\Collaboration Server\node_modules\mstr-collab-
cm d> m i g r a t e
In st r u ct i o n s
1. Open Mi croStrategy Li cense Manager from Start menu > Programs >
MicroStrategy Tools > License Manager.
3. Sel ect the Server A ctivation using A ctivation C ode opti on and enter
your Acti vati on C ode i n the text fi el d. C l i ck N ext .
4. C l i ck OK .
Repeat thes e s teps for eac h Intelligenc e s erv er node in a c lus tered
env ironment.
cd / op t / m s t r / M i c r o s t r a t e g y / b i n
./ ms tr c f g w i z
3. From the D SN drop-dow n l i st, sel ect the D SN used to connect to the
metadata reposi tory. Enter the U ser N ame and Password for the
database.
4. C l i ck N ext.
7. C l i ck N ext.
1. D efi ne the Intel l i gence Server setti ngs descri bed bel ow :
l Port number: You can use the defaul t port number (34952) or
speci fy another port number. The port number i s how a server
process i denti fi es i tsel f on the machi ne on w hi ch i t i s runni ng. If the
port number i s used by another process, such as i n a shared
envi ronment, speci fy an avai l abl e port number.
l R EST port number: You can use the defaul t port number (34962) or
speci fy another port number for the R EST API Server i nsi de
Intel l i gence Server. Thi s port number shoul d not be same w i th the
Intel l i gence Server port number.
You c an c onfigure REST API Serv er logging with the Diagnos tic s and
Performanc e Logging Tool. Selec t the Performance C onfiguration
tab, and find the dis patc her R EST Trace under c omponent N etwork
C lasses . For more information, s ee the Configuring What is Logged
s ec tion in the System Admi ni strati on H el p .
l Projects to load at startup: Thi s pane di spl ays al l the proj ects that
are i n the metadata reposi tory. You can sel ect proj ects to use w i th
the server defi ni ti on that you have chosen. The proj ects that you
sel ect are l oaded on the server at startup.
l Start Intelligence Server when finished: Sel ect thi s check box to
have Intel l i gence Server start once you compl ete thi s confi gurati on.
2. C l i ck N ext.
3. Secure socket l ayer (SSL) protocol encrypts communi cati ons betw een
Intel l i gence Server and D evel oper:
When you sel ect to enabl e the SSL protocol , you must provi de the
fol l ow i ng i nformati on:
l C ertificate: The SSL certi fi cate fi l e you created for Intel l i gence
Server. C l i ck the brow se button to navi gate to and sel ect the
certi fi cate fi l e.
l K ey: The pri vate key fi l e you created w hi l e requesti ng the certi fi cate
for Intel l i gence Server. C l i ck the brow se button to navi gate to and
sel ect the pri vate key fi l e.
l Password: The passw ord that you used w hi l e creati ng the pri vate
key for the SSL certi fi cate.
l SSL Port: The port number to use for SSL access. By defaul t, the
port i s 39321.
l SSL Port: The port number the Intel l i gence Server w i l l use for SSL
communi cati ons w i th cl i ent certi fi cate veri fi cati on.
4. C l i ck N ext.
5. To speci fy the defaul t stati sti cs reposi tory for the l ocal Intel l i gence
Server and enabl e basi c stati sti cs l oggi ng for proj ects:
l When defi ni ng the defaul t stati sti cs reposi tory, you must provi de the
fol l ow i ng confi gurati on detai l s:
l D SN : Sel ect the data source name for your stati sti cs reposi tory.
If a D SN for your stati sti cs reposi tory does not exi st, you can cl i ck
N ew to open the Mi croStrategy C onnecti vi ty Wi zard and create a
new D SN .
l U ser N ame: Type the database user name for the user that can
connect to the stati sti cs data source.
l Password: Type the passw ord for the user that can connect to the
stati sti cs data source.
o Enabl e basi c and addi ti onal stati sti cs for a proj ect i f you cl eared
thi s check box.
6. Enabl e and confi gure the Messagi ng Servi ces host and port setti ngs.
7. C l i ck N ext.
9. C l i ck Finish.
U pdati ng the metadata ensure compati bi l i ty betw een your pre-exi sti ng
obj ects and the Mi croStrategy cl i ents. You can al so take advantage of new
confi gurati on setti ngs exposed through the cl i ent appl i cati ons, functi onal i ty,
and obj ects avai l abl e onl y w i th the updated versi on of metadata.
D uri ng the metadata update process, the C onfi gurati on Wi zard generates
addi ti onal SQL for tasks such as managi ng i ndexes and pri mary keys. To
vi ew thi s SQL duri ng the update process, on the Summary Page of the
C onfi gurati on Wi zard, i n the Summary pane, cl i ck SQL Preview. In
addi ti on, once you have compl eted the update process, the generated SQL
i s saved i n the Mi croStrategy common fi l es di rectory. The fi l e name i s
Orig in al Sc r i p t _g e n e r a t e d . s q l, w here O r i g i n a l S c r i p t i s the
name of the ori gi nal SQL update scri pt. For exampl e, i f you are updati ng an
Oracl e database, the ori gi nal SQL update scri pt i s m d o r c l . s q l and the
generated SQL fi l e i s m d o r c l _g e n e r a t e d .s q l.
l If y ou hav e made any c hanges to the priv ileges as s igned to the out-of-the-
box Mic roStrategy us er groups and s ec urity roles , updating the metadata
may ov erwrite thos e c hanges .
l For information about v iewing the Configuration Wiz ard log file if an error
oc c urs , s ee R esol vi ng Probl ems Encountered D uri ng the U pgrade .
l The MDUpdate c ommand line utility that was formerly us ed to update the
metadata is no longer s upported. To update the metadata from the c ommand
line, y ou c an us e a res pons e file with Configuration Wiz ard.
l The proj ect's metadata versi on from w hi ch you update must be ol der than,
or the same as, the versi on of the machi ne w here C onfi gurati on Wi zard i s
i nstal l ed that w i l l be performi ng the metadata update An ol der versi on of
the product i s not abl e to perform an update on a new er versi on of
metadata.
l The l anguage setti ngs of the cl i ent, proj ect, and Intel l i gence Server must
al l be the same.
l The proj ects to be updated must not be l ocked. To unl ock a proj ect's
metadata, i n D evel oper, from the A dministration menu, go to Locking >
U nlock Project.
The fol l ow i ng prerequi si tes are speci fi c to the R D BMS that your proj ect
metadata i s stored i n:
l If you are usi ng Oracl e for your metadata database, make sure that the
Maxi mum Open C ursors parameter for the database i s set to at l east
1500.
l If you are usi ng SQL Server for your metadata database, Mi croStrategy
recommends setti ng the transacti on l og to the Si mpl e R ecovery Model
because the Bul k or Ful l R ecovery Model s may fi l l the transacti on l og
duri ng the upgrade and cause an error.
l If you are usi ng D B2 for your metadata database, make sure that the
D ynami c Secti ons property for the database i s set to 999.
To M ake M et ad at a U p d at es U si n g t h e Co n f i gu r at i o n Wi zar d
The D SN and Logi n ID are provi ded based on the server confi gurati on
that you di d previ ousl y.
5. On the Sel ect C omponents page, sel ect the check boxes for each
Intel l i gence Server you w ant to upgrade.
6. U nder each sel ected Intel l i gence Server, sel ect the system
components you w ant to upgrade:
l Lean Objects migration: Lean Obj ects are a si gni fi cantl y more
compact form of obj ect representati on i n the metadata tabl es. Lean
Obj ects are typi cal l y 25-50% smal l er and w i l l never be l arger than
the ori gi nal representati on. Mi grati ng exi sti ng obj ects to Lean
Obj ects al so al l ow s for faster l oadi ng of obj ects compared to the ol d
representati on.
Al l new obj ects are created i n thi s format, and exi sti ng obj ects are
converted to the new format as they are saved. Sel ecti ng Lean
Obj ects mi grati on converts al l obj ects i n the reposi tory to the new
format at once. Thi s opti on i s automati cal l y sel ected i f you sel ect
U pgrade metadata reposi tory.
The Lean objec ts migration modifies all objec ts in y our Mic roStrategy
projec ts to us e the new objec t repres entation. This migration c an
require a s ignific ant amount of time and res ourc es to c omplete.
l U pdate privileges: U pdati ng the pri vi l eges ensures that users have
access to the same functi onal i ty that they had i n previ ous versi ons of
Mi croStrategy.
By default, priv ileges are upgraded bas ed on the v ers ion of y our
Mic roStrategy metadata. Howev er, if y ou prev ious ly upgraded y our
Mic roStrategy metadata and did not upgrade priv ileges along with the
metadata upgrade, y ou mus t identify the Mic roStrategy v ers ion y ou
mos t rec ently upgraded y our priv ileges for.
l Migrate H istory List messages: Sel ect thi s check box to mi grate
your exi sti ng H i story Li st reposi tory to a new format for i mproved
search resul ts, scal abi l i ty, and performance. A fi l e-based reposi tory
can be mi grated to a database-based reposi tory or a hybri d
reposi tory, and a database-based reposi tory can be mi grated to a
hybri d reposi tory.
l If you sel ect thi s check box, addi ti onal confi gurati on opti ons for
thi s mi grati on are provi ded l ater, on the H i story Li st Mi grati on
page. D uri ng the upgrade process thi s Intel l i gence Server and any
other Intel l i gence Servers i n the cl uster are stopped and restarted.
7. Sel ect each proj ect you w ant to update. Onl y proj ects that are l oaded
on Intel l i gence Server can be updated. Proj ect updates can i ncl ude
l Execute project logical upgrade: U pdates the proj ect to the most
recent versi on of Mi croStrategy. Thi s opti on al so updates the report,
document, and dossi er defi ni ti ons to i mprove the performance and
reduce the memory usage and storage requi rements of reports and
documents that w ere created w i th a previ ous versi on of
Mi croStrategy.
l Lean Objects migration: Sel ecti ng Lean Obj ects mi grati on converts
al l obj ects i n thi s proj ect to the new format at once.
By default, if y ou update multiple projec ts and the update fails for one
projec t, the update proc es s c ontinues for other projec ts . This allows
y ou to c omplete all pos s ible updates and then rev iew any errors . To
abort the update proc es s for other projec ts when one projec t fails , c lear
the U pdate the remaining projects, even when one project
update fails c hec k box .
l U pdate OLA P Services C ube caches to PR IME: Sel ect thi s check
box to update al l Intel l i gent C ubes to the PR IME archi tecture. Thi s
archi tecture can i mprove the performance of publ i shi ng Intel l i gent
C ube resul ts through the use of paral l el processi ng and other
opti mi zati ons. Thi s update i s appl i ed to al l Intel l i gent C ubes for the
proj ect.
l U pdate data import cubes (definition and cache) to PR IME: Sel ect
thi s check box to update al l D ata Import datasets to the PR IME
archi tecture. Thi s archi tecture can i mprove the performance of
publ i shi ng D ata Import resul ts through the use of paral l el processi ng
and other opti mi zati ons. Thi s update i s appl i ed to data sets i ncl uded
i n your proj ect through the use of D ata Import.
It is eas ier to update OLAP Serv ic es Cube c ac hes and data import
c ubes to PRIME during the upgrade proc es s . If y ou do not update them
now, eac h c ube is updated when it is us ed. Doing the upgrade all at
onc e ens ures c ons is tent performanc e for end us ers .
8. C l i ck N ext.
9. If you sel ected the Migrate H istory List messages opti on, on the
H i story Li st Target D atabase page, speci fy the necessary i nformati on
for the H i story Li st database.
10. C l i ck N ext.
11. On the Summary page, revi ew your upgrade choi ces and cl i ck Finish.
2. Sel ect Metadata, H istory List and Statistics R epository Tables and
cl i ck N ext.
3. Sel ect the H istory List Tables check box and cl i ck N ext.
4. From the D SN drop-dow n l i st, sel ect the D SN for your H i story Li st
reposi tory.
If a D SN for your H i story Li st reposi tory does not exi st, you can sel ect
N ew to open the C onnecti vi ty Wi zard and create a new D SN .
5. Type a U ser N ame and Password that can connect to the data source.
6. After provi di ng a val i d user name and passw ord, you can cl i ck SQL
Preview to open the SQL Previ ew di al og box. Thi s di al og box provi des
the SQL statements that w i l l be executed on your data source to create
the H i story Li st tabl es. C l i ck C lose once you are done revi ew i ng the
SQL statements to return to the C onfi gurati on Wi zard.
If you use the advanced opti ons to change the SQL scri pt, you can
cl i ck SQL Previ ew after sel ecti ng the new scri pt to see an updated
l i sti ng of the SQL statements that w i l l be executed.
7. C l i ck A dvanced.
If you use a tabl e prefi x for your H i story Li st tabl es, you must al so
defi ne thi s tabl e prefi x w hen you create a database i nstance to
connect to the H i story Li st tabl es.
10. C l i ck N ext.
12. C l i ck Finish to appl y the confi gurati on and create the H i story Li st
reposi tory.
l To upgrade y our Enterpris e Manager s tatis tic s and warehous e from 10.x to
2021, y ou mus t manually run the s c ript that c orres ponds with y our databas e
management s y s tem ty pe. See KB483298 for details . If y ou are upgrading from
Mic roStrategy 2019 to 2021, y ou do not need to upgrade y our Enterpris e
Manager s tatis tic s and warehous e.
l Us e the Projec t Duplic ation Wiz ard to mak e a bac k up of y our ex is ting
Enterpris e Manager projec t. For detailed information about us ing Projec t
Duplic ation, s ee the Managi ng Your Proj ects c hapter of the System
Admi ni strati on H el p .
l U ser N ame: Type the Mi croStrategy user name that can access and
admi ni ster the Enterpri se Manager proj ect.
l Password: Type the passw ord for the Mi croStrategy user that can
access and admi ni ster the Enterpri se Manager proj ect.
6. C l i ck N ext.
l D SN : Sel ect the data source name for your stati sti cs reposi tory or
cl i ck N ew to open the Mi croStrategy C onnecti vi ty Wi zard and create
a new D SN .
l U ser N ame: Type the database user name for the user that can
connect to the stati sti cs data source.
l Password: Type the passw ord for the user that can connect to the
stati sti cs data source.
8. C l i ck N ext.
10. C l i ck Finish.
l U ser N ame: Enter the Mi croStrategy user name that can access the
Intel l i gence Server.
If this is y our firs t time c onnec ting to the Mic roStrategy Intelligenc e
Serv er, us e the us er name A dministrator without a pas s word.
l Password: Enter the passw ord for the Mi croStrategy user that can
access the Intel l i gence Server.
R eposi tory.
7. C l i ck N ext.
l P la tf o r m A n a l y t i c s C o n f i g u r a t i o n N e w . s c p
l Pl at fo r m A n a l y t i c s C o n f i g u r a t i o n U p g r a d e . s c p
l Pl at fo r m A n a l y t i c s C o n f i g u r a t i o n N e w _P o s t g r e S Q L . sc p
l Pl at fo r m A n a l y t i c s C o n f i g u r a t i o n U p g r a d e _
Po st gr e S Q L . s c p
9. To manual l y update the proj ect setti ngs, see C onfi gure the Pl atform
Anal yti cs Proj ect.
B ackup Prerequisites :
l /M ic ro St r a t e g y / in s t a l l / P l a t f o r mA n a l y t i c s / P A C o n su me rC o
nf ig .y am l populated with:
wa re ho us e D b C o n n ec t i o n :
l wh Ho st : 127.0.0.1
l wh Us er : root
l wh Po rt : 3306
l my sq l- c o n n e c t o r -j a v a . j a r is pres ent in
Pl at fo rm A n a l y t i cs / l i b direc tory .
R estore Prerequisites :
l PA Co ns um e r C o n f i g. y a m l populated with:
pg Wa re ho u s e D b C o nn e c t i o n :
l pg Wh Ho s t : 127.0.0.1
l pg Wh Us e r : pos tgres
l pg Wh Po r t : 5432
l Enough dis k s pac e av ailable to Pos tgreSQL to res tore the bac k ed up . .c sv
files from My SQL.
1. N avi gate to your Pl atform Anal yti cs home di rectory and go i nto the bi n
di rectory:
/ op t/ m s t r / M i c r o S t r a t e g y / P l a t f o r m A n a l y t i c s / b i n
./ pl at f o r m -a n a l y t i c s -d a t a -m i g r a t i o n -t o o l . s h
This is the Platform Analytics Data Migration Tool. The purpose of this
tool is to help migrate your data from an existing Mysql Warehouse to a
new PostgreSQL Warehouse.
Please select from the following options:
1) Backup
2) Restore
3) Backup and Restore
0) Exit
M igration Workflow
Backu p
Rest o r e
1. Provi de the path to the di rectory w here the MySQL backup i s stored.
2. The tool w i l l prompt you agai n i f you are sure you are okay to drop
5. Enter the ful l desi red di rectory path for the database to be backed up
to and restored from.
6. Wai t unti l the backup i s compl ete. The tool w i l l then prompt i f i t i s okay
to recreate the PostgreSQL w arehouse and sel ect yes.
7. The program w i l l then restore your MySQL backup fi l es i nto your new
PostgreSQL w arehouse and the data mi grati on w i l l be compl ete.
The following migration s teps only apply when upgrading Mic roStrategy 2019
The C ol l aborati on Server Admi ni strati on Tool provi des a w ay for system
admi ni strators to mi grate comments from the previ ous data reposi tory to the
new data reposi tory. The C ol l aborati on Admi ni strati on Page w i l l di spl ay a
w arni ng message w hen i t detects that a previ ous data reposi tory w as used
by the C ol l aborati on Server before the upgrade.
The C ol l aborati on Server Admi ni strati on Tool i s a consol e appl i cati on and
w i l l connect to the data reposi tory usi ng the same confi gurati on as the
C ol l aborati on Server so no user i nput i s requi red to connect. The tool w i l l
provi de feedback as data i s bei ng mi grated and w i l l show a message w hen
the mi grati on i s compl ete.
Mak e s ure to us e four s pac es ins tead of a tab for the indentation bec aus e
the m o n g o d . c fg is in YAML format.
...
processManagement:
windowsService:
serviceName: MSTR_mongodb
displayName: MongoDB
security:
authorization: enabled
net:
bindIpAll: true
2. R estart the Mongo D B servi ce to appl y the modi fi ed confi gurati on.
./ mo ng o d . s h r e s t a r t
./ co ll a b o r a t i o n S e r v e r . s h s t o p
{
"dburl": "mongodb://mstr:xxxx@{IP of the existing 2019
machine}:27017/mstr_collab?authSource=admin",
"port": 3000,
"logging": false,
"authorizationServerUrl":
"http://localhost:8080/MicroStrategyLibrary/api",
"dataSource": {
"username": "mstr_collab",
"password": "xxxxxx"
},
"scaling": "none",
"secretKey": "xxxx",
"enableConfigApi": true
}
/opt/mstr/MicroStrategy/install/NodeJS/bin/node
/opt/mstr/MicroStrategy/install/CollaborationServer/node_modules/mstr-
collab-svc/admintool.js
/opt/mstr/MicroStrategy/install/CollaborationServer/config.json
cm d> m i g r a t e
./ co ll a b o r a t i o n S e r v e r . s h s t a r t
Li cense Manager.
Instructi ons
3. C l i ck N ext.
6. C l i ck N ext.
3. R un Mi croStrategy Backup
Linux W indows
By defaul t, proj ects are unl ocked. To unl ock a proj ect:
2. From the fol der l i st, sel ect a proj ect name.
l R emove any metadata passw ord compl exi ty restri cti ons. For more
i nformati on regardi ng passw ord compl exi ty restri cti ons, see KB34105.
8. 0
MyS QL
5. 7
9. 6
10
P ost greS QL 11
12
13
12cR2
Oracle
18c
19c
2016
S QL S erver
2017
2019
l You cannot back up OS confi gurati ons, such as ti mezone and heap si ze.
Once you have the above setti ngs and i nstal l ati ons, you can begi n
i nstal l i ng Mi croStrategy Backup.
mkdir mstrbak
cd mstrbak
l Li nux:
wget https://s3.amazonaws.com/mstrbak/internal/mstrbak.zip
wget https://s3.amazonaws.com/mstrbak/internal/mstrbak_win.zip -
Outfile mstrbak.zip
l Li nux:
unzip mstrbak.zip
l Wi ndow s (dow nl oaded from Pow ershel l or use Fi l e Expl orer to unzi p
the fi l e):
cd Mstrbak-client
l Li nux:
chmod +x fix-permissions.sh
N ow that Mi croStrategy Backup i s dow nl oaded and you are i n the correct
di rectory, you can move on to 3. R un Mi croStrategy Backup.
Supp
Fl
Mode orted Behavior
ag
OS
H ow
to
R un
Runs the client in Prompted mode. T his mode asks the user for
in Linux
- information about the location of various MicroStrategy items.
Pro Wind p T his is an interactive mode for users running MicroStrategy Backup
mpte ows
for the first time.
d
Mod
e
Supp
Fl
Mode orted Behavior
ag
OS
BakF ileLo
/opt/mstr/mstrbak/
cation
CachePat /opt/mstr/MicroStrategy/IntelligenceS
h erver/Caches/cloud_10s/
/opt/mstr/MicroStrategy/IntelligenceS
CubePath
erver/Cube/cloud_10s/
/opt/mstr/MicroStrategy/IntelligenceS
InboxPath
erver/Inbox/cloud_10s/
LibraryIm /opt/apache/tomcat/latest/webapps/Mic
agesPath roStrategyLibrary/images/
LibraryPlu /opt/apache/tomcat/latest/webapps/Mic
ginsPath roStrategyLibrary/plugins/
MST RInst
/opt/mstr/MicroStrategy/
allPath
MobileCo /opt/apache/tomcat/latest/webapps/Mic
nfigPath roStrategyMobile/WEB-INF/xml/mobile/
MobileIma /opt/apache/tomcat/latest/webapps/Mic
gesPath roStrategyMobile/images/
Supp
Fl
Mode orted Behavior
ag
OS
MobilePlu /opt/apache/tomcat/latest/webapps/Mic
ginsPath roStrategyMobile/plugins/
MySQLbin /usr/bin/mysqldump
T omcatPa
/opt/apache/tomcat/latest/
th
WebConfi /opt/apache/tomcat/latest/webapps/MicroStrategy/
gPath WEB-INF/xml/sys_defaults.properties
WebImag /opt/apache/tomcat/latest/webapps/MicroStrategy/
esPath images/
WebPlugi /opt/apache/tomcat/latest/webapps/Mic
nsPath roStrategy/plugins/
H ow
to
Runs the client in Silent mode. T his reads from a JSON file for
R un Linux information about the location of various MicroStrategy items.
in -
Silen WInd r T his mode is for automated processes or development operations.
ows T his mode works as a back up client in case you need to restore
t
your information.
Mod
e
1. Enter the fol l ow i ng command to run prompted mode. See Addi ti onal
Fl ags for addi ti onal parameters to add to your executi on command.
./ ms tr b a k - p
2. Answ er the prompted questi ons. To fi nd the correct i nput for each
entry, see H ow to Obtai n Mi croStrategy Backup Inputs.
b. C hoose N ew.
c. Enter the proj ect source name, server name, and port
number.
d. C l i ck OK .
If you see "i nval i d credenti al s" w hen connecti ng to a proj ect
source, pl ease check w hether you are executi ng the tool w i th root
pri vi l ege.
l D E F A U L T _PO S T G R E S _B I N _P A T H = “ M S T R _I N S T A L L_
PA T H / i n s t a l l / R e p o s i t o r y / b i n ”
l DE F A U L T _M Y S Q L _B I N _P A T H = “ / u s r / b i n ”
l DE F A U L T _M O N G O _P A T H = “ M S T R _I N S T A L L _
PA T H / i n s t a l l / C o l l a b o r a t i o n S e r v e r / M o n g o D B /"
Enter n o and enter the names of the proj ects w hi ch you w ant to
l oad.
For exampl e, [ “ M i c r o S t r a t e g y T u t o r i a l ” , “ P l a tf or m
An a l y t i c s ” ].
l Enter 1 for M e t a d a t a
l Enter 2 for E x t e r n a l w a r e h o u s e
l Enter 3 for F i l e.
l Enter 4 for H y b r i d - M e t a d a t a
l Enter 5 for H y b r i d - E x t e r n a l w a r e h o u s e
14. Enter y e s to backup any of your cubes and enter the ful l path to
your cubes.
15. Enter y e s to backup any of your caches and enter the ful l path to
your caches.
16. Enter y e s to backup the WSR M and enter the ful l path to the
WSR M.
c o n f i g O v e r r i d e . p r o p e r t i e s and m a p C o n f i g .x ml are
bac k ed up.
l Enterpri se: e f s / m s t r b a k / a d d i t i o n a l _f i l e s
21. Enter y e s to backup dri vers (C l oud envi ronment onl y).
Enter n o i f you don't w ant to upl oad them to your cl oud storage
and enter the fi l e path to save your response fi l e and the fi l e path
to save your backup fi l es.
b. C hoose N ew.
c. Enter the proj ect source name, server name, and port
number.
d. C l i ck OK .
If you see "i nval i d credenti al s" w hen connecti ng to a proj ect
source, pl ease check w hether you are executi ng the tool w i th root
pri vi l ege.
Enter n o and enter the names of the proj ects w hi ch you w ant to
l oad.
For exampl e, [ “ M i c r o S t r a t e g y T u t o r i a l ” , “ P l a tf or m
An a l y t i c s ” ].
If you w ant to use the defaul t server defi ni ti on, press the Enter
key.
l Enter 1 for M e t a d a t a
l Enter 2 for E x t e r n a l w a r e h o u s e
l Enter 3 for F i l e.
l Enter 4 for H y b r i d - M e t a d a t a
l Enter 5 for H y b r i d - E x t e r n a l w a r e h o u s e
10. Enter y e s to backup any of your cubes and enter the ful l path to
your cubes.
11. Enter y e s to backup any of your caches and enter the ful l path to
your caches.
l Enterpri se: e f s / m s t r b a k / a d d i t i o n a l _f i l e s
Enter n o i f you don't w ant to upl oad them to your cl oud storage.
3. The cl i ent runs and pri nts messages to the Termi nal as i t proceeds.
MS TR Ba k h a s f i n i s h e d s u c c e s s f u l l y .
Ar ch iv e c r e a t e d l o c a l l y a t :
pa th /t o / b a c k u p / A R C H I V E . t a r . g z
Ar ch iv e u p l o a d e d t o S 3 a t :
ht tp s: / / l i n k / t o / A R C H I V E . t a r . g z
A si l ent response JSON fi l e i s created at the concl usi on of the executi on,
even i f the backup w as not successful . You may use thi s response fi l e to
run al l subsequent executi ons i n Si l ent mode. The l ocati on of the JSON fi l e
i s /o p t/ ms tr / m s t r b a k / r e s p o n s e . j s o n.
If you have upl oaded Mi croStrategy Backup to S3 or Azure Bl ob, you can
now restore your backup fi l e onto a new Mi croStrategy C l oud Pl atform for
AWS or Mi croStrategy C l oud Pl atform for Azure envi ronment. It supports
upgradi ng from the fol l ow i ng versi ons to the l atest Mi croStrategy pl atform
rel ease.
l Mi croStrategy 10.4.x
l Mi croStrategy 10.11.x
l Mi croStrategy 2019.x
l Mi croStrategy 2020.x
l Mi croStrategy 2021.x
Additional Flags
Append any of the fol l ow i ng fl ags to the executi on command as desi red.
l To recei ve emai l noti fi cati ons about the backup process, enter the
parameter - m < y o u r e m a i l >.
For exampl e,
./ ms tr ba k - p - d -m j o h n S m i t h @ e x a mp l e . c o m -m
ja ne Do e@ ex a m p l e . c o m
The fol l ow i ng l i st detai l s w here you can l ocate answ ers to prompted
questi ons.
Input Location
F or example, ./Cube/env-31097laiouse1 =
Input Location
/opt/mstr/MicroStrategy/Cube/env-laiouse1
F or example, ./Caches/env-31097laiouse1 =
/opt/mstr/MicroStrategy/Caches/env-
laiouse1
Input Location
Input Location
Pl ease use Prompted mode w hen upgradi ng from Mi croStrategy 2019 to the
l atest Mi croStrategy pl atforms.
1. Enter the fol l ow i ng command to run cl oud mode. See Addi ti onal Fl ags
for addi ti onal parameters to add to your executi on command.
./ ms tr b a k - c
2. Enter your credenti al s from your cl oud envi ronment's w el come emai l .
l Enter 1 to upl oad to your AWS S3 Bucket and enter the S3 bucket
name. If prompted, provi de the S3 access keys and secret key.
l Enter 2 to upl oad to your Azure Bl ob Storage and enter your Storage
Account N ame and C ontai ner N ame. If prompted, provi de the
Storage Account access key.
6. The cl i ent runs and pri nts messages to the Termi nal as i t proceeds.
MS TR Ba k c o m p l e t e . O p e r a t i o n s u c c e s s f u l ? T r u e
Ar ch iv e c r e a t e d l o c a l l y a t :
pa th /t o / b a c k u p / A R C H I V E . t a r . g z
Ar ch iv e u p l o a d e d t o S 3 a t :
ht tp s: / / l i n k / t o / A R C H I V E . t a r . g z
If you have upl oaded Mi croStrategy Backup to S3 or Azure Bl ob, you can
now restore your archi ve onto a new Mi croStrategy C l oud Pl atform for AWS
or Mi croStrategy C l oud Pl atform for Azure envi ronment. It supports
upgradi ng from Mi croStrategy 2019 to the l atest Mi croStrategy Pl atform
rel ease.
Additional Flags
Append any of the fol l ow i ng fl ags to the executi on command as desi red.
l To recei ve emai l noti fi cati ons about the backup process, enter the
parameter - m < y o u r e m a i l >.
For exampl e,
./ ms tr ba k - c - d -m j o h n S m i t h @ e x a mp l e . c o m -m
ja ne Do e@ ex a m p l e . c o m
{
"additional_files":[],
"aws": {
"s3_access_key": "",
"s3_bucket_name": "",
"s3_secret_key": "",
"upload": true
},
"azure": {
"account_key": "",
"account_name": "",
"container_name": "",
"upload": false
},
"collaboration_server": {
"backup": true,
"bin_path": "",
"db_host": "",
"db_port": "",
"db_type": "",
"password": "",
"username": ""
},
"custom_webapps": {
"path": ""
},
"drivers": false,
"dsns": {
"additional_dsns": [],
"history_list": {
"backup": true,
"bin_path": "",
"db_type": "",
"dsn_name": "",
"password": "",
"username": ""
},
"metadata": {
"bin_path": "",
"db_type": "",
"dsn_name": "",
"password": "",
"prefix": "",
"username": ""
},
"platform_analytics": {
"backup": true,
"bin_path": "",
"db_type": "",
"dsn_name": "",
"password": "",
"username": ""
}
},
"library": {
"backup_contents": {
"backup_configuration_files": {
"configOverride.properties": true,
"mapConfig.xml": true
},
"backup_images": true,
"backup_plugins": true,
"backup_sso": false
},
"path": ""
},
"mobile": {
"backup_contents": {
"backup_configuration_files": {
"WEB-INF/xml/mobile": true,
"mapConfig.xml": true
},
"backup_images": true,
"backup_plugins": true,
"backup_sso": false
},
"path": ""
},
"mstr": {
"cache_path": "",
"configuration_locked": false,
"cube_path": "",
"driver_paths": {
"mysql": ""
},
"history_list_storage": "metadata_hybrid",
"host_file": false,
"hostnames": [
""
],
"inbox_path": "",
"install_path": "
"iserver_image_path": "",
"mstr_version": "",
"password": "",
"project_source_name": "",
"projects": {
"main_project": "",
"projects_locked": [],
"projects_to_register": [
],
"projects_to_unregister": []
},
"scheduler_on": true,
"server_definition": "",
"username": "mstr",
"wsrm_path": ""
},
"mstrbak": {
"backup_path": "/opt/mstr/mstrbak/",
"mstrbak_version": ,
"response_file_path": "/opt/mstr/mstrbak/response.json"
},
"web": {
"backup_contents": {
"backup_configuration_files": {
"mapConfig.xml": ,
"sys_defaults.properties": true
},
"backup_images": true,
"backup_plugins": true,
"backup_sso": false
},
"path": ""
}
}
}
Thi s i s recommended because, after the Si l ent Mode executi on, the
passw ords i n the response fi l e are hi dden for securi ty reasons. To
avoi d l osi ng any passw ords, keep a back up of the JSON fi l e.
6. Enter the fol l ow i ng command to run si l ent mode. See Addi ti onal Fl ags
for addi ti onal parameters to add to your executi on command.
./ ms tr b a k - r / p a t h / t o / r e s p o n s e . j s o n
7. The cl i ent runs and pri nts messages to the Termi nal as i t proceeds.
MS TR Ba k c o m p l e t e . O p e r a t i o n s u c c e s s f u l ? T r u e
Ar ch iv e c r e a t e d l o c a l l y a t :
pa th /t o / b a c k u p / A R C H I V E . t a r . g z
Ar ch iv e u p l o a d e d t o S 3 a t :
ht tp s: / / l i n k / t o / A R C H I V E . t a r . g z
If you have upl oaded Mi croStrategy Backup to S3 or Azure Bl ob, you can
now restore your archi ve onto a new Mi croStrategy C l oud Pl atform for AWS
or Mi croStrategy C l oud Pl atform for Azure envi ronment. It supports
upgradi ng from the fol l ow i ng versi ons to the l atest Mi croStrategy pl atform
rel ease.
l Mi croStrategy 10.4.x
l Mi croStrategy 10.11.x
l Mi croStrategy 2019.x
l Mi croStrategy 2020.x
l Mi croStrategy 2021.x
Additional Flags
Append any of the fol l ow i ng fl ags to the executi on command as desi red.
l To recei ve emai l noti fi cati ons about the backup process, enter the
parameter - m < y o u r e m a i l >.
For exampl e,
./ ms tr ba k - r / p a t h / t o / r e s p o n s e . j s o n -d - m
jo hn Sm it h@ e x a m p l e . c o m - m j a n e D o e @ e x a m p l e . c o m
The fol l ow i ng i s a templ ate for response fi l e schema. Thi s templ ate i s to be
used i n tandem w i th the JSON fi l e templ ate on H ow to R un i n Si l ent Mode
{
"additional_files":[],
"aws": {
"s3_access_key": "",
"s3_bucket_name": "",
"s3_secret_key": "",
"upload": true
},
"azure": {
"account_key": "",
"account_name": "",
"container_name": "",
"upload": false
},
"collaboration_server": {
"backup": true,
"bin_path": "",
"db_host": "",
"db_port": "",
"db_type": "",
"password": "",
"username": ""
},
"custom_webapps": {
"path": ""
},
"drivers": false,
"dsns": {
"additional_dsns": [],
"history_list": {
"backup": true,
"bin_path": "",
"db_type": "",
"dsn_name": "",
"password": "",
"username": ""
},
"metadata": {
"bin_path": "",
"db_type": "",
"dsn_name": "",
"password": "",
"prefix": "",
"username": ""
},
"platform_analytics": {
"backup": true,
"bin_path": "",
"db_type": "",
"dsn_name": "",
"password": "",
"username": ""
}
},
"library": {
"backup_contents": {
"backup_configuration_files": {
"configOverride.properties": true,
"mapConfig.xml": true
},
"backup_images": true,
"backup_plugins": true,
"backup_sso": false
},
"path": ""
},
"mobile": {
"backup_contents": {
"backup_configuration_files": {
"WEB-INF/xml/mobile": true,
"mapConfig.xml": true
},
"backup_images": true,
"backup_plugins": true,
"backup_sso": false
},
"path": ""
},
"mstr":
"cache_path": "",
"configuration_locked": false,
"cube_path": "",
"driver_paths": {
"mysql": ""
},
"history_list_storage": "metadata_hybrid",
"host_file": false,
"hostnames": [
""
],
"inbox_path": "",
"install_path": ",
"iserver_image_path": "",
"mstr_version": "",
"password": ""
"project_source_name": "",
"projects": {
"main_project": "",
"projects_locked": [],
"projects_to_register": [
],
"projects_to_unregister": []
},
"scheduler_on": true,
"server_definition": "",
"username": "mstr",
"wsrm_path": ""
},
"mstrbak": {
"backup_path": "/opt/mstr/mstrbak/",
"mstrbak_version": ,
"response_file_path": "/opt/mstr/mstrbak/response.json"
},
"web": {
"backup_contents": {
"backup_configuration_files": {
"mapConfig.xml": ,
"sys_defaults.properties": true
},
"backup_images": true,
"backup_plugins": true,
"backup_sso": false
},
"path": ""
}
}
}
Newer Mic roStrategy v ers ion bac k ups are not allowed for res toring prior
Mic roStrategy v ers ions .
Res toring to Mic roStrategy AWS or Az ure s upports a max imum of 4 nodes .
To res tore Mic roStrategy Bac k up in AWS, y ou mus t hav e uploaded y our bac k up
to an S3 buc k et (direc tly ins ide the buc k et and not ins ide any folder) in 3. R un
Mi croStrategy Backup .
To res tore Mic roStrategy Bac k up in Az ure, y ou mus t hav e uploaded y our bac k up
to an Az ure Storage ac c ount whic h c an be ac c es s ed by the new env ironment in 3.
R un Mi croStrategy Backup . For Az ure env ironments , permis s ions s hould be
fix ed when the env ironment is ready to av oid related is s ues . Pleas e refer to
KB485055 for more details .
3. U nder R estore an Envi ronment, sel ect the R estore environment from
MicroStrategy B ackup check box.
The Bac k up file c an only be res tored to env ironments with the s ame or
higher v ers ion numbers .
5. C l i ck Validate.
mst rbak/
dbs/
met adat a/
hist ory_list /
mst r_collab/
cubes/
caches/
host s
cust om_webapps/
mobile/
library/
web/
images/ mobile/
library/
web/
plugins/
mobile/
library/
S S O/
Connect ion/
Web/
S A ML/
Web_X ML/
Library/
Connect ion/
S A ML/
Web_X ML/
Mobile/
S A ML/
Web_X ML/
inbox/
odbc. ini
odbcinst . ini
Response. json
Windows bac k up and res tore: LDAP mus t be re-c onfigured in the new
env ironment:
4. Change “LDAP s erv er v endor name”, “LDAP Connec tiv ity driv er”,
“Intelligent Serv er platform”, and “LDAP Connec tiv ity file names ”
ac c ordingly .
To use i ncremental refresh i n AWS, you must have upl oaded your backup to
an S3 bucket (di rectl y i nsi de the bucket and not i nsi de any fol der) i n 3. R un
Mi croStrategy Backup.
To use i ncremental refresh i n Azure, you must have upl oaded your backup
to an Azure Storage account w hi ch can be accessed by the new
envi ronment i n 3. R un Mi croStrategy Backup.
Prerequisites
1. D esti nati on envi ronment i s an envi ronment restored form
Mi croStrategy Backup fi l e.
3. For Azure users: The permi ssi ons shoul d be fi xed before the
i ncremental refresh. R efer to KB585055.
As the inc remental refres h only updates metadatas , c ubes , c ac hes , images ,
plugins , and Platform Analy tic s , y ou c an s elec t thos e objec t ty pes during
bac k up for a fas ter refres h.
1. Go to the source envi ronment and run the MSTR BAK cl i ent to create a
backup. R efer to 3. R un Mi croStrategy Backup.
3. Go to the desti nati on envi ronment and i nstal l the MSTR BAK cl i ent.
R efer to 2. Instal l Mi croStrategy Backup.
4. On the desti nati on envi ronment and start a sessi on usi ng t m ux. Thi s
For exampl e, . / m s t r b a k - u
ht tp s: / / s 3 . a m a z o n a w s . c o m / < b u c k e t -n a m e > / < f i l e -
na me >. t a r . g z.
6. The cl i ent runs and pri nts messages to the Termi nal as i t proceeds.
Additional Flags
Append any of the fol l ow i ng fl ags to the executi on command as desi red.
l To recei ve emai l noti fi cati ons about the backup process, enter the
parameter - m < y o u r e m a i l >.
For exampl e,
./ ms tr ba k - u < S 3 U R L > - m x x x x @ m i c r o s t r a t e g y . c o m
Valid at in g t h e Up gr ad e
It i s essenti al that you ful l y test your new Mi croStrategy system to see how
i t w i thstands the ki nd of typi cal day-to-day system usage your user
communi ty requi res. If you have upgraded fi rst i n a test envi ronment, you
can run these tests i n the test envi ronment and correct any probl ems you
may fi nd there. Then w hen you upgrade your producti on envi ronment, you
al ready have an i dea of the ki nds of di ffi cul ti es you may encounter. For
i nformati on about setti ng up an upgrade test envi ronment, see C onfi guri ng
an U pgrade Test Envi ronment, page 66.
D uri ng the test, make sure you are sati sfi ed w i th the status and effi ci ency of
your Mi croStrategy system. If you need hel p, see the R eadme or contact
Mi croStrategy Techni cal Support.
2. R un the U R L Scanner.
4. Add U R Ls and U R L paths from the scan resul ts to the w hi tel i st.
Get Started
Fi rst, dow nl oad the zi p fi l e from the Mi croStrategy D ow nl oad si te and unzi p
i t to a fol der. We w i l l refer to thi s as “U R L Scanner Fol der” goi ng forw ard.
l Wi ndow s 10
M icroStrategy Prerequisites
l You must have the B ypass all object security access checks pri vi l ege
to use the tool .
l You must connect through a 2-ti er (di rect) or 3-ti er proj ect source w i th
Standard authenti cati on mode.
Com patibility
You mus t perform the prerequis ites on Get Started before proc eeding.
3. Enter the username and passw ord for the sel ected proj ect source.
4. C l i ck C onnect.
5. In the proj ect box, sel ect the proj ect(s) that you w ant to scan. It's
recommended to choose the Select all projects checkbox.
7. C l i ck Exit. You can exi t the scan at any poi nt. Si nce the scan resul ts
are i ncremental l y generated, you can sti l l check the scan resul t i f the
scan i s cancel ed.
l U R L type
l U R L text l ocati on
l U R L text
Once you have the generated .csv fi l e, add the U R Ls and U R L paths to the
Al l ow U R Ls to Export l i st.
To modify this field, y ou mus t hav e the Web Adminis tration priv ilege, Configure
Serv er Bas ic priv ilege, and read/write ac c es s for the s erv er definition.
If y ou are us ing Mic roStrategy Web ASP, pleas e s ee Addi ti onal Step for
Mi croStrategy Web ASP C ustomers in KB484127 before proc eeding.
2. From the upper ri ght of any page, cl i ck the username drop-dow n and
sel ect Preferences. The Preferences page opens.
4. From the pane on the l eft, sel ect Security. The Securi ty proj ect
defaul ts page opens.
6. C l i ck A dd.
9. In D evel oper, l og i n to a proj ect source. You must have the Moni tor
C aches pri vi l ege.
12. Locate caches w i th the format PD F or Excel and del ete them.
Related Articles
For detai l ed i nformati on about Integri ty Manager, i ncl udi ng i nstructi ons, see
the Integri ty Manager chapter i n the System Admi ni strati on H el p.
For exampl e, i f you are goi ng to upgrade from 10.4.x to 2021 and you w i l l
not have a l i ve 10.4.x and 2021 both avai l abl e at the same ti me to do a
Proj ect vs Proj ect compari son, then upgrade a devel oper machi ne to 2021
w i th Integri ty Manager to capture the basel i ne for 10.4.x before upgradi ng
i t to 2021. Basel i nes that are created w i th ol der versi ons of Integri ty
Manager are not compati bl e and admi ni strators can expect “does not
contai n tags” or “does not contai n rel ati ons” errors. Thi s i s due to
i ntenti onal archi tecture changes to support new functi onal i ty.
l C reate an i ntegri ty test compari ng reports, documents, and dossi ers from
the upgraded test envi ronment w i th the same obj ects i n the current
producti on envi ronment, so that you can easi l y see w here any di fferences
are.
l In a comparati ve i ntegri ty test, you must have the same OS versi on and
the same font i nstal l ed on your machi ne to use the Graph vi ew to compare
tw o PD F reports. Font renderi ng on a PD F i s versi on and OS speci fi c, so
di fferences may resul t i n formatti ng i ssues, w hi ch can affect compari son
resul ts.
l Execute the tests agai nst the producti on data w arehouse. If thi s i s not
possi bl e, test agai nst a data w arehouse that resembl es the producti on
data w arehouse as cl osel y as possi bl e. Ensure that the tests for both the
upgrade envi ronment and the current producti on envi ronment are
executed agai nst the same w arehouse or unmatched resul ts are returned,
w hi ch i s expected.
l Execute the tests w i th producti on users, groups, and securi ty rol es,
i nstead of speci al l y-created i ntegri ty test users and groups, so that the
tests match the producti on envi ronment as cl osel y as possi bl e.
l If possi bl e, sel ect content obj ects w i th at l east defaul t prompt answ ers to
test. Otherw i se create stati c copi es of content obj ects that have prompts
w i th no defaul t prompt answ ers.
need to create a proj ect basel i ne of your current producti on envi ronment,
and then after the upgrade i s done, use that basel i ne to run the “Basel i ne
versus Proj ect” opti on. The steps bel ow provi de an exampl e.
l In the Server Port fi el d, enter the port number your Intel l i gence
Server uses. The defaul t port number i s 34952.
l From the Authenti cati on Mode fi el d, sel ect the authenti cati on mode
your Intel l i gence Server uses.
l From the Proj ect drop-dow n l i st, sel ect the proj ect to test.
6. C l i ck N ext.
8. C l i ck N ext.
R eports:
l SQL/MD X
l D ata
l Graph
l PD F
D ocuments:
l Executi on
l D ata
l PD F
D ossiers:
l Executi on
l D ata
l PD F
12. C l i ck N ext.
15. Save the test and make note of the l ocati on. You w i l l need the resul ts
to run the test on your new envi ronment.
16. When the test executi ons are compl ete, exi t Integri ty Manager.
5. C l i ck N ext.
6. On the Enter Target proj ect Informati on page, enter the fol l ow i ng
detai l s about your Mi croStrategy 2021 envi ronment:
l In the Server N ame fi el d, enter the name of your 2021 Intel l i gence
Server.
l In the Server Port fi el d, enter the port number your Intel l i gence
Server uses. The defaul t port number i s 34952.
l From the Authenti cati on Mode fi el d, sel ect the authenti cati on mode
your Intel l i gence Server uses.
l From the Proj ect drop-dow n l i st, sel ect the proj ect you used i n the
fi rst test.
7. On the Select C ontents to Test page, sel ect the obj ects you used i n
the fi rst test.
8. C l i ck N ext.
9. On the Select Prompt Settings screen, keep al l of sel ected opti ons,
cl i ck N ext.
10. On the Select Execution Setti ngs screen, keep al l of sel ected opti ons,
cl i ck N ext.
14. When the test executi ons are compl ete, exi t Integri ty Manager and
proceed to understandi ng your resul ts usi ng the U pgrade Anal ysi s
D ossi er.
Capabilities
l Test the response ti me of one or many content obj ects
Restrictions
l Onl y non-prompted content obj ects are supported.
R efer to the secti on C onfi gurati on Fi l es: Profi l es.csv for more i nformati on.
R efer to the secti on D i sabl i ng the Wai t Page i n Mi croStrategy Web for
more i nformati on.
l The C apaci ty Testi ng Tool runs on Wi ndow s Server 2012 and Wi ndow s
Server 2016.
l The C apaci ty Testi ng Tool requi res that the user know some confi gurati on
properti es of thei r Mi croStrategy depl oyment (see Gatheri ng
Mi croStrategy C onfi gurati ons for more i nformati on).
Getting Started
Fi rst, dow nl oad the zi p fi l e from the Mi croStrategy D ow nl oad si te and unzi p
i t to a fol der. We w i l l refer to thi s as “C apaci ty Testi ng Tool Fol der” goi ng
forw ard.
l 8 GB R AM
l Mi croStrategy Li brary 10.9 and above (to use the search functi onal i ty)
l A Mi croStrategy user that has execute permi ssi on for al l content obj ects
to be tested
l The Web stati sti cs panel must be open on your screen. To enabl e the
Web stati sti cs panel , see Before R unni ng the Test.
2. Go to the depl oyment fol der (Ex. w ebapps i n Tomcat) w here the
Mi croStrategy.w ar fi l e w as depl oyed.
4. Backup p a g e C o n f i g . x m l as p a g e C o n f i g . x m l . b a k.
1. Log i n to the w eb server and stop the Internet Informati on Servi ces
(IIS) Manager servi ce.
4. Backup p a g e C o n f i g . x m l as p a g e C o n f i g . x m l . b a k.
Once testi ng has been done, be sure to stop your w eb envi ronments, and
revert back the changes by usi ng the . b a k fi l es or manual l y updati ng the
page Co nf ig . x m l fi l e.
If not v is ible, y ou c an log into Web Adminis trator and s ee whic h Intelligenc e
Serv er the Web Serv er is c onnec ted to.
l MicroStrategy Web Type (.N ETor JSP): If the Mi croStrategy depl oyment
i s runni ng on Li nux, i t i s l i kel y JSP, i f Wi ndow s, i t i s more l i kel y to be
ASP. Ask your Mi croStrategy admi ni strator i f i n doubt.
Leave thi s panel open for the remai nder of the C apaci ty Testi ng Tool
process.
Clic k ing ins ide the terminal window while the c apac ity tes t is running will
c aus e the tes t to paus e.
#################################
# Welcome to the #
# MicroStrategy Performance & #
# Capacity Test Tool 2019 #
#################################
The screen w i l l refresh and begi n to confi gure Envi ronment #1. The fi rst
questi on that w i l l be presented i s w hat type of Mi croStrategy Web i s
runni ng. If your Mi croStrategy depl oyment i s runni ng on Li nux, i t i s l i kel y
JSP; i f Wi ndow s, i t i s more l i kel y to be ASP. Ask your Mi croStrategy
admi ni strator i f i n doubt.
This tool can execute one or multiple capacity tests against your
Intelligence Environment(s)
It is suggested to start with the environment with the most recent version
ENVIRONMENT #1
The next questi on w i l l ask for the pl atform versi on for thi s envi ronment.
Onl y enter numeri c val ues and peri ods. For exampl e, for 10.4 H otfi x 8, enter
10.4.8.
If y ou enter a v ers ion below 10.9, y ou will not be prompted for Mic roStrategy
Library , whic h will require y ou to manually s pec ify whic h c ontent objec ts to
run.
Fol l ow i ng the pl atform versi on, sel ect the w eb protocol Mi croStrategy Web
i s usi ng, w hether i t i s h tt p (unsecure) or h t t p s (secure). You can i nfer
thi s from the U R L that i s bei ng used w hen accessi ng Mi croStrategy Web vi a
a brow ser.
Enter the w eb port that i s bei ng used. Observe that the number [ 44 3] i s
present as the defaul t for h t t p s that w as sel ected, meani ng that i f you
press Enter, i t w i l l auto-popul ate w i th that val ue, w hi ch i s the defaul t port
number for h t t p s. If you sel ect h t t p, i t w i l l defaul t to port 80. Any val ues
that appear i n the prompt that are i n brackets are defaul t val ues, and to
sel ect them, press Enter.
Enter the path to Mi croStrategy Web, w hi ch you can get from the U R L (see
the di agram i n Testi ng an Envi ronment for the Fi rst Ti me).
Enter the port that the Intel l i gence Server servi ce i s runni ng on. By defaul t,
i t i s 34952, but ask your Mi croStrategy admi ni strator or check the
confi gurati on i n Mi croStrategy Web Admi ni strator to confi rm.
Sel ect ei ther Standard or LD AP connecti on mode for your Intel l i gence
Server to execute content obj ects.
Enter the username and passw ord that w i l l execute the content obj ects for
the test.
The message bel ow w i l l be recei ved w hen a connecti on has been made.
R efer to the secti on C onfi gurati on Fi l es: Profi l es.csv for more i nformati on.
If you have previ ousl y executed an Integri ty Manager test and w ant to
execute the same content obj ects, sel ect 2.
Otherw i se, sel ect 3 to enter the search mode and be gui ded through the
process of sel ecti ng w hi ch content obj ects you w oul d l i ke to test.
+------------------------------------------------------------------+
MAIN SEARCH MENU:
Type \DONE or \D
when you are finished selecting your documents/Reports
Type \VIEW or \V
to view your current selection list
Enter the name (or a keyword) of the object you are looking for:
Thi s al l ow s the user to search the enti re metadata for a keyw ord
matchi ng a content obj ect’ s name.
Thi s al l ow s the user to traverse through fol ders seei ng w hat obj ects
are avai l abl e to be added.
+------------------------------------------------------------------+
SEARCH OPTIONS:
[ 3 ] Exit search
+------------------------------------------------------------------+
Enter option: 1
Search for the w ord suppl y to see an exampl e of the resul ts returned.
Enter the name (or a keyword) of the object you are looking for: supply
Starting search for objects with name containing 'supply'... ... ... ...
SEARCH RESULTS:
+------------------+
+-------------------------------------------------+
Use COMMA (,) to separate the indexes
Use DASH (-) to capture a range of indexes
Use STAR (*) to select ALL
Press ENTER to go back
+-------------------------------------------------+
Thi s i s the page w here the user searches for an obj ect. The searchi ng tool
pri nts out search resul ts i n the fol l ow i ng manner:
l Sorted by Proj ect N ame, Obj ect Type, Obj ect N ame
l If obj ects w i th the same name are found i n the same proj ect, the resul t
menu w i l l al so pri nt out the obj ect’ s ful l path so you can di sti ngui sh
betw een them.
Each set of resul ts have an i ndex assi gned to i t (an i nteger). You sel ect
obj ects usi ng the i ndex and the fol l ow i ng modi fi ers:
l U ser can choose to not sel ect any resul ts and return to mai n menu by
pressi ng E N T E R
For exampl e, i f you onl y w anted to add “1- Suppl y C hai n Management
R eport” and “Suppl y C hai n Management R eport”, then si mpl y enter 1,3.
Once you have added al l the content obj ects searchi ng by name, type \ D to
exi t and sel ect 2 to search by traversi ng through fol ders.
+------------------------------------------------------------------+
SEARCH BY NAME
Type \DONE or \D
when you are finished selecting your documents/Reports
Type \VIEW or \V
to view your current selection list
Enter the name (or a keyword) of the object you are looking for: \d
+------------------------------------------------------------------+
SEARCH OPTIONS:
[ 3 ] Exit search
+------------------------------------------------------------------+
Enter option: 2
+------------------------------------------------+
PROJECTS:
[ 0 ] Consolidated Education Project
[ 1 ] Hierarchies Project
[ 2 ] Human Resources Analysis Module
[ 3 ] MicroStrategy Tutorial
[ 4 ] Platform Analytics
[ 5 ] Relationships Project
+------------------------------------------------------------------+
Type \VIEW or \V
to view your current selection list
Type \DONE or \D
when you are finished selecting your
reports/documents/dossiers
From here, users can use the i ndex val ues to fi rst sel ect a proj ect, and once
i nsi de the proj ect, the proj ect name and parent fol ders w i l l appear. Thi s
al l ow s the user to conti nue dow n and fi nd the fol der that contai ns the
obj ects they w ant to add. For exampl e, w hen navi gati ng to the fol der
/Mic ro St ra t e g y T u t o r i a l / P u b l i c O b j e c t s / R e p o r t s / S am pl e
Doss ie rs , here are the val ues that w oul d be sel ected to get there.
+------------------------------------------------+
PROJECTS:
[ 0 ] Consolidated Education Project
[ 1 ] Hierarchies Project
[ 2 ] Human Resources Analysis Module
[ 3 ] MicroStrategy Tutorial
[ 4 ] Platform Analytics
[ 5 ] Relationships Project
+------------------------------------------------------------------+
Type \VIEW or \V
to view your current selection list
Type \DONE or \D
when you are finished selecting your
reports/documents/dossiers
+------------------------------------------------+
FOLDERS:
/MicroStrategy Tutorial
[ 0 ] Project Builder
[ 1 ] Project Objects
[ 2 ] Public Objects
[ 3 ] Schema Objects
[ 4 ] My Answers
[ 5 ] My Dossiers
[ 6 ] My Favorites
[ 7 ] My Objects
[ 8 ] My Reports
[ 9 ] My Segments
[ 10 ] My Shared Dossiers
+------------------------------------------------+
TO SELECT OBJECTS...
+------------------------------------------------+
Enter the index(es) of the object(s) you wish to select OR drill further into
a folder: 2
+------------------------------------------------+
FOLDERS:
[ 4 ] Drill Maps
[ 5 ] Filters
[ 6 ] Metrics
[ 7 ] Prompts
[ 8 ] Reports
[ 9 ] Searches
[ 10 ] Templates
+------------------------------------------------+
TO SELECT OBJECTS...
Use COMMA (,) to separate the indexes
Use DASH (-) to capture a range of indexes
Use STAR (*) to select ALL
Press ENTER to go back
+------------------------------------------------+
Enter the index(es) of the object(s) you wish to select OR drill further into
a folder: 8
+------------------------------------------------+
OBJECTS:
+------------------------------------------------+
TO SELECT OBJECTS...
Use COMMA (,) to separate the indexes
Use DASH (-) to capture a range of indexes
Use STAR (*) to select ALL
Press ENTER to go back
+------------------------------------------------+
Enter the index(es) of the object(s) you wish to select OR drill further into
a folder: 7
+------------------------------------------------+
OBJECTS:
Project Name, Type, Item Name
[0] MicroStrategy Tutorial, Dossier, Advanced and Predictive Analytics
[1] MicroStrategy Tutorial, Dossier, Custom Visualizations
[2] MicroStrategy Tutorial, Dossier, Finance Executives
[3] MicroStrategy Tutorial, Dossier, Geospatial Features
[4] MicroStrategy Tutorial, Dossier, Investment Firm Dossier
[5] MicroStrategy Tutorial, Dossier, Life as a New Hire
[6] MicroStrategy Tutorial, Dossier, MicroStrategy Ink.
[7] MicroStrategy Tutorial, Dossier, Multinational Bank Dossier
[8] MicroStrategy Tutorial, Dossier, Office Royale Sales
[9] MicroStrategy Tutorial, Dossier, Retail Store Manager
[10] MicroStrategy Tutorial, Dossier, Slot Machine Perfomance
[11] MicroStrategy Tutorial, Dossier, Store Manager Dossier
+------------------------------------------------+
FOLDERS:
/MicroStrategy Tutorial/Public Objects/Reports/Sample Dossiers
+------------------------------------------------+
TO SELECT OBJECTS...
Use COMMA (,) to separate the indexes
Use DASH (-) to capture a range of indexes
Use STAR (*) to select ALL
Press ENTER to go back
+------------------------------------------------+
Enter the index(es) of the object(s) you wish to select OR drill further into
a folder:
You can see there are 12 dossi ers i n thi s fol der w i th the i ndexes 1 through
11. The same opti ons to add obj ects to your test appl y here as they di d
above w i th a common, dash, and star opti ons. Once the obj ects are
sel ected from the fol der, the search w i l l return to the proj ect l evel to start
agai n.
Once al l of your obj ects have been added to your test, use \ V to qui ckl y
see w hat has been added before sel ecti ng \ D to exi t the fol der search,
fol l ow ed by 3 to cl ose the search functi onal i ty.
Enter the index(es) of the object(s) you wish to select OR drill further into
a folder: *
Input(s) saved! You can see your saved objects by typing \VIEW in main search
menu.
+------------------------------------------------+
PROJECTS:
[ 0 ] Consolidated Education Project
[ 1 ] Hierarchies Project
[ 2 ] Human Resources Analysis Module
[ 3 ] MicroStrategy Tutorial
[ 4 ] Platform Analytics
[ 5 ] Relationships Project
+------------------------------------------------------------------+
Type \VIEW or \V
to view your current selection list
Type \DONE or \D
when you are finished selecting your
reports/documents/dossiers
+------------------+
YOUR SELECTION:
+------------------+
+------------------------------------------------+
PROJECTS:
+------------------------------------------------+
Type \VIEW or \V
to view your current selection list
Type \DONE or \D
when you are finished selecting your
reports/documents/dossiers
+------------------------------------------------+
SEARCH OPTIONS:
N ow the test executi on confi gurati on needs to be set, by setti ng how many
j obs (threads) to execute si mul taneousl y agai nst the Intel l i gence Server,
and how many ti mes (cycl es) to perform each set of steps.
One cycl e w oul d i ncl ude l oggi ng i n as the defi ned user, executi ng al l of the
content obj ects, and then l oggi ng out.
Enter y to accept the defaul t test confi gurati on or n to defi ne a custom test.
Fi rst, defi ne the number of si mul taneous j obs that w i l l be executed agai nst
the Intel l i gence Server. Second, defi ne the number of ti mes that the test set
w i l l be executed. After the fi rst executi on i s defi ned, you may conti nue
addi ng addi ti onal executi ons by enteri ng y or n to move forw ard.
TEST CYCLE #1
Enter the number of thread(s): 2
Enter the number of cycle(s): 4
Would you like to add another JMeter test cycle? (y/n): n
Once the test confi gurati on has been compl eted, another envi ronment can
be sel ected. For exampl e, the test above w as confi gured w i th Envi ronment
#1 on 2019, and i f the user i s upgradi ng from 10.4.8, for the second
envi ronment they w i l l w ant to i nput that connecti vi ty i nformati on. As many
as 10 di fferent envi ronments can be defi ned w i thi n the same test to col l ect
capaci ty i nformati on from those envi ronments si mul taneousl y.
ENVIRONMENT #2
[1] Standard
[2] LDAP
1
Enter the username for the environment: mstr
Enter the password for the environment: ************
Once al l envi ronments have been added and the user sel ects n, the test
confi gurati on w i l l be compl ete and a JSON response fi l e w i l l be
automati cal l y created i n the same di rectory w here the C apaci ty Testi ng
Tool exi sts. See Testi ng an Envi ronment for the Fi rst Ti me for i nstructi ons
on how to re-run your test l ater.
Sel ect 1 to execute the saved test agai nst the envi ronments defi ned, or
sel ect 2 to cl ose the C apaci ty Testi ng Tool , w hi ch w i l l cl ose the program.
Prompting finished!
Successfully created response file as: <path to json file displayed here>
If there are any probl ems that occur duri ng the test, j m e t e r . l o g w i l l be
created under \ a p a c h e -j m e t e r -3 . 1 \ b i n \ and addi ti onal l y under the
fol der Ca pa ci t y _R e s u l t s _A n a l y s i s for the test’ s executi on resul ts.
standal one fi l e i f the fi rst envi ronment does not have Mi croStrategy Li brary.
Otherw i se users can sel ect 2 and be gui ded through the process of
sel ecti ng content obj ects. H ow ever, i f 1 i s sel ected, or a user does not have
Mi croStrategy Li brary confi gured, P r o f i l e s. c s v must be provi ded.
The C SV fi l e speci fi es the obj ects that w i l l be used for the capaci ty test. As
stated above, the C apaci ty Testi ng Tool supports reports, R eport Servi ces
D ocuments, dashboards, and dossi ers. Prompted obj ects of any ki nd are
N OT supported. The fi l e i s popul ated w i th sampl e data by defaul t to hel p
i l l ustrate the format needed.
There are si x col umns that need to be popul ated i n the C SV fi l e for each
obj ect to be correctl y executed:
l U ser login: Thi s i s the l ogi n for the user that w i l l execute the obj ect w i th.
Keep i n mi nd that you can use any combi nati on of users for the test. In
other w ords, exact obj ect can be executed w i th the same l ogi n, or a
combi nati on. The resul ts w i l l i nheri t the obj ect securi ty and securi ty fi l ters
as i f they w ere l oggi ng i nto w eb, so be sure that you pi ck appropri ate
users.
l U ser password: Passw ord for user’ s l ogi n. If the passw ord i s bl ank,
l eave i t empty.
l N ame of object to be executed: Thi s i s the name of the obj ect that w i l l
be di spl ayed i n the capaci ty test resul ts. Whi l e i t i s recommended that the
name used shoul d be exactl y how i t exi sts i n the proj ect, keep i n mi nd
that speci al characters are not supported, and therefore remove them
here. You do not need to w orry about renami ng the actual obj ects i n each
proj ect.
l Object type: If the obj ect i s a report, use “reportID ” for thi s fi el d. If the
obj ect i s a R eport Servi ces D ocuments, dashboard, or dossi er use
“documentID .”
#################################
# Welcome to the #
# MicroStrategy Performance & #
# Capacity Test Tool #
#################################
{
"Tests": [
{
"WebServerProperties": {
"webServerType": "JSP",
"webServerAddress": "env-1234.customer.cloud.microstrategy.com",
"webPort": 443,
"protocol": "https",
"webPath": "/MicroStrategy/servlet/mstrWeb",
"iServerName": "env-1234laiouse1",
"iServerPort": 33495,
"connMode": 1,
"mstrVersion": "11.0"
},
"Profiles": [
{
"projectName": "MicroStrategy Tutorial",
"username": "mstr",
"password": "password123",
"name": "Finance",
"type": "report",
"ID": "RE12344GGDI1123444",
"path": "/MicroStrategy Tutorial/Sample Dossier/Finance/"
},
{
"projectName": "",
"username": "",
"password": "",
"name": "",
"type": "",
"ID": "",
"path": ""
}
],
"JMeterProperties": [
{
"thread": 1,
"cycle": 2
},
{
"thread": 1,
"cycle": 5
},
{
"thread": 5,
"cycle": 5
}
]
}
]
}
If l arger reports or documents are not ful l y executed duri ng the test you w i l l
need to i ncrease the ti meout l i mi t.
H o w t o In cr ease t h e Ti m eo u t Li m i t
1. In the extracted C apaci ty Testi ng Tool fol der, open jmeter > templates
> template_while.
For exampl e:
l C apaci ty Testi ng tool w i l l pause the test i f you cl i ck anyw here on the
termi nal (bl ack screen). If you cl i ck on the termi nal , to resume the test, hi t
Enter on your keyboard.
You can check thi s by pasti ng the Mi croStrategy Web U R L i nto a brow ser
runni ng i n Pri vate or Incogni to mode. If you are prompted for credenti al s,
check the above authenti cati on setti ngs.
l C heck that the account bei ng used for the C apaci ty Test has permi ssi ons
for the Mi croStrategy fol der on the Web Server.
[H TTPError] 302
l C heck that the account bei ng used for the C apaci ty Test has permi ssi ons
for the Mi croStrategy fol der on the Web Server.
l Thi s error may appear w hen your Web l anguage setti ngs are set to a
l anguage other than Engl i sh. To resol ve the error, set the Web l anguage
to Engl i sh.
l Thi s error may appear w hen runni ng a C apaci ty Test on envi ronments
usi ng Mi croStrategy versi on 10.4 through 10.4.5 or versi on 10.11. R efer
to D i sabl i ng the Wai t Page i n Mi croStrategy Web to resol ve thi s i ssue.
Thi s secti on w i l l expl ai n how to upgrade the dossi er w i th new resul ts from
both Integri ty Manager and the C apaci ty Testi ng Tool , al ong w i th expl ai ni ng
the use of each C hapter and i ts correspondi ng Pages.
l Ba se Ob j e c t D e p e n d e n c y . c s v
l Ba se Up g r a d e I m p a c t . c s v
l Re su lt s S u m m a r y . c s v
l Ta rg et O b j e c t D e p e n d e n c y . c s v
l Ta rg et U p g r a d e I m p a c t . c s v
5. When the screen opens, cl i ck on C hoose files and then sel ect your
Re su lt s S u m m a r y . c s v fi l e and then cl i ck Open > R efresh.
l Ex ec ut i o n _D e t a i l s . c s v
l Su mm ar y . c s v
5. When the screen opens, cl i ck on C hoose files and then sel ect your
Ex ec ut i o n _D e t a i l s . c s v fi l e and then cl i ck Open > R efresh.
The Obj ect Overvi ew page show s the same summary i nformati on that i s
contai ned i n the R e s u l t s S u m m a r y . h t m l fi l e. At the top, Pl atform
Admi ni strators can see the ful l bui l d versi on from the Intel l i gence Servers
that w ere tested.
The Object Overview master gri d provi des al l of the obj ects that w ere
tested al ong w i th thei r compari son status and performance i mprovement i f
mul ti pl e executi ons w ere done.
Result Explanation
Comparison
Comparison is not supported for object type
Unavailable
The master gri d i s used as a sel ector for the bottom gri ds Object Path &
C hanges and D ependent Objects & C hanges. When you sel ect an obj ect
on the master gri d, that obj ect w i l l target and fi l ter the tw o bottom gri ds. If
the obj ect encountered a change, then the Obj ect Path & C hanges gri d w i l l
l i st the obj ect’ s name, path, the change i denti fi er (Ex. U S120878) and a
“l i nk.” Thi s l i nk w hen cl i cked w i l l open up the defaul t brow ser on the
machi ne and navi gate to a Mi croStrategy Know l edge Base arti cl e to hel p
expl ai n any mi smatches that the obj ect encountered. The “D ependent
Obj ects & C hanges” i s used to i denti fy any dependent obj ects that w ere
executed for the obj ect that w as sel ected that al so encountered any
changes.
For exampl e, an obj ect cal l ed D ocument1 used three datasets R eport1,
R eport2, and R eport3. When you sel ect D ocument1 from the master gri d,
the “Obj ect Path & C hanges” appears as bl ank, but R eport1 and R eport2
appear i n the “D ependent Obj ects & C hanges” gri d, both show i ng w i th the
change i denti fi er D E123456. Thi s means that w hen R eport1 and R eport2
w ere executed agai nst the Intel l i gence Server to gather the dataset resul ts
for D ocument1, they encountered a change, how ever w hen D ocument1 w as
bei ng processed, i t di d not encounter a change. Thi s hel ps to i denti fy the
speci fi c obj ect w here a change w as encountered, w hether i t i s at the parent
obj ect l evel , or dependent obj ect l evel .
The C hanges Encountered page qui ckl y provi des Pl atform Admi ni strators
w i th the number of changes that w ere returned from the executi on of al l
content obj ects and thei r dependent obj ects. Wi th the “C hanges” gri d at the
top, sel ect any change i denti fi er (fi rst col umn) or i ts correspondi ng
descri pti on to fi l ter the bottom gri d “Obj ects Affected” to see exactl y w hi ch
obj ects from the test w ere affected by the change.
Keep i n mi nd that as new changes conti nue to get added, Know l edge Base
arti cl es are bei ng w ri tten thereafter so some may not have l i nks yet, but
they w i l l avai l abl e soon.
The Obj ect Mi smatches w /o C hanges page l i sts those obj ects that w ere
tested and returned a compari son mi smatch for SQL C ompari son or D ata
C ompari son but di d not encounter any changes that can expl ai n the
mi smatch. Al though these mi smatches coul d be due to expl ai nabl e thi ngs
i ncl udi ng di fferent envi ronments poi nti ng to di fferent w arehouses, dynami c
date prompts, etc., they shoul d be exami ned further w i th Integri ty Manager’ s
Resu lt sS um m a r y . h t m l to see the exact SQL and D ata di fferences to
hel p expl ai n w hy they are not matchi ng.
The bottom gri d “Obj ect Performance C ycl es” w i l l show the average
performance gai n or l oss of obj ects by type. To see the speci fi c gai n or l oss
for a content obj ect, sel ect a bubbl e to fi l ter the bottom gri d.
The Summary page provi des w i th you a hi gh-l evel overvi ew of the proj ects
tested by users across versi ons to provi de an average response ti me
compari son for qui ck anal ysi s. The bubbl e chart bel ow show s the average
response for each versi on i n respect to the number of threads, or j obs, that
w ere executi ng si mul taneousl y from the tool .
As the number of threads i ncreases and stress on the Intel l i gence Server
i ncreases, errors w i l l start to be recei ved w hi ch i ncreases the si ze of the
bubbl es, i l l ustrati ng stress on the server. Thi s hel ps the Pl atform
Admi ni strator w hen the server i s starti ng to hi t the maxi mum capaci ty that i t
can handl e based on resources and the tuni ng that has been done.
The end-to-end testi ng that the tool provi des i ncl udes l oggi ng i n and
l oggi ng out as part of the executi on steps. Wi th the Performance by
Executi on Type page, Pl atform Admi ni strators can see the performance of
onl y the content obj ects or the performance of l oggi ng i n and l oggi ng out
onl y.
The Executi on D etai l s page uses an outl i ne gri d w i th the same name at the
top to provi de every si ngl e executi on val ue for every step dow n to the
thread used. C l i cki ng on a step w i l l target and fi l ter the bottom gri d
Executi on Step C ompari son by Versi on. As w i th the Summary page graph,
Pl atform Admi ni strators can see the performance for each thread for an
exact step for a speci fi c user.
Thi s vi ew can hel p i n i denti fyi ng outl i ers or nuances i n performance from
one step for a content obj ect or l oggi ng i n/l oggi ng out that may be
performi ng poorl y.
l Make sure you have met the system requi rements and other prerequi si tes
for the current versi on of Mi croStrategy, as noted i n U pgrade
Prerequi si tes, page 8.
l When you use the C onfi gurati on Wi zard to add tabl es to the metadata or
update your proj ects, each SQL statement that i s executed i s l ogged to
the C onfi gurati on Wi zard l og fi l e, M A C f g W i z . x m l. Thi s l og fi l e i s i n the
Lo g subfol der of the mai n Mi croStrategy di rectory. You can anal yze the
l og fi l e usi ng a thi rd-party l og vi ew er, such as the Apache C hai nsaw l og
vi ew er, w hi ch can be dow nl oaded from
ht tp :/ /l o g g i n g . a p a c h e . o r g / c h a i n s a w / i n d e x . h t m l.
Su p p lem en t al In f o r m at io n
Application Servers
The secti ons bel ow provi de i nstructi ons for setti ng up di fferent appl i cati on
servers to depl oy Mi croStrategy Web, Mobi l e, and Li brary.
The ASP.N ET versi on of Mi croStrategy Web can be depl oyed w i th IIS onl y
on Wi ndow s.
l You mus t hav e adminis trativ e priv ileges to deploy Mic roStrategy Web for y our
projec t. If this is the firs t time y ou are logging in and y ou hav e not c hanged the
default Mic roStrategy adminis trativ e login, y ou c an us e A dministrator as the
login with no pas s word. After the firs t time, the us er name and pas s word s hould
be c hanged for s ec urity purpos es .
l The Mic ros oft Windows ' Us ers group mus t hav e read and ex ec ute permis s ions
to all of the files within the Mic roStrategy c ommon files folder. This ens ures that
Internet Information Serv ic es has the required permis s ions to hos t
Mic roStrategy Web. By default, this folder is s tored in the following direc tory
loc ation:
64-bit Windows env ironments :
l C: \P ro g r a m F i l e s ( x 8 6 ) \ C o m m o n F i l e s \ M i c r o S t r a t eg y
l C: \P ro g r a m F i l e s ( x 8 6 ) \ M i c r o S t r a t e g y
3. C l i ck C onnect. Al l proj ects l oaded on the Intel l i gence Server are now
avai l abl e from Mi croStrategy Web. C l i ck the H ome i con to see the l i st
of proj ects l oaded on the Intel l i gence Server you speci fi ed.
http://webservername/MicroStrategy/asp/
http://Web_Srv1/MicroStrategy/asp
The ASP.N ET versi on of Mi croStrategy Mobi l e Server can onl y be depl oyed
w i th IIS onl y on Wi ndow s.
l You mus t hav e adminis trativ e priv ileges to deploy Mic roStrategy Mobile Serv er
for y our projec t. If this is the firs t time y ou are logging in and y ou hav e not
c hanged the default Mic roStrategy adminis trativ e login, y ou c an us e
A dministrator as the login with no pas s word. After the firs t time, the us er
name and pas s word s hould be c hanged for s ec urity purpos es .
l The Us ers group for Mic ros oft Windows mus t hav e read and ex ec ute
permis s ions to all of the files within the Mic roStrategy c ommon files folder. This
ens ures that IIS has the required permis s ions to hos t Mic roStrategy Mobile
Serv er. By default, this folder is s tored in the following direc tory loc ation:
3. C l i ck C onnect.
3. C l i ck Save.
l Preconfi gurati on Informati on, page 225: confi gurati on that must occur
before you begi n depl oyi ng Mi croStrategy Web (JSP), Mobi l e Server
(JSP) (JSP).
l D epl oyi ng Mi croStrategy Web and Mobi l e Server, page 226: i nstructi ons
for depl oyi ng, i ncl udi ng step-by step procedures.
Thi s secti on provi des the preconfi gurati on i nformati on necessary to depl oy
Mi croStrategy JSP appl i cati ons on JBoss on your machi ne.
In st al l i n g t h e JD K
If you have not i nstal l ed Oracl e JD K yet, dow nl oad i t here. Be sure to i nstal l
the JD K and not the JR E softw are opti ons.
To c onfigure the J DK, a s y s tem v ariable mus t point to the folder where y ou
ins tall the J DK. If y ou ins tall the J DK to a s imple folder path s uc h as C :\ then
s etting the s y s tem v ariable is eas ier and more lik ely to be c orrec t.
Co n f i gu r i n g t h e JD K
4. In the Vari abl e Val ue box, speci fy the desti nati on fol der w here you
i nstal l ed the JD K and cl i ck OK .
In st al l i n g JBo ss
Assumi ng you have made al l the necessary confi gurati ons descri bed i n
Preconfi gurati on Informati on, you can begi n depl oyi ng Mi croStrategy Web
(JSP) and Mobi l e Server (JSP) w i th JBoss.
l C onfi guri ng admi ni strati ve access to Mi croStrategy JSP appl i cati ons
l Troubl eshooti ng
1. Locate the WAR fi l e for your Mi croStrategy JSP appl i cati on.
Your Mi croStrategy JSP appl i cati on i s depl oyed automati cal l y, based on
the fol l ow i ng:
l When depl oyi ng Mi croStrategy Web (JSP), the fol der i s named
Mi cr oS tr a t e g y by defaul t.
l When depl oyi ng Mi croStrategy Mobi l e Server (JSP), the fol der i s named
Mi cr oS tr a t e g y M ob i l e by defaul t.
l If you have confi gured JBoss to depl oy an unexpl oded WAR fi l e, the
confi gurati on fi l es are created w i thi n the system's defaul t temporary fi l e
di rectory. For Wi ndow s systems, the temporary fi l e di rectory i s commonl y
defi ned by the T M P envi ronment vari abl e:
l users.properties
l roles.properties
4. Incl ude one l i ne for each user to grant admi ni strati ve access to the
Web Admi ni strator and Mobi l e Server Admi ni strator, usi ng the
fol l ow i ng syntax:
user_id=user_password
For exampl e, you create U serA and U serB w i th passw ords 1234 and
5678 respecti vel y usi ng the fol l ow i ng syntax:
Us er A= 1 2 3 4
Us er B= 5 6 7 8
7. Incl ude one l i ne for each user you i ncl uded i n the
us er s. p r o p e r t i e s fi l e and grant them admi ni strati ve access, usi ng
the fol l ow i ng syntax:
user_id=admin
For exampl e, you defi ne U serA and U serB to have admi ni strati ve
access usi ng the fol l ow i ng syntax:
l Us er A= a d m i n
l Us er B= a d m i n
N ow you can access and confi gure your Mi croStrategy JSP appl i cati on, as
descri bed i n Accessi ng the Mi croStrategy JSP appl i cati on admi ni strati ve
page, page 229.
You can use the steps bel ow to access the admi ni strati ve page for your
Mi croStrategy JSP appl i cati on.
1. In a Web brow ser, access the admi ni strati ve page by speci fyi ng the
fol l ow i ng U R L:
lo ca lh o s t:8 0 8 0 /M i c r o S t r a t e g y / s e r v l e t / m s t r W e b A dm in
The servl et names at the end of the U R Ls l i sted above are case-
sensi ti ve. Make sure to use the correct case w hen typi ng the servl et
name. If the appl i cati on server i s enabl ed w i th securi ty, a di al og box
rel ated to the admi ni strator authenti cati on opens.
2. When prompted for a user name and passw ord, type the user name for
the admi ni strator user you created i n the r o l e s . p r o p e r t i es fi l e and
the l ogi n i nformati on i n the u s e r s . p r o pe r t i e s fi l e.
4. If you are depl oyi ng Mi croStrategy Web (JSP), proceed to l aunch the
Mi croStrategy Web proj ect page. In a Web brow ser, access
Mi croStrategy Web proj ect usi ng thi s U R L:
ht tp :/ / l o c a l h o s t : 8 0 8 0/M i c r o S t r a t e g y / s e r v l e t / ms tr We b
Tr o u b l esh o o t i n g
When thi s occurs JBoss must be confi gured to di sabl e Jackson. Thi s can by
done by:
./bin/standalone.sh -Dresteasy.preferJacksonOverJsonB=FALSE
See the JBoss documentati on for R ESTEasy JAX-R S for more i nformati on
about thi s si tuati on.
l Preconfi gurati on Informati on, page 232: C onfi gurati on that must occur
before you begi n depl oyi ng Mi croStrategy Web (JSP), Mobi l e Server
(JSP) (JSP).
l D epl oyi ng Mi croStrategy Web and Mobi l e Server, page 235: Instructi ons
for depl oyi ng, i ncl udi ng step-by-step procedures.
Thi s secti on provi des the preconfi gurati on i nformati on necessary to depl oy
Mi croStrategy JSP appl i cati ons on Tomcat on your machi ne.
In st al l i n g t h e JD K
If you have not i nstal l ed the AdoptOpen JD K yet, dow nl oad the fi l e from the
w ebsi te. Be sure to i nstal l the JD K and not the JR E softw are opti ons.
To c onfigure the J DK, a s y s tem v ariable mus t point to the folder where y ou
ins tall the J DK. If y ou ins tall the J DK to a s imple folder path s uc h as C :\
s etting the s y s tem v ariable is eas ier and more lik ely to be c orrec t.
Co n f i gu r i n g t h e JD K
4. In the Variable Value fi el d, type the path of the fol der w here you
i nstal l ed the JD K and cl i ck OK .
Co n f i gu r i n g To m cat
Thi s procedure assumes that you have dow nl oaded and i nstal l ed Tomcat
on your machi ne. You can dow nl oad Tomcat from the Apache w ebsi te;
dependi ng on the versi on you w ant to dow nl oad, you may need to l ocate
the appropri ate fi l e i n Apache's Archi ve area. Instructi ons for dow nl oadi ng
and i nstal l i ng Tomcat are al so avai l abl e on the Apache w ebsi te.
To confi gure Tomcat, a system vari abl e must poi nt to the fol der w here you
i nstal l Tomcat. Instal l i ng Tomcat to a si mpl e fol der path such as
C:\T om ca t makes i t easi er to defi ne the system vari abl e.
4. In the Variable Value fi el d, speci fy the path of the fol der w here you
i nstal l ed Tomcat and cl i ck OK . For exampl e, i f you i nstal l ed Tomcat
di rectl y to the C dri ve, the desti nati on fol der i s C : \ T o m c a t.
The Java heap si ze for the Tomcat can be modi fi ed by defi ni ng the J AV A_
OPTS parameter i n the c a t a l i n a . b a t fi l e. For exampl e, you can defi ne
thi s parameter as fol l ow s:
Thi s val ue may need to be modi fi ed to refl ect the requi rements of your
speci fi c envi ronment. R efer to your thi rd-party appl i cati on server
documentati on for i nformati on on how to determi ne a sati sfactory Java heap
si ze for your envi ronment.
Assumi ng you have made al l the necessary confi gurati ons descri bed above,
you can begi n depl oyi ng Mi croStrategy Web (JSP), Mobi l e Server (JSP)
(JSP) w i th Tomcat.
1. Locate the WAR fi l e for your Mi croStrategy JSP appl i cati on.
cd C:\Tomcat\bin
7. Type the requi red commands to start and stop Tomcat, w hi ch depends
on your versi on of Tomcat. For exampl e, for Tomcat 9, type T om ca t9
st ar t to start Tomcat and type T o m c a t 9 s t o p to stop Tomcat. R efer
to your thi rd-party Apache documentati on for i nformati on on the
commands to start and stop Tomcat.
Your Mi croStrategy JSP appl i cati on i s depl oyed automati cal l y, based on
the fol l ow i ng:
l When depl oyi ng Mi croStrategy Web (JSP), the fol der i s named
Mi cr oS tr a t e g y by defaul t.
l When depl oyi ng Mi croStrategy Mobi l e Server (JSP), the fol der i s named
Mi cr oS tr a t e g y M ob i l e by defaul t.
l If you have confi gured Tomcat to depl oy an unexpl oded WAR fi l e, the
confi gurati on fi l es are created w i thi n the system's defaul t temporary fi l e
di rectory. For Wi ndow s systems, the temporary fi l e di rectory i s commonl y
defi ned by the T M P envi ronment vari abl e:
You can use the steps bel ow to access the admi ni strati ve page for your
Mi croStrategy JSP appl i cati on.
lo ca lh o s t
:8 08 0/ M i c r o S t r a t e g y M o b i l e / s e r v l e t / m s t r W e b A d mi n
The servl et names at the end of the U R L are case-sensi ti ve. Make sure
to use the correct case w hen typi ng the servl et name. If the appl i cati on
server i s enabl ed w i th securi ty, a di al og box rel ated to the
admi ni strator authenti cati on opens.
If you are usi ng Tomcat i ntegrated w i th IIS, you do not need to speci fy
the port number i n the U R L. H ow ever, w hen usi ng Tomcat as a stand-
al one Web contai ner, you must speci fy the port number. The defaul t
port for Tomcat i s 8080.
2. When prompted for a user name and passw ord, use the same val ues
you speci fi ed i n the t o m c a t -u s e r s . x m l fi l e.
3. If you are depl oyi ng Mi croStrategy Web (JSP), the Mi croStrategy Web
Admi ni strator page appears. Add and connect to an Intel l i gence
Server.
Lau n ch i n g t h e p r o j ect
http://localhost:8080/MicroStrategy/servlet/mstrWeb
l Preconfi gurati on Informati on, page 239: C onfi gurati on that must occur
before you begi n depl oyi ng Mi croStrategy Web (JSP), Mobi l e Server
(JSP) (JSP).
l D epl oyi ng Mi croStrategy Web and Mobi l e Server, page 241: Instructi ons
for depl oyi ng, i ncl udi ng detai l ed steps.
Thi s secti on provi des the preconfi gurati on i nformati on necessary to depl oy
Mi croStrategy JSP appl i cati ons w i th Tomcat on your Li nux machi ne.
In st al l i n g t h e JD K
If you have not i nstal l ed the AdoptOpen JD K yet, dow nl oad the fi l e from the
w ebsi te. Be sure to i nstal l the JD K and not the JR E softw are opti ons.
To c onfigure the J DK, a s y s tem v ariable mus t point to the folder where y ou
ins tall the J DK. If y ou ins tall the J DK to a s imple folder path s uc h as C :\
s etting the s y s tem v ariable is eas ier and more lik ely to be c orrec t.
From the l ocati on i n w hi ch to i nstal l the JD K, run the fi l e you dow nl oaded:
jdk-Version-linux-i586.bin
jdk-1_11_0-linux-i586.bin
Co n f i gu r i n g t h e JD K
ex po rt J A V A _H O M E = /P a t h N a m e/ j d kV e r s i o n;
w here P a t h N a m e i s the desti nati on fol der w here you i nstal l ed the JD K
and V er s i o n i s the versi on, such as 1_11_0, of the JD K.
In st al l i n g To m cat
Thi s procedure assumes that you have dow nl oaded and i nstal l ed Tomcat i n
a di rectory named T o m c a t on your machi ne. If you have not i nstal l ed
Tomcat yet, dow nl oad the zi p fi l e from the fol l ow i ng l i nks:
l Tomcat 9.0.x
l Tomcat 8.0.x
Contac t y our Sy s tem Adminis trator or v is it the Apac he webs ite for ins truc tions
on downloading and ins talling Tomc at.
Co n f i gu r i n g To m cat
After you i nstal l Tomcat, you must confi gure Tomcat. The Tomcat
confi gurati on i ncl udes creati ng the envi ronment vari abl e C A T A L I NA _H OM E
and defi ni ng thi s envi ronment vari abl e to poi nt to the Tomcat di rectory.
ex po rt C A T A L I N A _H O M E = / P a t h N am e
For exampl e,
ex po rt C A T A L I N A _H O M E = / T o m c a t
The Java heap si ze for the Tomcat can be modi fi ed by defi ni ng the J AV A_
OPTS parameter i n the c a t a l i n a . s h fi l e. For exampl e, you can defi ne thi s
parameter as fol l ow s:
Thi s val ue may need to be modi fi ed to refl ect the requi rements of your
speci fi c envi ronment. R efer to your thi rd-party appl i cati on server
documentati on for i nformati on on how to determi ne a sati sfactory Java heap
si ze for your envi ronment.
After you have performed the confi gurati ons descri bed above, you can
begi n depl oyi ng Mi croStrategy JSP appl i cati ons w i th Tomcat.
D ep l o yi n g u si n g To m cat as a st an d al o n e Web co n t ai n er
1. Locate the WAR fi l e for your Mi croStrategy JSP appl i cati on.
l When depl oyi ng Mi croStrategy Web (JSP), the fol der i s named
Mi cr oS tr a t e g y by defaul t.
l When depl oyi ng Mi croStrategy Mobi l e Server (JSP), the fol der i s named
Mi cr oS tr a t e g y M ob i l e by defaul t.
l If you have confi gured Tomcat to depl oy an unexpl oded WAR fi l e, the
confi gurati on fi l es are created w i thi n the system's defaul t temporary fi l e
di rectory. For Li nux systems, the temporary fi l e di rectory i s usual l y /t mp /
or /v ar /t mp /:
N ow you can access and confi gure your Mi croStrategy JSP appl i cati on, as
descri bed i n Accessi ng the Mi croStrategy JSP appl i cati on admi ni strati ve
page, page 243.
You can use the steps bel ow to access the admi ni strati ve page for your
Mi croStrategy JSP appl i cati on.
The servl et names at the end of the U R L are case-sensi ti ve. Make
sure to use the correct case w hen typi ng the servl et name. If the
2. When prompted for a user name and passw ord, use the same val ues
you speci fi ed i n the t o m c a t -u s e r s . x m l fi l e.
4. If you are depl oyi ng Mi croStrategy Web (JSP), proceed to l aunch the
Mi croStrategy proj ect. In a Web brow ser, access Mi croStrategy Web
(JSP) usi ng the fol l ow i ng U R L:
ht tp : / /
lo ca l h o s t: 8 08 0/ M i c r o S t r a t e g y / s e r v l e t / m s t r W e b
2. C l i ck Load.
If an error mes s age is dis play ed, c hec k the path and name y ou s upplied
for the res pons e file and mak e any required c hanges .
4. C l i ck Enter.
/h om e/ u s e r n a m e/ M i c r o S t r a t e g y /R E S P O N S E . I N I
If an error mes s age is dis play ed, c hec k the path and name y ou s upplied
for the res pons e file and mak e any required c hanges .
/home/username/MicroStrategy/RESPONSE.INI
If an error mes s age is dis play ed, c hec k the path and name y ou s upplied
for the res pons e file and mak e any required c hanges .
ma cf gw i z . e x e - r "P a t h\ r e s p o n s e . i n i "
If an error mes s age is dis play ed, c hec k the path and name y ou s upplied
for the res pons e file and mak e any required c hanges .
4. C l i ck Enter.
/h om e/ u s e r n a m e/ M i c r o S t r a t e g y /R E S P O N S E . I N I
If an error mes s age is dis play ed, c hec k the path and name y ou s upplied
for the res pons e file and mak e any required c hanges .
ms tr cf g w i z -e d i t o r - r e s p o n s e / Pa t h/ r e s p o n s e . i ni
/h om e/ u s e r n a m e/ M i c r o S t r a t e g y /R E S P O N S E . I N I
If an error mes s age is dis play ed, c hec k the path and name y ou s upplied
for the res pons e file and mak e any required c hanges .
If y ou are manually editing the res pons e file, mak e s ure to s av e the file us ing
ANSI enc oding.
Options De s c r iption
Options De s c r iption
Def ines whet her t o migrat e Hist ory List f rom a f lat
f ile t o a dat abase, as det ermined by t he f ollowing
values:
MigrateHL=
l 1: Migrat es your previous f ile-based Hist ory
List reposit ory t o a dat abase-based Hist ory List
Options De s c r iption
l 9. 5. 1
l 10
Options De s c r iption
l 10. 1
l 10. 2
l 10. 3
l 10. 4
l 10. 5
l 10. 6
l 10. 7
l 10. 8
l 10. 9
l 10. 10
l 10. 11
HLTarget= l File
l Dat abase
l Hybrid
Options De s c r iption
Options De s c r iption
Options De s c r iption
{Project1}\{Project2}\...\{ProjectN}
{Project1}\{Project2}\...\{ProjectN}
Options De s c r iption
{Project1}\{Project2}\...\{ProjectN}
{Project1}\{Project2}\...\{ProjectN}
Options De s c r iption
Rem oved from 11. 3. 1 l 1: P erf orm Lean Object s migrat ion.
Def ines whet her t o perf orm Lean Object s migrat ion
LeanObjectsProjects= at t he project level:
Rem oved from 11. 3. 1 l 1: P erf orm Lean Object s migrat ion.
Options De s c r iption
I n t his sect ion you can upgrade st at ist ics reposit ories t o t he most
recent version of MicroS t rat egy. Y ou can have more t han one
[UpgradeStats]
[UpgradeStats] sect ion. A ddit ional st at ist ics upgrade sect ions can
be included as [UpgradeStats1] , [UpgradeStats2] , and so on.
Options De s c r iption
Def ines whet her t o upgrade t he st at ist ics and E nt erprise Manager
reposit ories, as det ermined by t he f ollowing values:
UpgradeStats=
l 1: Upgrades t he st at ist ics reposit ory
I f perf orming a st at ist ics reposit ory upgrade, def ines t he user name t o
StatsUser=
connect t o t he dat abase f or t he st at ist ics reposit ory.
I f perf orming a st at ist ics reposit ory upgrade, def ines t he password t o
StatsPwd=
connect t o t he dat abase f or t he st at ist ics reposit ory.
I f perf orming a st at ist ics reposit ory upgrade, def ines t he dat abase
StatsPrefix=
pref ix f or t he st at ist ics reposit ory.
Options De s c r iption
project .
Options De s c r iption
Options De s c r iption
I n t his sect ion you can upgrade Hist ory List reposit ories t o t he most
recent version of MicroS t rat egy. Y ou can have more t han one
[UpgradeHistory
[UpgradeHistoryList] sect ion. A ddit ional Hist ory List upgrade
List]
sect ions can be included as [UpgradeHistoryList1] ,
[UpgradeHistoryList2] , and so on.
Def ines whet her t o upgrade a Hist ory List reposit ory, as det ermined by
t he f ollowing values:
UpgradeHistory
List= l 1: Upgrades t he Hist ory List reposit ory.
Options De s c r iption
I f perf orming a Hist ory List reposit ory upgrade, def ines t he DS N of t he
HLDSN=
dat abase t hat st ores t he Hist ory List reposit ory.
I f perf orming a Hist ory List reposit ory upgrade, def ines t he user name
HLUser=
t o connect t o t he dat abase f or t he Hist ory List reposit ory.
I f perf orming a Hist ory List reposit ory upgrade, def ines t he password
HLPwd=
t o connect t o t he dat abase f or t he Hist ory List reposit ory.
I f perf orming a Hist ory List reposit ory upgrade, def ines t he dat abase
HLPrefix=
pref ix f or t he Hist ory List reposit ory.
I f perf orming a Hist ory List reposit ory upgrade, upgrades exist ing
Hist ory List messages t o t he specif ied f ormat , as det ermined by t he
f ollowing values:
I f perf orming a Hist ory List reposit ory upgrade, compresses all
exist ing Hist ory List messages, as det ermined by t he f ollowing values:
l 0: Does not compress exist ing Hist ory List messages. Newly
creat ed messages are compressed.
Options De s c r iption
I n t his sect ion you can migrat e MicroS t rat egy Web
delivery subscript ions f rom a Narrowcast S erver
environment t o Dist ribut ion S ervices. Y ou can have more
[MigrateNCS] t han one [MigrateNCS] sect ion. A ddit ional
MicroS t rat egy Web delivery subscript ion migrat ion
sect ions can be included as [MigrateNCS1] ,
[MigrateNCS2] , and so on.
Def ines whet her t o migrat e MicroS t rat egy Web delivery
subscript ions f rom a Narrowcast S erver environment t o
Dist ribut ion S ervices, as det ermined by t he f ollowing
values:
Options De s c r iption
Options De s c r iption
Options De s c r iption
l MigrateDevicesAction f or Devices
l MigrateSchedulesAction f or S chedules
For each object t ype list ed above, you can def ine conf lict
resolut ion rules based on mat ching I Ds. For t ransmit t ers,
devices, and schedules you can also def ine conf lict
resolut ion rules based on mat ching def init ions. These
opt ions are described in t he t able below.
MigrateSubscriptionsAction=
I n t he t able below, " source" ref ers t o your
Narrowcast S erver and " dest inat ion" ref ers t o t he
new met adat a t ables.
Options De s c r iption
MigrateUsersAction=
Options De s c r iption
Match by ID or
Conflict Resolution Option Value
Definition
I f object s wit h
mat ching I Ds are
f ound, t he object in 1
t he dest inat ion
locat ion is kept . The
Match by IDs object in t he source is
not migrat ed t o t he
Object s are
dest inat ion.
mat ched by
t heir I D only. Match by IDs, replace
I f object s wit h
mat ching I Ds are
f ound, t he object 2
f rom t he source
replaces t he
mat ching object in
t he dest inat ion.
Options De s c r iption
dependent s of t he
mat ching object in t he
dest inat ion.
Match by Definition,
create new
I f object s wit h
mat ching def init ions
are f ound, t he
mat ch. These
mat ching object in
conf lict
t he source is
resolut ion
migrat ed t o t he
opt ions are
dest inat ion as a new
available f or
object . A separat e
t ransmit t ers, 4
object f or t he
devices, and
mat ching object in
schedules.
t he dest inat ion is
also kept . This
result s in t wo object s
wit h mat ching
def init ions in t he
dest inat ion, which
you can modif y af t er
t he migrat ion is
complet e.
Options De s c r iption
Defining DSNs
After you i nstal l an OD BC dri ver, you can defi ne one or more data sources
for i t. The D SN shoul d provi de a uni que descri pti on of the data, for
exampl e, P ay r o l l _P r o j e c t _M e t a d a t a or P a y r o l l _W a r e h o u s e.
The D SN i s the name for a poi nter used by a cl i ent appl i cati on (i n thi s case
Mi croStrategy) to fi nd and connect to a data source. Mul ti pl e D SN s can
poi nt to the same data source and one D SN can be used by di fferent
appl i cati ons.
l Edi t the odbc.i ni on Li nux. For more i nformati on, see C onfi guri ng OD BC
Parameters w i th OD BC .i ni
It is s trongly rec ommended y ou us e the Mic roStrategy Connec tiv ity Wiz ard
when c reating a new DSN for a Mic roStrategy -branded ODBC driv er. Us e the
Mic ros oft ODBC Data Sourc e Adminis trator only if y ou intend to us e a driv er
that is not Mic roStrategy -branded.
If y ou c reate DSNs us ing the Mic ros oft ODBC Data Sourc e Adminis trator, y ou
mus t c reate s y s tem DSNs . Otherwis e, Mic roStrategy interfac es will not
rec ogniz e them.
To create a DSN
On Li nux:
3. C l i ck N ext.
6. C l i ck Test.
If y ou already hav e an ex is ting DSN with the s ame name as the one y ou
prov ided, a mes s age box appears . You hav e the following options :
• Selec t Yes to mak e s ure the DSN points to the loc ation y ou are
ex pec ting. This ov erwrites the ex is ting DSN.
1. Log i n to the machi ne as an admi ni strator. Thi s gi ves you the abi l i ty to
create a system-w i de D SN , rather than a user-speci fi c D SN .
To v iew all the ins talled ODBC driv ers , c lic k the D rivers tab.
4. C l i ck A dd.
We rec ommended that y ou s elec t a Mic roStrategy ODBC driv er. Thes e
driv ers , whos e names s tart with Mic roStrategy , were ins talled when y ou
ins talled the Mic roStrategy applic ation on the c omputer.
7. C l i ck OK .
The s teps to c reate the required c omponents of a databas e ins tanc e are
prov ided in the following s ec tions : C reati ng a database i nstance, page
279 , C reati ng a database connecti on, page 283 , and C reati ng a
database l ogi n, page 289 .
When a proj ect archi tect creates a proj ect, the archi tect assi gns a database
i nstance to that proj ect. A proj ect speci fi es onl y one w arehouse database
If you have a l i cense for the Mul ti Source Opti on feature, you can connect a
proj ect to mul ti pl e w arehouse database i nstances. There can be mul ti pl e
data sources that connect to the Warehouse C atal og for the proj ect. Si nce
these data source can be i ntegrated as part of the proj ect's rel ati onal
schema, al l reports and documents can return i nformati on from mul ti pl e
data sources. For i nformati on on accessi ng mul ti pl e data sources i n a
proj ect, see the Proj ect D esi gn H el p.
R egardl ess of w hether you have a l i cense for the Mul ti Source Opti on, you
can al so extend a proj ect's access to mul ti pl e data sources through other
Mi croStrategy features. Freeform SQL, Query Bui l der, and supporti ng
access through Mi croStrategy to other MD X cube sources such as SAP BW,
Oracl e Essbase, and Mi crosoft Anal ysi s Servi ces al l ow s non-proj ect
database i nstances to be i ncl uded and used i n a proj ect al ong w i th the
w arehouse database i nstances. For i nformati on on Freeform SQL and
Query Bui l der, see the Advanced R eporti ng H el p. For i nformati on on MD X
cube sources, see the MD X C ube R eporti ng H el p
These non-proj ect database i nstances can al l ow a proj ect to connect to the
data sources for the vari ous features and addi ti onal data sources
menti oned above, i nstead of accessi ng the data from the proj ect's rel ati onal
schema. For more i nformati on on the Warehouse C atal og, see the Proj ect
D esi gn H el p.
stati sti cs tabl es through SQL data w arehouse database i nstances. The SQL
data w arehouse database i nstances are avai l abl e i n the Proj ect
C onfi gurati on Edi tor, as show n bel ow .
Sel ecti ng a database i nstance check box makes that database i nstance
avai l abl e i n the proj ect for standard Mi croStrategy reporti ng, data marts,
Query Bui l der, and Freeform SQL. If you have a l i cense for the Mul ti Source
Opti on, sel ecti ng a check box for a database i nstance al so makes the
database i nstance avai l abl e from the Warehouse C atal og to be part of the
proj ect's rel ati onal schema.
us ers , whic h c ould c aus e a los s of c onnec tiv ity to the data s ourc e. For
information on the Import Data feature, refer to the Mic roStrategy Web online
help.
The shadi ng and col or of a database i nstance i n the l i st of rel ati onal
database i nstances refl ects how the database i nstance i s bei ng used i n the
proj ect:
l B lue text: Thi s i s the w arehouse database i nstance, as sel ected from the
w arehouse database i nstance drop-dow n l i st. There can onl y be one
w arehouse database i nstance for a proj ect, because thi s database
i nstance's data i s popul ated i n the Warehouse C atal og to defi ne the
proj ect's rel ati onal schema. You cannot choose to di sabl e the w arehouse
database i nstance for the proj ect w i thout fi rst sel ecti ng a di fferent
w arehouse database i nstance.
If you have a l i cense for the Mul ti Source Opti on, the pri mary database
i nstance acts as the mai n source of data for a proj ect and i s used as the
defaul t database i nstance for tabl es added to the proj ect.
l B old text: The proj ect contai ns obj ects that are dependent on the
database i nstance. You cannot choose to di sabl e a database i nstance
that has dependent obj ects for the proj ect.
l N ormal text: The database i nstance i s not bei ng used i n the proj ect.
l B old: The proj ect contai ns obj ects that are dependent on the database
i nstance. You cannot choose to di sabl e a database i nstance that has
dependent obj ects for the proj ect.
l N ormal: The database i nstance i s not bei ng used i n the proj ect.
If you remove an MD X cube database i nstance from a proj ect, you can
del ete any unused MD X cube schema obj ects. You can remove database
i nstance from a proj ect onl y i f there are no dependent obj ects i n the proj ect
for the database i nstance. For more i nformati on on removi ng a database
i nstance and rel ated MD X cube managed obj ects from a proj ect, refer to the
System Admi ni strati on H el p.
You c an als o c reate a new databas e ins tanc e us ing the Databas e Ins tanc e
Wiz ard that is av ailable in the Databas e Ins tanc e Manager s hortc ut menu.
The database connecti on type you choose shoul d match your data source
and determi nes w hether the database i nstance i s a rel ati onal or an MD X
cube database i nstance.
The Advanced tab i s not avai l abl e for MD X cube database i nstances.
l Job Pri ori ti zati on—speci fi es the j ob pri ori ti zati on scheme for the i nstance
and the number of pri ori ti zed connecti ons.
5. In the D atabase connection type drop-dow n l i st, sel ect the data
source connecti on type accordi ng to the data source hosti ng your
database.
6. On the A dvanced tab, you can confi gure vari ous opti ons for the
database i nstance, i ncl udi ng:
l Intermediate table storage: You can speci fy the database name and
tabl e name space to use w hen i ntermedi ate tabl es are created.
Intermedi ate tabl es are created to support vari ous queri es.
l D ata mart optimization: You can support data mart opti mi zati on i f
the data source for the database i nstance i s i n the same data source
that contai ns data marts.
To enabl e data mart opti mi zati on, sel ect the This database
instance is located in the same warehouse as check box,
and then sel ect a database i nstance from the drop-dow n l i st.
l Table prefix: If the tabl es i n your data source use a tabl e prefi x, you
can i ncl ude the tabl e prefi x to i denti fy the proper col l ecti on of tabl es.
C l i ck Select to sel ect a tabl e prefi x or defi ne a new tabl e prefi x.
7. On the Job Prioritization tab, you can confi gure how j obs are
pri ori ti zed for the database i nstance. For i nformati on on confi guri ng
j ob pri ori ti zati on, see the System Admi ni strati on H el p.
You create database connecti ons i n the D atabase Instances Edi tor by
cl i cki ng N ew on the General tab. Any database connecti on created w i thi n
the D atabase Instances Edi tor i s avai l abl e for use across al l database
i nstances i n the proj ect source. For more i nformati on on creati ng a
database connecti on for MD X cube sources, refer to the MD X C ube
R eporti ng H el p.
When you choose to create a new database connecti on, the D atabase
C onnecti ons di al og box opens:
The D atabase C onnecti ons di al og box has di fferent opti ons dependi ng on
the database i nstance type:
n Advanced: Speci fi es the database dri ver mode, dri ver executi on mode,
and other mi scel l aneous w arehouse connecti on setti ngs.
2. In the Local system OD B C data sources pane, sel ect the data source
name for the data source.
3. On the A dvanced tab, you can defi ne vari ous opti ons per your
requi rements and the requi rements of the database you are connecti ng
to, i ncl udi ng:
l D atabase driver mode: Sel ect one of the fol l ow i ng database dri ver
modes:
l U se extended fetch: Sel ect thi s check box to enabl e Intel l i gence
Server to fetch bl ocks of data from the database i nto memory,
i nstead of row -by-row . Be aw are that thi s check box i s onl y avai l abl e
i f the database i nstance i s defi ned to use 2.0 OD BC cal l s, w hi ch i s
i ncl uded i n the steps Speci fyi ng Warehouse C onnecti on Informati on,
page 274. When 3.0 OD BC cal l s are enabl ed, extended fetch i s
al ready enabl ed and thi s opti on i s grayed out.
l Maximum cancel attempt time (sec): D efi nes the maxi mum amount
of ti me the Mi croStrategy Query Engi ne w ai ts for a successful
attempt before i t cancel s a query. Val ues of 0 and -1 i ndi cate no
l i mi t.
l Maximum query execution time (sec): D efi nes the maxi mum
amount of ti me a si ngl e pass of SQL can execute on the database.
Val ues of 0 and -1 i ndi cate no l i mi t.
l Maximum connection attempt time (sec): D efi nes the maxi mum
amount of ti me Intel l i gence Server w ai ts to connect to the database.
Val ues of 0 and -1 i ndi cate no l i mi t.
l Table prefix: D efi nes a tabl e prefi x that speci fi es the schema
contai ni ng the tabl es to access.
l C haracter set encoding for Windows drivers: The opti ons l i sted
bel ow are onl y rel evant w hen Intel l i gence Server i s runni ng on a
Wi ndow s machi ne:
n N on U TF-8 (defaul t): Sel ect thi s opti on i f the OD BC dri ver returns
i nformati on i n a character encodi ng other than U TF-8.
n U TF-8: Sel ect thi s opti on i f the OD BC dri ver returns i nformati on i n
U TF-8 character encodi ng. D ri vers for Teradata databases may
requi re U TF-8 encodi ng.
l C haracter set encoding for U N IX drivers: The opti ons l i sted bel ow
are onl y rel evant w hen Intel l i gence Server i s runni ng on a U N IX
machi ne:
n U TF-8 (defaul t): Sel ect thi s opti on i f the OD BC dri ver returns
i nformati on i n U TF-8 character encodi ng. D ri vers for Teradata
databases may requi re U TF-8 encodi ng.
4. On the General tab, i n the D efault database login name pane, sel ect
the defaul t database l ogi n and cl i ck OK .
If the necessary database l ogi n does not exi st, you can create one by
cl i cki ng N ew. For steps to create a database connecti on, see C reati ng
a database l ogi n, page 289 bel ow .
Connec tion mapping is ex plained in U ser connecti on mappi ng, page 291 .
l For the metadata, the Sel ect, Insert, and U pdate permi ssi ons are
requi red. Intermedi ate tabl es are created i n the metadata for recursi ve
search queri es, w hi ch requi res C reate and D rop permi ssi ons as w el l .
U pdati ng the schema requi res the D el ete permi ssi on.
l For the data w arehouse, the Sel ect, C reate, Insert, and D rop permi ssi ons
are requi red.
When you choose to create a new database l ogi n, the D atabase l ogi ns
di al og box opens:
l A databas e ins tanc e has been c reated, as des c ribed in C reati ng a database
i nstance, page 279 .
2. Provi de the user ID and passw ord requi red to access the data source,
usi ng one of the fol l ow i ng methods:
l Type the user ID i n the Login ID fi el d, and type the passw ord for that
user ID i n the Password fi el d.
l Sel ect the U se network login ID check box to connect to the data
source usi ng the netw ork user credenti al s w hi ch are al so used to run
Intel l i gence Server. If Intel l i gence Server i s runni ng as a servi ce,
thi s i s the user that i s runni ng the m s t r s v r . e x e process. To
determi ne thi s user, i n Mi croStrategy Servi ce Manager, sel ect
MicroStrategy Intelligence Server and cl i ck Options. The user i s
l i sted on the Servi ce Startup tab, i n the Logi n fi el d. If the Servi ce
Account N ame i s defi ned as System Account, the Wi ndow s user
credenti al s are used to access the data source.
3. C l i ck OK .
Databas e logins are pas s ed to the data s ourc e any time a us er ex ec utes a
report or brows es attribute elements . Therefore, all databas e logins c reated in
Mic roStrategy Dev eloper mus t be als o be c reated as v alid logins in the data
s ourc e.
You can map users to connecti ons and l ogi ns i n the Proj ect C onfi gurati on
Edi tor or C ommand Manager. For i nformati on about how connecti on maps
are used, see the System Admi ni strati on H el p.
l For the metadata, the Sel ect, Insert, and U pdate permi ssi ons are
requi red. Intermedi ate tabl es are created i n the metadata for recursi ve
search queri es, w hi ch requi res C reate and D rop permi ssi ons as w el l .
U pdati ng the schema requi res the D el ete permi ssi on.
l For the data w arehouse, the Sel ect, C reate, Insert, and D rop permi ssi ons
are requi red.
l A databas e ins tanc e has been c reated, as des c ribed in C reati ng a database
i nstance, page 279 .
2. R i ght-cl i ck the proj ect and sel ect Project C onfiguration. The Proj ect
C onfi gurati on Edi tor opens.
5. You can defi ne the connecti on mappi ng by speci fyi ng the i nformati on
descri bed bel ow :
l U ser: The user or user group to appl y the connecti on mappi ng to.
l D atabase Login: The database l ogi n for the connecti on mappi ng.
6. C l i ck OK .
Related
If the tabl e i nformati on i s not updated, al though you have performed correct
steps, see KB483323: U nabl e to update tabl e structure i n Mi croStrategy
D evel oper Warehouse C atal og.
For customers mi grati ng from one pl atform rel ease to the next,
Mi croStrategy 10.4.x to Mi croStrategy 2021 for exampl e, the cumul ati ve
effect of the changes can have a l arge i mpact on your executi on resul ts. To
mi ni mi ze these i mpacts w hen performi ng a pl atform rel ease upgrade,
Mi croStrategy Workstati on al l ow s you to choose the D ata Engi ne versi on
for each proj ect or appl i cati on i n your envi ronment.
Starti ng i n Mi croStrategy 2021, you can vi ew and modi fy the D ate Engi ne
versi on vi a Mi croStrategy D evel oper.
The D ata Engi ne processes queri es, agai nst a schema, for a speci fi c data
source, to perform data mani pul ati ons.
Pr oce sse s qu e r i e s
Aga i n st a sch e m a
To pe r f or m da t a m a n i pu l a t i on s
In Workstation
To s elec t a Data Engine v ers ion, Mic roStrategy Work s tation mus t be c onnec ted to
an env ironment and y ou mus t hav e Adminis trator priv ileges .
4. Sel ect a versi on from the D ata Engi ne Versi on drop-dow n menu.
5. C l i ck OK .
6. R el oad the proj ect w i th Mi croStrategy D evel oper to appl y the changes.
In Developer
1. Open Mi croStrategy D evel oper.