createinstance

API Name

createinstance

Description

Creates the EnterpriseOne instances. For example, HTML, RTE, AIS, ENTERPRISE, and BSSV Servers.

REST Methods

POST

Precondition

Agent must be running.

For Oradb, Oracle Database should be up and running.

Input Params

instanceName, targetType, agentHostName, jdeHome, wlsServerName, httpPort, componentName, InstallPath, and pathCode.

Sample Request

Create Enterprise Server JSON Request

{"instanceName":"ent778","installPath":"/home/ent778","agentHostName":"jdesma.example.com","targetType":"entserver","jdeHome":"/home/skaja/jde_Agent/SCFHA", "componentName":"9.2.1.0.Release.ES.Linux_06-22-2016_10_21.jar","appComponentName":"E1_APP_9.2.0.5_05-20-2016_01_07.jar","pathCodeDV":"true","pathCodePS":"false","pathCodePY":"false","pathCodePD":"false"}

Create HTML Instance

{"instanceName":"HTML_8890","agentHostName":"jdesmc.example.com","targetType":"webserver","jdeHome":"/slot/oracle/jde_agent/SCFHA","componentName":"E1_HTMLServer_9.2.1.0_06-22-2016_01_10.jar","wlsServerName":"Testapi","httpPort":"5438"}

Sample Request

Create OradbComponent JSON Request

Note: This example is supported only for Oracle DB on Linux platform.

{"instanceName":"ora01","agentHostName":"jdedb.example.com","targetType": "oradb","jdeHome":"/u01/jde_home_1/SCFHA"componentName":"E1_ORACLEDB_9.2.0.5_05-20-2016_01_07.jar", "oradbInstance": { "oraDBHost":"localhost","oraDBPort":"1521","oraDBSid":"ORCL","oraDBPass":"oracle123","oraDBJdePass":"test123", "oraDBInstallDir": "/u01/test_v3","oraDBTableDir":"/u01/ data/table","oraDBIndexDir": "/u01/data/index","oraSHARED":true,"oraADF":true,"oraOVR":true, "oradbSchema":{"oraPROD":false, "oraPRIST":rue, "oraCRP":false, "oraDEV":false }, "oradbDemoSchema":{"oraPRODDEMO":false, "oraPRISTDEMO":true, "oraCRPDEMO":false, "oraDEVDEMO":false } } }

Sample Request

Create Web Component JSON Request

{"instanceName":"EA_JS_8080","agentHostName": "jdesma.example.com","targetType":"webserver","jdeHome": "/slot/oracle/jde_agent/SCFHA","componentName":"E1_HTML Server 9.2.0.0 08-10-015_07_22.jar","wlsServerName":"AS_JS_8080","httpPort":"8080"} https://jdesmc.example.com:8998/manage/mgmtrestservice/createinstance

Return

HTTP status CREATED code is returned.

Sample Response

Exception

Throws an exception if anything prevents the instance from being created successfully.