Hi,
Is this the right deployment procedure: I copied the whole project to production server and re-processes the cube. Does the OLAP database resides in \bin or is it the one in C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data? What's the extension name?
Thanks alot!
cherriesh
Copy the whole project is not really required. The database in the \bin folder is the one that was last built from the BI Development Studio (BIDS), but you do not deploy this file by copying it. In your program files folder where you have installed BIDS you should have an Analysis Services folder with an Analysis Services deployment wizard. This wizard allows you to do a number of things that are useful when deploying to production such as changing or retaining data source connection strings and retaining roles and partitions which may be different between dev and prod.
Also from BIDS, you can setup different profiles and change the target server for the deploy operation from BIDS, but if you needed to change data source connections you would need to remember to do that yourself.
|||Hi,
After deployment, does the AS database reside in the drive where Analysis Services resides? I'm afraid in the server it is installed in C:\ with only 10GB instead of in the D:\ which has much greater space capacity..
cherriesh
|||Hi,
If you open up the management studio and right click on the server instance and look at the properties. The Property DataDir will tell you where it's storing the databases. You can change it if it is wrong from C: to D: and you might want to change the backup and log directories property too (BackupDir, LogDir).
Hope that helps
Matt
|||Hi,
Done with LogDir, BackUpDir and DataDir. I also saw the AllowedBrowsingFolder that is set to :
C:\Program Files\Microsoft SQL Server\MSSQL.3\OLAP\Log|C:\Program Files\Microsoft SQL Server\MSSQL.3\OLAP\Backup
Do I have to change this also?
I've done the Deployment wizard and I have generated the .xmla script. How to proceed from there?
cherriesh
|||Hi,
Probably worth doing the AllowedBrowsingFolder to, it populates the drop down when you are backup and restore, various things like that.
On the assumption your script looks something like:
<Alter AllowCreate="true" ObjectExpansion="ObjectProperties" xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
<Object />
<ObjectDefinition>
<Server xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlnsdl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns
dl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2">
<ID>SERVER</ID>
<Name>SERVER</Name>
<ServerProperties>
<ServerProperty>
<Name>BackupDir</Name>
<Value>D:\Microsoft SQL Server\MSSQL.4\OLAP\Backup</Value>
</ServerProperty>
</ServerProperties>
</Server>
</ObjectDefinition>
</Alter>
Just open an xmla query, run it on the server and restart the service. It should in theory create the directories, pretty sure it did when i have done this before. If there is anything already on the AS Server, best to back that up first then restore it in the new location.
Any problems, just post again.
Matt
|||hi,
sorry im really new to this. how do i run this .xmla in the server? what command?
thanks a lot!
cherriesh
|||Hi,
Not to worry. If you open up management studio, click on File, then New, Analysis Services XMLA Query. Type in the server you are changing into "Server Name"
Or there is an icon on the query tool bar, has XMLA in green on it, if you hover over it it will say "Analysis Services XMLA Query".
An Alternative to not running XMLA:
If you are in management studio, connect to the server and right click the server in the object explorer. You can manually change the settings in the properties there.
If I didn't make any sense:
http://www.microsoft.com/technet/prodtechnol/sql/2005/ssasproperties.mspx
(Figures 1 and 2 are the wrong way around though)
remember to restart it the service
Hope that helps
Matt
|||Thanks a lot! this really helps. is it the AS service that i need to restart? because, when i ran the .xmla, i could already see the AS database in the Management Studio. Does it really important to restart?
thanks!
cherriesh
|||The changes you make won't actually take effect until you do, just the AS service.
No problem
Matt
No comments:
Post a Comment