Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Analysis Services deployment wizard Expand / Collapse
Author
Message
Posted Monday, May 26, 2008 1:06 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Thursday, November 15, 2012 1:31 PM
Points: 33, Visits: 139
Hello,
I have little bit of knowledge in SSAS deployment wizard. It works perfect when we want to deploy the entire database. However in my case, I have modified one cube and added one dimension to that cube. Is there a way I can deploy by only adding the new dimension to that cube and not disturb the other dimension for that cube?

Thank you,

Ashok Jebaraj
Post #506392
Posted Monday, May 26, 2008 1:49 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Friday, May 28, 2010 7:30 AM
Points: 40, Visits: 30
I do not know if its posible with the deployment wizzard, but you could use BIDS to do this.
Post #506400
Posted Monday, May 26, 2008 7:29 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Sunday, July 1, 2012 8:44 AM
Points: 205, Visits: 105
Using management studio, right click on the dimension and choose "script dimension as" -> "create to" -> "file".

If you're using source control, you can check the XMLA file in.

Manual deployment is easy - just connect to your new database, open the XMLA file, and execute it.

Scripted deployment is possible also. You need ascmd, which is a micofsoft tool similar to sqlcmd that lets you run XMLA files from the command line. You have to download it - it's not on the site I originally downloaded it from but I've heard it's part of Project Real.

Also, see the readme for ascmd.
Post #506479
Posted Monday, May 26, 2008 9:29 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Thursday, November 15, 2012 1:31 PM
Points: 33, Visits: 139
Hello...Thank you for your reply...Anyways I do not know what is BIDS.
Post #506645
Posted Monday, May 26, 2008 9:30 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Thursday, November 15, 2012 1:31 PM
Points: 33, Visits: 139
Exactly...I am presently using XMLA file deployment. But it requires a lot of documentation explaining the connection changes. The DSV, everything would be different in the prod environment.
Post #506646
Posted Tuesday, May 27, 2008 12:14 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, October 23, 2014 9:54 AM
Points: 4, Visits: 80
BIDS means Business Intelligence Development Studio its come with SQL Server 2005..
Post #506686
Posted Tuesday, May 27, 2008 4:30 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Sunday, July 1, 2012 8:44 AM
Points: 205, Visits: 105
Ashok Jebaraj (5/26/2008)
Exactly...I am presently using XMLA file deployment. But it requires a lot of documentation explaining the connection changes. The DSV, everything would be different in the prod environment.


So I'm assuming you've built this new dimension in either a development or test environment, certified that it does what you need, and now you want to deploy this to your production environment. Right?

Now I'm hoping that when you say your DSV is different you're just talking about the ID. If so, you can change the XMLA to use a parameter $(DataSourceViewID) in place of your DSV, then when you run ascmd you'd execute
ascmd.exe -S server_name -i my_file.xmla -d db_name -v DataSourceViewID=my_id

But when you say everything would be different in prod, you could be talking about a much bigger problem. If your analysis database is very different between dev/test and prod (not just IDs but column binding definitions, etc.), that's something you should work to correct. For this project perhaps go the route of a document describing all the setup steps, but you'll want to script your production cube and bring it back to your test/dev environment(s) so you don't have this problem again.
Post #506796
Posted Tuesday, May 27, 2008 9:29 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Thursday, November 15, 2012 1:31 PM
Points: 33, Visits: 139
Thank you all for your answers.

I think I should set up a dev environment same as the one which is in Prod. I would like to know which deployment method is suggested (XMLA/ Wizard) and for what reason?

Thank you,

Ashok Jebaraj
Post #507393
Posted Wednesday, May 28, 2008 5:25 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Sunday, July 1, 2012 8:44 AM
Points: 205, Visits: 105
I strongly recommend you use more answers than just mine, because I've only done it one way and don't know the benefits of the others.

But in my company, we script everything (no wizards) - XMLAs to update Analysis, TSQL to add tables / update data, other TSQL to do programmability, and a program we wrote to deploy RDLs, gifs, etc. to reporting services.

There's some effort to put this in place, but once you have it you can programmatically apply changes to any environment (dev, UAT, prod, DR, etc.) and know that the deployment was done correctly in all places.

The other benefit is that you check in your update scripts to source control, which lets you see who changed what over time. You don't get that with a UI based update mechanism.
Post #507572
Posted Monday, November 17, 2008 12:05 PM
UDP Broadcaster

UDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP Broadcaster

Group: General Forum Members
Last Login: Thursday, November 20, 2014 3:37 PM
Points: 1,481, Visits: 160
Can you please tell me .. how to use ASCMD command line utility ?
I want to prepare deployment package in terms of batch file to execute .xmla files to create cubes and then prepare jobs to process those cubes.
I am familiar with SQLCMD, but i have no idea about ASCMD ... is it a third party tool that we need to install first ?

Please let me know if u know how to deploy cube using command prompt.

Thanks in advance.
Post #603867
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse