SETUP AND MANAGEMENT OF MODELS IN CUBE CLOUD. Colby M. Brown, AICP PTP



Similar documents
PaperStream Connect. Setup Guide. Version Copyright Fujitsu

Handle Tool. User Manual

Setting Up ALERE with Client/Server Data

Network Detective Client Connector

Bulk Downloader. Call Recording: Bulk Downloader

Submitting UITests at the Command Line

How To Sync Quickbooks With Qvinci.Com On A Pc Or Macbook Or Mac Book (For A Webbook) With A Flashbook (For An Ubuntu Account) With An Ipo (For Macbook) On A Mac

Setting Up the ARC Activity-Based Model in the Cloud: Lessons to Date. Ben Stabler, PB. Guy Rousseau, ARC. Matthew Martimo, Citilabs

Secrets of Event Viewer for Active Directory Security Auditing Lepide Software

Setting Up Jive for SharePoint Online and Office 365. Introduction 2

How to Install Multiple Monitoring Agents on a Microsoft Operating System. Version StoneGate Firewall/VPN 2.6 and SMC 3.2

Retailman POS Multi-location Setup

FirstClass Export Tool User and Administration Guide

NIST/ITL CSD Biometric Conformance Test Software on Apache Hadoop. September National Institute of Standards and Technology (NIST)

Lucid Key Server v2 Installation Documentation.

HSearch Installation

Hands-on Exercises with Big Data

1 How to install CQ5 with an Application Server

Kaldeera Workflow Designer 2010 User's Guide

fåíéêåéí=péêîéê=^çãáåáëíê~íçêûë=dìáçé

Command Line Interface Specification Linux Mac

CLC Server Command Line Tools USER MANUAL

MATLAB Distributed Computing Server with HPC Cluster in Microsoft Azure

Introduction Upload Upload Document Quick Upload Salesforce 1 Upload Salesforce File Upload Download...

Introduction on Contact Management Software EZY Call Manager 7. Prepare By : Joseph Har Web Site :

Getting Started with the Ed-Fi ODS and Ed-Fi ODS API

EVALUATION ONLY. WA2088 WebSphere Application Server 8.5 Administration on Windows. Student Labs. Web Age Solutions Inc.

ADFS 2.0 Application Director Blueprint Deployment Guide

FlexSim LAN License Server

SQUEEZE SERVER. Operation Guide Version 3.0

Setup Guide for AD FS 3.0 on the Apprenda Platform

Getting Started using the SQuirreL SQL Client

CDD user guide. PsN Revised

LAB: Enterprise Single Sign-On Services. Last Saved: 7/17/ :48:00 PM

PaperPort PSP Server 3 SERVER ADMINISTRATOR S GUIDE

EMC DOCUMENTUM xplore 1.1 DISASTER RECOVERY USING EMC NETWORKER

Technical Support Set-up Procedure

Portals and Hosted Files

File Server Migration

AdRadionet to IBM Bluemix Connectivity Quickstart User Guide

KonyOne Server Installer - Linux Release Notes

DiskPulse DISK CHANGE MONITOR

Git - Working with Remote Repositories

Copyright Texthelp Limited All rights reserved. No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval

How To Login To The Mft Internet Server (Mft) On A Pc Or Macbook Or Macintosh (Macintosh) With A Password Protected (Macbook) Or Ipad (Macro) (For Macintosh) (Macros

Results CRM 2012 User Manual

Release Notes P/N Rev 01

Altima Lookbook Free Extension v

LifeCyclePlus Version 1

IBM FileNet eforms Designer

Scribe Online Integration Services (IS) Tutorial

Virtual CD v10. Network Management Server Manual. H+H Software GmbH

Automate Your BI Administration to Save Millions with Command Manager and System Manager

Configuring Microsoft Internet Information Service (IIS6 & IIS7)

ORACLE BUSINESS INTELLIGENCE WORKSHOP

Printer Connection Manager

Hadoop Tutorial. General Instructions

Primavera P6 Professional Windows 8 Installation Instructions. Primavera P6. Installation Instructions. For Windows 8 Users

LAB 1: Installing Active Directory Federation Services

Product: DQ Order Manager Release Notes

SDK Code Examples Version 2.4.2

Add User to Administrators Group using SQL Lookup Table

WSDOT ProjectWise V8i Training 101

Listed below are the common process in creating a new content type, and listing a summary of all contents via view and/or panel custom page.

Commander. The World's Leading Software for Label, Barcode, RFID & Card Printing

IMF Tune v7.0 Backup, Restore, Replication

Configure Single Sign on Between Domino and WPS

TIBCO Administrator User s Guide. Software Release March 2012

Windows Intune Walkthrough: Windows Phone 8 Management

Quick Start Guide. User Manual. 1 March 2012

Veeam Best Practices with Exablox

CTERA Portal Datacenter Edition

Shakambaree Technologies Pvt. Ltd.

Content Management System

ACTIVE DIRECTORY DEPLOYMENT

ILTA HANDS ON Securing Windows 7

Scheduling in SAS 9.4 Second Edition

Symantec Backup Exec TM 11d for Windows Servers. Quick Installation Guide

Connect for Dragon Medical 360 Network Edition. Administrator Guide

Thermo Fisher Cloud HELP. Catalog Number A Publication Number MAN Revision C.0

Published. Technical Bulletin: Use and Configuration of Quanterix Database Backup Scripts 1. PURPOSE 2. REFERENCES 3.

WS_FTP Professional 12

Setting Up Your FTP Server

SAS Marketing Optimization. Windows Installation Instructions for Hot Fix 51mo14

Installation, Configuration, and Usage

CSE 344 Introduction to Data Management. Section 9: AWS, Hadoop, Pig Latin TA: Yi-Shu Wei

Consumption of OData Services of Open Items Analytics Dashboard using SAP Predictive Analysis

SC-T35/SC-T45/SC-T46/SC-T47 ViewSonic Device Manager User Guide

Installation Guide. Version 2.1. on Oracle Java Cloud Service

Scheduling in SAS 9.3

SAS Marketing Automation 4.4. Unix Install Instructions for Hot Fix 44MA10

locuz.com HPC App Portal V2.0 DATASHEET

Magento Search Extension TECHNICAL DOCUMENTATION

Distributed Framework for Data Mining As a Service on Private Cloud

Transcription:

SETUP AND MANAGEMENT OF MODELS IN CUBE CLOUD Colby M. Brown, AICP PTP 1

CUBE CLOUD INTRODUCING CUBE CLOUD Develop the Model with Cube in the Desktop Environment Publish the Model from Cube to the Cube Cloud Create, run and analyze scenarios from anywhere

SOFTWARE DEMONSTRATION

UNDERSTANDING CUBE CLOUD DIRECTORY STRUCTURE The exporter converts the catalog into a minimal directory structure

UNDERSTANDING CUBE CLOUD DIRECTORY STRUCTURE Web Working directory/scenario directory Apps Model script file and catalog information (.xml) Inputs All inputs (scenario specific, fixed inputs) Outputs Empty and used to store fixed outputs when model is run

UNDERSTANDING CUBE CLOUD DIRECTORY STRUCTURE Cube Cloud Export Compile model scripts and model catalog Create one model script and a.xml file in web\apps Copy input files to web\inputs Compress web folder for upload Cube Cloud Model Run Each scenario run gets its own copy of the model folder All outputs are saved in the Outputs folder or the Model folder (scenario/working directory)

PREPARING FOR CLOUD SOME THINGS TO CONSIDER 7

BEST PRACTICES Use Cube Catalog and Application Manager Use file keys for input files Use unique file names for scenario specific input files Reference all model run outputs to the {SCENARIO_DIR} Directly link output files in application manager instead of reading the file internally Always use double quotes for file paths and names Execute user programs from scenario dir

INPUT FILE REFERENCES Scenario Specific Input files FILEI input file statements with {SCENARIO_DIR} in path name e.g., FILEI ZONEI[1]= {SCENARIO_DIR}\Zones\ZoneData.DBF Cube Cloud exporter does not recognize scenario specific inputs Warning: Scenario Specific Inputs. The Application scripts are valid, but there is currently no interface to this data in Cube Cloud. Use file keys e.g., FILEI ZONEI[1]= {zonedata}

INPUT FILE REFERENCES Fixed Input Files FILEI statements with fixed file path FILEI RECI = C:\Model\Parameters\MC_PAR.DBF Cube Cloud exporter will copy these files to the Inputs folder The Cube Cloud model script will be updated as FILEI RECI = {SCENARIO_DIR}\Inputs\MC_PAR.DBF Cube Cloud user will not be able to update a new version or edit this file Use a file key to input this file

INPUT FILE REFERENCES Internal Input Files FILE= statements for READ, RENUMBER, LOOKUP statements. e.g., READ FILE ="{SCENARIO_DIR}\INPUT\ACCESS.PRN Cube Cloud Exporter does not accept any file path keys in FILE= statements. Exporter does not copy this file to the inputs directory. Warning. The following Internal "FILE=" entries are present in the model. They have been associated with the VOYAGER command shown below, and copied to the appropriate folder. Note that for Cube Cloud, the best and safest approach is to avoid use of FILE=,and use an alternative VOYAGER construct if available; e.g. for PRINT commands, use PRINTO=.

INPUT FILE REFERENCES Use a user defined key for these types of files or reference these files using {CATALOG_DIR} key. e.g., READ FILE ="{ACCESS}"

OUTPUT FILE REFERENCES FILEO, PRINT FILE= and COPY ENDCOPY statements e.g., FILEO MATO[1] = "{SCENARIO_DIR}\OUTPUT\MATRIX\OUTPUT.MAT Cube Cloud model run will output these files to the outputs directory unless the file is output directly to the scenario directory Subsequent steps reading these files internally will fail in Cube Cloud. Output all scenario specific files directly to {SCENARIO_DIR} e.g., FILEO MATO[1] = "{SCENARIO_DIR}\OUTPUT.MAT

OUTPUT TO INTERNAL INPUT FILE FILEO/COPY/PRINTO to READ, RENUMBER,LOOKUP (FILE=) statements Program 1-Matrix: FILEO PRINTO[1] = "{SCENARIO_DIR}\READ_OUT.PRN" Program2-Matrix: READ FILE = "{SCENARIO_DIR}\READ_OUT.PRN Cube Cloud Exporter will show a error message Warning: The following Internal files (defined via FILE=) could not be found, so the Applications will not run correctly It is a good practice to directly link output files to inputs in subsequent programs rather than reading internally

FILE PATH KEYS FILEI statements with user defined file path keys FILEI MATI[1] = "{LOCATION}\AllWalk.MAT" Cube Cloud exporter does not accept any keys (other than {CATALOG_DIR}) in file PATH of FILEI statements. Error: The following files have Keys in their Path. This construct is incompatible with Cube Cloud. Use the {CATALOG_DIR} key to refer to this file as shown below or use file keys as discussed above FILEI MATI[1] = "{CATALOG_DIR}\Base\Input\AllWalk.MAT"

FILE TOKENS File references using tokens e.g., READ FILE = "@CPI_FILE@" Cube Cloud exporter does not give any warnings or errors Cube Cloud model script is updated to read READ FILE = {CATALOG}\OUTPUTS\@CPI_FILE@ Use valid file paths instead of tokens

INPUT FILES WITH SIMILAR NAMES Cube Cloud exporter appends a suffix (_cw#) input files with similar names. It also updates the catalog key values for these files with updated file names e.g., {File1} = C:\Model\Base\ZoneData.dbf {File2} = C:\Model\Base\Parameters\ZoneData.dbf Exporter will copy 2 files to the inputs folder with the names ZoneData.dbf & ZoneData_cw1.dbf and update the file key values as follows {File1}= inputs\zonedata.dbf {File2}= inputs\zonedata_cw1.dbf

USER PROGRAMS Built-in User Programs e.g., TRCOPY, TRDEL Cube Cloud exporter will show a warning Warning: User Programs currently require some manual intervention to implement in Cube Cloud. Built-in user programs will work without any problems in Cube Cloud

USER PROGRAMS User supplied user programs e.g., any.exe files to perform special functions All input files and output files to/from the user program should be referenced to the {SCENARIO_DIR} Update any control files/input files with file paths Execute the user programs from {SCENARIO_DIR}

USER PROGRAMS User programs requiring special set-up Certain user programs (e.g., Java Parallel Processing Framework) might require additional folder set-up and special configuration for running Additional set-up might include background processes to support the model run Citilabs will create a new Cube Cloud image to handle these special cases (e.g., CT-RAMP) according to each client s needs

SYSTEM COMMANDS Any MS-DOS system commands e.g., COPY, DEL etc. Cube Cloud Exporter will show a warning message Only copy system commands with no wildcards are currently supported by Cube Cloud for file name conversion. It is recommended to copy the individual files using one copy command for each file as shown below. E.g., *COPY {SCENARIO_DIR}\INPUTS\*.csv {SCENARIO_DIR} - Will not work *Copy {SCENARIO_DIR}\INPUTS\File1.csv {SCENARIO_DIR}

CUBE CLOUD CLUSTER SETUP Cube Cloud provides scalability of available cluster nodes for each model run ProcessNum/ProcessList for DistributeMultistep and DistributeIntrastep statements should be calculated within the script based on the number of cores available for that run The number of cores available for the model run is input using a scenario key. No need for cluster commands to start and close cluster nodes. e.g., *Cluster Test 1-10 start exit

CUBE CLOUD CLUSTER SETUP {CORES}=### PILOT: If ({CORES}>1) ClusterNodes={CORES}-1 Distribute Multistep=T Intrastep=T Else ClusterNodes=1 Distribute Multistep=F Intrastep=F EndIf Intranodes = INT((ClusterNodes-2)/3) Start1=3 End1= Start1 + Intranodes Start2= End1 + 1 End2= Start2 + Intranodes Start3= End2 + 1 End3= Start3 + Intranodes DistributeMultistep ProcessId= Training ProcessNum=1 RUN PGM=MATRIX DistributeIntrastep ProcessId= Training ProcessList=@Start1@-@End1@ ENDRUN DistributeMultistep ProcessId= Training ProcessNum=2 RUN PGM=HIGHWAY DistributeIntrastep ProcessId= Training ProcessList=@Start2@-@End2@ ENDRUN RUN PGM=MATRIX DistributeIntrastep ProcessId= Training ProcessList=@Start3@-@End3@ ENDRUN

MULTIPLE APPLICATIONS OUTPUT/INPUT From Application 1 FILEO MATO[3]="{SCENARIO_DIR}\OUTPUT.MAT In Application 2 FILEI MATI[1]="{SCENARIO_DIR}\OUTPUT.MAT Multiple applications are not currently supported in Cube Cloud Cube Cloud Exporter will show a warning message Warning: The following files require a previous Application to be run first in order to create them

REPORTS & APPLIER GROUPS Cube Cloud does not currently allow uploading models with reports or more than one applier group Uploading a model with reports will cause an error in the uploading process Cube Cloud has in-built analysis tools to do charts and maps as well as built-in user access control and administration Delete reports and applier groups before uploading

MANAGING ACCESS THROUGH ADMIN CONTROL PANEL CUBE CLOUD

ANY QUESTIONS? 27