Deploy In-Memory Parallel Graph Analytics (PGX) to Oracle Java Cloud Service (JCS)

Similar documents
How To Enable Oracle Database Cloud Service with Property Graph Capabilities

Deploy Oracle Spatial and Graph Map Visualization Component to Oracle Cloud

Creating an authorized SSL certificate

My First Day with Oracle SOA Cloud Service

Contents Overview... 5 Upgrading Primavera Gateway... 7 Using Gateway Configuration Utilities... 9

Assuming you have Icinga 2 installed properly, and the API is not enabled, the commands will guide you through the basics:

1. INTRODUCTION to Object Storage

Contents Overview... 5 Downloading Primavera Gateway... 5 Primavera Gateway On-Premises Installation Prerequisites... 6

HPE Enterprise Integration Module for SAP Solution Manager 7.1

APAR PO06620 Installation Instructions

Securing U2 Soap Server

TIBCO LiveView Web Getting Started Guide

Public Key Enabling Oracle Weblogic Server

Oracle WebLogic Server 12c: Administration I

Oracle Oracle Identity Manager 11g

SSL Configuration Oracle Banking Liquidity Management Release [April] [2017]

Getting Started with the Deployment Console and Deploying the Clients Per PXE Network Booting using their MAC address. Quick Guide

SAS Event Stream Processing 4.3: Visualizing Event Streams with Streamviewer

Upgrading an ObserveIT One-Click Installation

Processing Big Data with Hadoop in Azure HDInsight

Fischer International Identity Fischer Identity Suite 4.2

Getting Started with ESX Server 3i Installable Update 2 and later for ESX Server 3i version 3.5 Installable and VirtualCenter 2.5

Lab 2: Setting up secure access

RSA Identity Governance and Lifecycle Connector Data Sheet for Oracle Internet Directory

Contents. Upgrading Contents 2

Selectively Cloning Courses in Moodle

Hitachi ID Systems Inc Identity Manager 8.2.6

SAML with ADFS Setup Guide

Accessing clusters 2. Accessing Clusters. Date of Publish:

OAM 2FA Value-Added Module (VAM) Deployment Guide

Administering WebLogic Server on Java Cloud Service I Ed 1 Coming Soon

RSA Identity Governance and Lifecycle Connector Data Sheet for OpenLDAP

About This Document 3. Overview 3. System Requirements 3. Installation & Setup 4

Oracle Insurance Rules Palette

Upgrading Big Data Management to Version Update 2 for Hortonworks HDP

Azure 209x Practical Exercises Overview

Performing an ObserveIT Upgrade Using the Interactive Installer

Hands-On Lab. Windows Azure Virtual Machine Roles. Lab version: Last updated: 12/14/2010. Page 1

Cisco Unified Serviceability

DOCUMENT DESCRIPTION...

Perceptive TransForm E-Forms Manager 8.x. Installation and Configuration Guide March 1, 2012

Oracle WebLogic Server 11g: Administration Essentials

Contents Introduction... 5 Configuring Single Sign-On... 7 Configuring Identity Federation Using SAML 2.0 Authentication... 29

Getting Started with ESX Server 3i Embedded ESX Server 3i version 3.5 Embedded and VirtualCenter 2.5

JBoss Portal Quickstart User Guide. Release 2.6.6

BUILD AND DEPLOY SOA PROJECTS FROM DEVELOPER CLOUD SERVICE TO ORACLE SOA CLOUD SERVICE

HP Enterprise Integration Module for SAP Solution Manager

SAS Event Stream Processing 5.2: Visualizing Event Streams with Streamviewer

Enabling Microsoft Outlook Calendar Notifications for Meetings Scheduled from the Cisco Unified MeetingPlace End-User Web Interface

Oracle Access Manager Configuration Guide

SUREedge DR Installation Guide for Windows Hyper-V

SSL or TLS Configuration for Tomcat Oracle FLEXCUBE Universal Banking Release [December] [2016]

VII. Corente Services SSL Client

NetApp SANtricity Plug-in for Oracle Enterprise Manager 3.1

Load Balancing Web Servers with OWASP Top 10 WAF in Azure

Gateway P6 EPPM Data Migration Guide

Director and Certificate Authority Issuance

Course: JBoss Training: JBoss AS 7 and JBoss EAP 6 Administration and Clustering Training

VIRTUALIZATION MANAGER ENTERPRISE EDITION GETTING STARTED GUIDE

Installing Oracle WebCenter Sites on Oracle Java Cloud Service

Symantec Data Center Security Installation Guide. Version 6.5

User Inputs for Installation

Student Lab Manual MS101.1x: Microsoft 365 Security Management

Managing Load Plans in OTBI Enterprise for HCM Cloud Service

Configuring SSL for EPM /4 Products (Cont )

Setting Up Resources in VMware Identity Manager (SaaS) Modified 15 SEP 2017 VMware Identity Manager

SafeNet KMIP and Google Drive Integration Guide

VMware AirWatch Remote Management Guide Installing, configuring, and using the Remote Management Service

Server Settings. Server Administration CHAPTER

Oracle Enterprise Manager 11g Ops Center 2.5 Hands-on Lab

Contents Configuring P6 and P6 Professional Cloud Connect... 5 Creating the WebLogic Environment for P6... 7

Installing and Configuring VMware Identity Manager Connector (Windows) OCT 2018 VMware Identity Manager VMware Identity Manager 3.

Installation Manual Oracle FLEXCUBE Corporate Lending [April] [2016] Part No. E

Configuring IBM Rational Synergy to use HTTPS Protocol

Oracle Application Express: Administration 1-2

DEPLOYING ORACLE ENTERPRISE MANAGER 12C IN A COMPLEX NETWORKING ENVIRONMENT Telstra Corporation Limited. All rights reserved

Comodo Next Generation Security Information and Event Management Software Version 1.4

MYOB Advanced Business

Vendor: IBM. Exam Code: Exam Name: IBM FileNet P8 V5.1. Version: Demo

Installing and Configuring vcloud Connector

Oracle Communications Billing and Revenue Management

Unified CCX Administration Web Interface

Contents Prerequisites... 5 Installing Contract Management Web Services... 11

Oracle Database Express Edition

PKI Cert Creation via Good Control: Reference Implementation

VIRTUAL GPU LICENSE SERVER VERSION , , AND 5.1.0

Contents Configuring P Creating the WebLogic Environment for P6... 7

Perceptive TransForm E-Forms Manager

MARWATCH INSTALLATION AND UPGRADE GUIDE

C O N F IGURIN G EN HA N C ED SEC U RITY O PTIONS F O R REMOTE C O N TROL

Workspace ONE UEM Integration with RSA PKI. VMware Workspace ONE UEM 1810

VMWARE HORIZON CLOUD WITH VMWARE IDENTITY MANAGER QUICK START GUIDE WHITE PAPER MARCH 2018

Live Data Connection to SAP Universes

Polycom RealPresence Resource Manager System

Deploying VMware Identity Manager in the DMZ. JULY 2018 VMware Identity Manager 3.2

Installing Design Room ONE

DEPLOYMENT GUIDE Version 1.0. Deploying F5 with Oracle Fusion Middleware WebCenter 11gR1

Oracle SOA Suite 12c Install & Configure Activity Guide 1

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

Managing GSS Devices from the GUI

Transcription:

Deploy In-Memory Parallel Graph Analytics (PGX) to Oracle Java Cloud Service (JCS) Overview This document provides detailed steps required to deploy PGX to Java Cloud Service Instance. This exercise is based on Oracle Spatial and Graph Property Graph 12.2.0.1; steps may vary if you are using another database version. The following tasks are covered: Create an Oracle Java Cloud Service (JCS) instance Download and Deploy the PGX onto the above JCS instance Download and install the certificate of the HTTPS/SSL based server Connect to the PGX server using SSL Run graph analytics against the remote PGX server Before You Get Started Become familiar with JCS, Oracle Spatial and Graph, as well as Oracle Spatial and Graph Property Graph capabilities JCS Help Center (https://docs.oracle.com/en/cloud/paas/java-cloud/index.html) Oracle Spatial and Graph (http://www.oracle.com/technetwork/database/options/spatialandgraph/overview /index.html ) Oracle Spatial and Graph Property Graph capabilities (https://docs.oracle.com/database/122/nav/spatial-and-graph.htm ) Obtain an Oracle Cloud subscription or trial account including Java Cloud Service (JCS) Available at http://cloud.oracle.com

Create an Oracle Java Cloud Service (JCS) instance Sign in to your Oracle Cloud account With your account welcome email handy, navigate to at https://cloud.oracle.com/ Select the Data Center listed in your welcome email and click My Services Enter the Identity Domain listed in your welcome email and continue Enter your username and password listed in your welcome email and sign in If this is your first time signing in, follow the instructions to change your password You will be taken to your Dashboard listing your available services: Click the Action Menu for Java and select Open Service Console. If you do not see the Java in Dashboard, click in Customize Dashboard and set Java to show. Click Create Service > Java Cloud Service

Service step: Provide a Service Name and optional Service Description Select Oracle Java Cloud Service as Service Level, 12.2.1.2 as Software Release, Enterprise Edition as Software Edition Click Next

Create Server details steps: Under WebLogic Configuration Select a Compute Shape, here we select the lowest one for this document purpose For SSH Public Key, click Edit and then Browse to select the Public Key you created earlier or you can create one by select Create a New key For this exercise, we can leave cluster size as 1 Under WebLogic Access, provide a password for the weblogic user (i.e. admin user) Expand Advanced Settings Check the option to Enable access to Administrative Consoles Leave Domain Partitions as 0 Optionally uncheck the option to Deploy Sample Application Under Database Configuration For Name, select your DBCS instance from the pull-down menu For Administrator Username, enter sys For password, enter the administrator password you chose when creating your DBCS instance Under Load Balancer, leave response as no Under Backup and Recovery For Backup Destination, select Both Cloud Storage and Local Storage Enter a Cloud Storage Container name as we did when creating DBCS instance, for example: https://uspm020.storage.oraclecloud.com/v1/storage-uspm020/gdbc2 Enter your cloud account Username and Password Check the box to Create Cloud Storage Container if this is a new container

Click Next Confirm step Observe conformation of backup container creation If you checked the create new container box Verify other settings Click Create

It may take 20 to 30 minutes to create the instance; it will send notice to the mail box that you entered. To monitor progress, click the refresh button (circular arrow button to the right of the As of date-time) Once the service has been created, click on the service name to view details Observe details and note the Public IP of our JCS instance

(Optional) Enable 7002 port to be allowed to access WebLogic console if you didn t select this when you create the service. Click the button to the right of your JCS name and select Open WebLogic Server Console

You should see the WebLogic Server Console log in page.

Download and Deploy PGX to JCS instance Download the Oracle Big Data Spatial and Graph with this link: https://support.oracle.com/epmos/faces/patchdetail?patchid=27118297&requestid= 21722011 Unzip the file and locate the pgx war file, pgx-webapp-wls.war, under folder: md/property_graph/pgx/server/ In your browser Open WebLogic Server Console log in page Log in with the user weblogic and the password you defined when creating the instance. At the top left, click the button Lock & Edit On the left under Domain Structure, click Deployments In the middle under Deployments, click Install Above the Path textbox, click the link to Upload your file(s)

Next to Deployment Archive, click Browse and open pgx-webapp-<version>-wls.war which you downloaded earlier Click Next and wait for the upload to complete. Upload % complete is displayed on the lower left corner of your browser When complete you will see a message indicating upload successful.

Click Next Under Choose installation type and scope, leave the default selection ( Install this deployment as an application ) Click Next Under Servers check the JCS1_dom_adminserver, you can also use the clusters and check all servers in the cluster Click Next Under General, leave the name as it is Click Next Under Additional Configuration leave default ( Yes, take me to the deployment's configuration screen. ) Click Finish At top left, click button Activate Changes In the middle under Settings for pgx-webapp-name, click the tab Control Check the box next to pgx-webapp-name Click on the menu Start and select Servicing all requests

Click Yes when prompted to confirm You should now see pgx state is Active Congratulation! The PGX server is now deployed to Java Cloud Service and ready to be used with your PGX client instance for development.

Connect to the PGX server using HTTPS/SSL Download the server side certificate Simply used Firefox, connected to the SSL-based endpoint, and exported the certificate. You may refer to the following screenshot to download the pgx server side self-signed certification, note the host name, you will need to add this to your client hosts file. Add the server side certificate to your client* key store Create an empty keystore The following example command creates a keystore.jks. It will ask a few questions along the way but those are very straightforward. You definitely want to use a much stronger password than "changeit". keytool -genkey -keyalg RSA -alias selfsigned -keystore keystore.jks -storepass changeit -validity 360 -keysize 2048 Import the server side certificate to the above keystore keytool -import -trustcacerts -alias DemoCertFor_JCS1_domain -file <YOUR_CERTIFICATE_FILE_HERE> -keystore keystore.jks Specify the keystore for your client

For example, if you are using the built-in Groovy, you can add the following to the JAVA_OPTIONS setting in gremlin-opg-rdbms.sh. -Djavax.net.ssl.trustStore=/home/oracle/keystore.jks -Djavax.net.ssl.trustStorePassword=changeit Or run below scripts with your console export JAVA_OPTIONS="$JAVA_OPTIONS -Djavax.net.ssl.trustStore=/home/oracle/jcs_final/keysto re.jks -Djavax.net.ssl.trustStorePassword=changeit" Configure the client hosts file for the connection Because the self signed certificate uses host name instead of IP address, user needs to modify the client side hosts file to translate the specified host name to an IP address, you can follow the below steps to complete this operation 1, Login to the client machine 2, Open the /etc/hosts file (assume client system is Linux based) 3, Add one line like below to the end of the file and save the change <YOUR_IP_ADDRESS> <YOUT_HOST_NAME> You may refer to another post for this topic: https://blogs.oracle.com/oraclespatial/four-quick-steps-to-use-a-https-ssl-based-pgx-servi ce-endpoint Now it is time to test the secure connection to the PGX server from your client. cd $ORACLE_HOME/md/property_graph/dal/groovy sh./gremlin-opg-rdbms.sh cfg =GraphConfigBuilder.forPropertyGraphRdbms().setJdbcUrl("jdbc:o racle:thin:@(description=(address=(host=your_client_ip)(port=1 521)(PROTOCOL=tcp))(CONNECT_DATA=(SERVICE_NAME=PDB1.uspm020.or aclecloud.internal)))").setusername("scott").setpassword("<you R_PASSWORD_HERE>").setName("connections").setMaxNumConnections (8).setLoadEdgeLabel(false).addVertexProperty("name",PropertyT ype.string, "default_name").addedgeproperty("cost",propertytype.double, "1000000").build(); opg = OraclePropertyGraph.getInstance(cfg); opg.clearrepository(); // start from scratch opgdl=oraclepropertygraphdataloader.getinstance(); vfile="../../data/connections.opv" //vertex flat file efile="../../data/connections.ope" //edge flat file opgdl.loaddata(opg, vfile, efile, 2,10000, true, null); session=pgx.createsession("https://your_host_name:port/pgx", "session-id-1231");

opg-nosql> analyst=session.createanalyst(); opg-nosql> pgxgraph = session.readgraphwithproperties(opg.getconfig(),true); //count triangles analyst.counttriangles(pgxgraph, true); //pgql pgxresultset = pgxgraph.querypgql("select n.company,m WHERE (n WITH company='koch Industries')->(m)->(n), n!=m") pgxresultset.print(10); +------------------------------------+ n m +------------------------------------+ PgxVertex[ID=2] PgxVertex[ID=1] PgxVertex[ID=3] PgxVertex[ID=1] PgxVertex[ID=6] PgxVertex[ID=1] PgxVertex[ID=7] PgxVertex[ID=1] PgxVertex[ID=8] PgxVertex[ID=1] PgxVertex[ID=9] PgxVertex[ID=1] PgxVertex[ID=10] PgxVertex[ID=1] PgxVertex[ID=11] PgxVertex[ID=1] PgxVertex[ID=12] PgxVertex[ID=1] PgxVertex[ID=19] PgxVertex[ID=1] *A PGX client could be any machine with the database (12.2 or above) installed.