Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Sisense supports executing ElastiCube related commands using the Windows command line.

The PSM executable is located in C:\Program Files\Sisense\Prism.

psm

Available Commands

Build

Builds an ecube file or server hosted elasticube.

Parameters:

  • filename: Defines the ElastCube filename to be built to the target server.
  • name: Defines the name of the ElastCube to be built on the target server.
  • serverAddress: Defines the target server address on which the ElastCube should be built.
  • mode: Defines the mode in which the ElastCube should be built. Available modes:
  1. mode=restart: Rebuilds the ElastiCube from scratch.
  2. mode=full: Rebuilds the ElastiCube and accumulates data for tables defined as accumulative. This mode should only be used for accumulative builds.
  3. mode=changes: Rebuilds from scratch tables that have changed in the ElastiCube schema.
  4. mode=metadataonly: Updates the ElastiCube server with the ElastiCube schema, without building.

Changedatasource

Changes the data source to another data source.

Parameters:

  • file:  The prism document file name to open and convert.
  • prev: The previous data source.
  • new: The new data source.

Delete

Deletes an ElastiCube from the target server.

Parameters:

  • name:  Defines the name of the ElastiCube to be removed from the target server.
  • serverAddress: Defines the target server address from which the ElastiCube should be removed.

Restart

Restarts an Elasticube on the target server.

Parameters:

  • name: The name of the ElastiCube to be restarted.
  • serverAddress: Defines the target server address on which the ElastiCube should be restarted.

Example:

psm ecube build filename=”c:\mycube.ecube” serverAddress=”localhost” mode=restart

Start

Starts an ElastiCube on the target server.

Parameters:

  • name: Defines the name of the ElastiCube to be started.
  • serverAddress: Defines the target server address on which the ElastiCube should be started.

Stop

Stops a running ElastiCube on the target server.

Parameters:

  • name: Defines the name of the ElastiCube to be stopped.
  • serverAddress: Defines the target server address on which the ElastiCube should be stopped.

Attach

Attaches an ElastiCube folder to the local server.

Parameters:

  • path: Defines the full path of the folder you want to attach. Example: psm.exe ecube attach path=C:\ProgramData\Sisense\PrismServer\ElastiCubeData\…
  • serverAddress (when working with a remote server): Defines the address of a remote serverIf not used, the fallback value localhost will be used. Example: psm.exe ecube attach path=s:\elasticubedata\acheck1 serverAddress=192.168.1.xxx

Detach

Detaches an ElastiCube from the local server.

Parameters:

  • name: Defines the name of the ElastiCube you want to detach.
  • serverAddress (when working with a remote server): Defines the address of a remote serverIf not used, the fallback value localhost will be used. Example: psm.exe ecube detach name=check1 serverAddress=192.168.1.xxx

psm ex

CubeConverterExe

This command together with an executable file lets you convert ecube files to XML and vice versa. This can be useful for editing ecube parameters such as the data source name and location, table names, dimension names, etc. You can convert the .ecube file to xml, edit the .xml file using any editor, and then simply convert it back to an .ecube file.

Click here to learn more.

 

  • No labels