To deploy a Sybase CEP query module, the server must have a workspace that the query module can run inside.
Workspaces are logical divisions within the Sybase CEP Server that are used to isolate groups of query modules.
To create a workspace, execute the command:
c8_client --cmd=manager-create-workspace --server-uri=<server-uri> --workspace-name=<workspace-name> --workspace-description=<workspace-description>
The c8_client command that performs the Create Workspace operation is called manager-create-workspace. The parameters included with this command are:
Parameter Name |
Description |
server-uri |
The URI of the Sybase CEP Server. |
workspace-name |
The name of the workspace. |
workspace-description |
An optional parameter to include a comment string. |
The workspace name must conform to Sybase CEP naming rules. If a workspace with the same name has already been created on the Server, then an error will be returned.