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 9 Next »

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

To access the shell (psm.exe), open the command line and go to C:\Program Files\Sisense\Prism. Type in psm.exe to access the main menu.

psm

Available Commands

CommandDescriptionParameters
BuildBuilds an ecube file or server hosted ElastCube.
  • filename: Defines the ecube file name to be built on 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:
    • mode=restart: Rebuilds the ElastiCube from scratch.
    • mode=full: Rebuilds the ElastiCube and accumulates data for tables defined as accumulative. This mode should only be used for accumulative builds.
    • mode=changes: Rebuilds from scratch tables that have changed in the ElastiCube schema.
    • mode=metadataonly: Updates the ElastiCube server with the ElastiCube schema, without building.
ChangedatasourceChanges the data source to another data source.
  • file:  The prism document file name to open and convert.
  • prev: The previous data source.
  • new: The new data source.
DeleteDeletes an ElastiCube from the target server.
  • 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.
RestartRestarts an Elasticube on the target server.
  • 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
StartStarts an ElastiCube on the target server.
  • name: Defines the name of the ElastiCube to be started.
  • serverAddress: Defines the target server address on which the ElastiCube should be started.
StopStops a running ElastiCube on the target server.
  • name: Defines the name of the ElastiCube to be stopped.
  • serverAddress: Defines the target server address on which the ElastiCube should be stopped.
AttachAttaches an ElastiCube folder to the local server.
  • 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
DetachDetaches an ElastiCube from the local server.
  • 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
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