COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => COGNOS 8 Administration => Topic started by: pribacus on 03 Jul 2008 05:06:49 AM

Title: Help on CubeSwap (Cognos 8.3)
Post by: pribacus on 03 Jul 2008 05:06:49 AM
Hi All:

I'm having issue with cubeswap in 8.3.

Currently I have 2 production servers running in windows. The first one is where i have all the cubes, cognos configuration setting. The 2nd box, I have Cognos Framework Manager and PowerPlay Transformer (to build production cubes and then later copy them to the first box).

I am running cubeswap from the 2nd box, and trying to swap the cube location which is located on the 1st box. I keep getting the error message that it cannot find the cube.

Question is does cubeswap can be run in multiple server like this.

BTW, my script works like this:
1. Generate the cube (on the 2nd box). --> OK
2. Copy the cube from the 2nd box to 1st box --> OK
3. Run cubeswap to refresh the cube location on data source connection --> not OK

Thank You!

-Andy-
Title: Re: Help on CubeSwap (Cognos 8.3)
Post by: josepherwin on 03 Jul 2008 11:45:50 PM
What is the cube path that you are using?

are you using C:\cube path or \\server name\cube path?
Title: Re: Help on CubeSwap (Cognos 8.3)
Post by: pribacus on 04 Jul 2008 01:53:04 AM
Hi Joseph:

I am using 'e:\cube path'. It didn't work. It says that 'e:\cube path' does not exist when i run my cubeswap script.

If i use '\\server name\cube' path; my script works. However, the windows connection would be updated to '\\server name\cube' path. I would be getting an error message when i tried to run the cube. I need to set the location to e:\cube\path.

Do you have any idea how to solve this issue?

Thanks in advance!

-Andy-
Title: Re: Help on CubeSwap (Cognos 8.3)
Post by: SomeClown on 07 Jul 2008 07:18:27 AM
If E:\ is a physical drive on that server, then it should work. 

If it is not, the only way I know of using a mapped drive is to leave a login session open for the account that is running a script when running in batch mode  (mapped drives only exist in the user space and are defined at the user level, two good reasons to avoid using them if possible).

If you are running interactively, then you need to define a persistent mapping for E: to point to your share location.

Title: Re: Help on CubeSwap (Cognos 8.3)
Post by: josepherwin on 08 Jul 2008 11:31:22 PM
I'm a bit confused, when you say:

"windows connection would be updated to '\\server name\cube' path. I would be getting an error message when i tried to run the cube."

Which Windows connection? is it the Windows Location of the Cube Connection String in Data Source Connection?

If this was the case, you will need to start your Cognos service as a directory admin rather than local.

Try this method if you're on windows:
1. Go to the box where Cognos Service is running
2. Go to Control Panel -> Administrative Tools -> Services
3. Find your Cognos8 service in there
4. Check the properties
5. Switch to "Log On" tab
6. Select the "This Account" Radio Button
7. Type in a directory admin username and password

After this, you will need to Stop and Start the Cognos service through Cognos Configuration.

And I would think that this time you'll have no problem with \\servername path
Title: Re: Help on CubeSwap (Cognos 8.3)
Post by: pribacus on 09 Jul 2008 02:00:56 AM
Hi Joseph:

I meant it's the windows location of the cube connection string in data source connection.

Thanks for the advice (Joseph and SomeClown). I will try to do it this weekend. Currently i cannot stop the service since our users are in 3 different regions (US, Europe, and Asia); gotta keep it running 24hrs a day. I can only do this testing on the weekend.

I really appreciate your help!!!

-Andy-
Title: Re: Help on CubeSwap (Cognos 8.3)
Post by: josepherwin on 09 Jul 2008 08:23:12 AM
No prob...

If you're not sure, ask your technical team or network admin to grant your Cognos Admin username with Directory administrator privilege :)