Topic
3 replies Latest Post - ‏2013-01-17T09:54:08Z by SystemAdmin
SystemAdmin
SystemAdmin
23 Posts
ACCEPTED ANSWER

Pinned topic ICCT setup not successful

‏2013-01-15T14:30:51Z |
Hi,

just downloaded and started the ICCT vm.

Created a virtual disk with 100 GB space (/dev/sdb) and created an empty linux partition (/dev/sdb1)

Then ran the setup:


cd /opt/rainmaker.app ./setup.sh /dev/sdb1 -clean


This was the output:


mkdir: cannot create directory `/drouter
': File exists Created the empty /drouter directory mke2fs 1.41.1 (01-Sep-2008) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 6553600 inodes, 26214055 blocks 1310702 blocks (5.00%) reserved 

for the 

super user First data block=0 Maximum filesystem blocks=0 800 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872   Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done   This filesystem will be automatically checked every 34 mounts or 180 days, whichever comes first.  Use tune2fs -c or -i to override. Mounted /drouter over $1 Added auto-mount of drouter to the fstab Setup auto-start of ICON at system boot time CWPZT0600I: Command resolve was successful [info] Creating directory /drouter/ramdisk2/mnt/raid-volume/raid0/.zero... [info] Creating directory /drouter/ramdisk2/mnt/raid-volume/raid0/logs... [info] Creating directory /drouter/ramdisk2/mnt/raid-volume/raid0/databases... [info] Creating directory /drouter/ramdisk2/mnt/raid-volume/raid0/image... [info] Creating directory /drouter/ramdisk2/mnt/raid-volume/raid0/templates... [info] Creating directory /drouter/ramdisk2/mnt/raid-volume/raid0/tmp... [info] Creating directory /drouter/ramdisk2/mnt/raid-volume/raid0/config... [info] Creating directory /drouter/ramdisk2/mnt/raid-volume/raid0/shared... [info] secretKeyFile /drouter/ramdisk2/mnt/raid-volume/raid0/shared/config/security-secretkey.config [info] Creating secretKey config [info] Updating 

private secret key file [info] Initializing Mirage database and repository Created Table: create table IMAGE_ID_GEN_TABLE(COUNT bigInt, primary key (COUNT)) Created Table: create table IMAGE_TABLE( IMAGEID varchar(32),  OWNER varchar(32) NOT NULL,  PLATFORM varchar(16) NOT NULL,  NAME varchar(128) NOT NULL,  DESCRIPTION varchar(256),  primary key (IMAGEID)) Finished image Created Table: create table VERSION_TABLE( IMAGEID varchar(32),  VERSIONNUMBER int,  COMMITTER varchar(32) NOT NULL, CREATED timestamp NOT NULL, METHOD varchar(32) NOT NULL, SIZE bigint NOT NULL, SERIAL varchar(128), COMMENT varchar(256), STATUS varchar(32) NOT NULL, IMAGE_MFST_VERSION int, LEASE_NAME varchar(64),  primary key (IMAGEID, VERSIONNUMBER),  foreign key (IMAGEID) references IMAGE_TABLE(IMAGEID)  ON DELETE CASCADE) Finished version Created Table: create table IMAGEALIAS_TABLE( IMAGEID varchar(32),  VERSIONNUMBER 

int NOT NULL,  primary key (IMAGEID),  foreign key(IMAGEID, VERSIONNUMBER) references VERSION_TABLE(IMAGEID, VERSIONNUMBER)  ON DELETE CASCADE) Finished alias Created Table: create table DERIVATION_TABLE( IMAGEID varchar(32),  VERSIONNUMBER int,  DERIVEDFROMIMAGE varchar(32) NOT NULL,  DERIVEDFROMVERSIONNUMBER 

int NOT NULL,  primary key (IMAGEID, VERSIONNUMBER),  foreign key (IMAGEID, VERSIONNUMBER) references VERSION_TABLE(IMAGEID, VERSIONNUMBER) ON DELETE CASCADE,  foreign key (DERIVEDFROMIMAGE, DERIVEDFROMVERSIONNUMBER) references VERSION_TABLE(IMAGEID, VERSIONNUMBER)  ON DELETE CASCADE) Finished derivation Created Table: create table PERMISSIONS_TABLE( IMAGEID varchar(32),  GROUPID varchar(32),  PERMISSION varchar(32),  primary key (IMAGEID, GROUPID, PERMISSION),  foreign key (IMAGEID) references IMAGE_TABLE(IMAGEID)  ON DELETE CASCADE) Finished permissions table Created Table: create table DISK_TABLE( DISKID varchar(128),  IMAGEID varchar(32),  VERSIONNUMBER int,  PATH varchar(512) NOT NULL,  FORMAT varchar(16) NOT NULL,  SIZE bigint NOT NULL,  primary key (IMAGEID, VERSIONNUMBER, DISKID),  foreign key (IMAGEID, VERSIONNUMBER) references VERSION_TABLE(IMAGEID, VERSIONNUMBER)  ON DELETE CASCADE) Finished disk table Created Table: create table PARTITION_TABLE( IMAGEID varchar(32),  VERSIONNUMBER int,  DISKID varchar(128),  ARCHIVEID varchar(128),  NUMBER int,  TYPE int,  FSTYPE int,  SIZE bigint,  LABEL varchar(20),  UUID varchar(40),  MOUNTPOINT varchar(512),  primary key (IMAGEID, VERSIONNUMBER, DISKID, NUMBER), foreign key (IMAGEID, VERSIONNUMBER, DISKID) references DISK_TABLE(IMAGEID, VERSIONNUMBER, DISKID)  ON DELETE CASCADE) finished partition Created Table: create table ADDITIONALFILES_TABLE( IMAGEID varchar(32),  VERSIONNUMBER int,  FILENAME varchar(512),  SIZE bigint,  FILEID varchar(128),  primary key(IMAGEID, VERSIONNUMBER, FILENAME),  foreign key(IMAGEID, VERSIONNUMBER) references VERSION_TABLE(IMAGEID, VERSIONNUMBER)  ON DELETE CASCADE) finished additionalfiles Created Table: create table ATTRIBUTES_TABLE( IMAGEID varchar(32),  VERSIONNUMBER int,  ATTRNAME varchar(64),  ATTRVALUE varchar(64) NOT NULL,  primary key(IMAGEID, VERSIONNUMBER, ATTRNAME),  foreign key(IMAGEID) references IMAGE_TABLE(IMAGEID)  ON DELETE CASCADE) finished attributes Command succeeded Command Parameter: /opt/rainmaker.app/private/expanded/ibm/mirage.binaries-2010.01.29-2233/bin/mirage/bin/mg Command Parameter: init Command Parameter: --store-type Command Parameter: slfile Command Parameter: /drouter/ramdisk2/mnt/raid-volume/raid0/image/rainmaker-images COMMAND:  /opt/rainmaker.app/private/expanded/ibm/mirage.binaries-2010.01.29-2233/bin/mirage/bin/mg init --store-type slfile /drouter/ramdisk2/mnt/raid-volume/raid0/image/rainmaker-images Command succeeded [info] Retrieving database configuration 

for 
'rainmaker-db'... [info] The selected database vendor is Apache Derby. [info] The target version is 1.1.1.0. [info] The current version is 0.0.0.0 (setup has not been run). [info] The application will be upgraded from version 0.0.0.0 to 1.1.1.0. [info] Searching 

for SQL files in rainmaker.app and its dependencies... [info] Parsing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.cloud-1.1.1.0/sql/derby/create-1.0.0.0.sql... [info] Finished executing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.cloud-1.1.1.0/sql/derby/create-1.0.0.0.sql. [info] Parsing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.users-1.1.1.0/sql/derby/create-1.0.0.0.sql... [info] Finished executing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.users-1.1.1.0/sql/derby/create-1.0.0.0.sql. [info] Parsing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.scripts-1.1.1.0/sql/derby/create-1.0.0.0.sql... [info] Finished executing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.scripts-1.1.1.0/sql/derby/create-1.0.0.0.sql. [info] Parsing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.templates-1.1.1.0/sql/derby/create-1.0.0.0.sql... [info] Finished executing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.templates-1.1.1.0/sql/derby/create-1.0.0.0.sql. [info] Parsing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.patterns-1.1.1.0/sql/derby/create-1.0.0.0.sql... [info] Finished executing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.patterns-1.1.1.0/sql/derby/create-1.0.0.0.sql. [info] Parsing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.instances-1.1.1.0/sql/derby/create-1.0.0.0.sql... [info] Finished executing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.instances-1.1.1.0/sql/derby/create-1.0.0.0.sql. [info] Parsing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.acl-1.1.1.0/sql/derby/create-1.0.0.0.sql... [info] Finished executing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.acl-1.1.1.0/sql/derby/create-1.0.0.0.sql. [info] Parsing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.backup-1.1.1.0/sql/derby/create-1.0.0.0.sql... [info] Finished executing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.backup-1.1.1.0/sql/derby/create-1.0.0.0.sql. [info] Parsing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.licensing-1.1.1.0/sql/derby/create-1.0.0.0.sql... [info] Finished executing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.licensing-1.1.1.0/sql/derby/create-1.0.0.0.sql. [info] Parsing file /opt/rainmaker.app/private/expanded/ibm/icn.setup-1.0.0.0/sql/derby/create-1.0.0.0.sql... [info] Finished executing file /opt/rainmaker.app/private/expanded/ibm/icn.setup-1.0.0.0/sql/derby/create-1.0.0.0.sql. [info] Parsing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.cloud-1.1.1.0/sql/derby/create-1.1.0.0.sql... [info] Finished executing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.cloud-1.1.1.0/sql/derby/create-1.1.0.0.sql. [info] Parsing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.scripts-1.1.1.0/sql/derby/create-1.1.0.0.sql... [info] Finished executing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.scripts-1.1.1.0/sql/derby/create-1.1.0.0.sql. [info] Parsing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.templates-1.1.1.0/sql/derby/create-1.1.0.0.sql... [info] Finished executing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.templates-1.1.1.0/sql/derby/create-1.1.0.0.sql. [info] Parsing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.patterns-1.1.1.0/sql/derby/create-1.1.0.0.sql... [info] Finished executing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.patterns-1.1.1.0/sql/derby/create-1.1.0.0.sql. [info] Parsing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.instances-1.1.1.0/sql/derby/create-1.1.0.0.sql... [info] Finished executing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.instances-1.1.1.0/sql/derby/create-1.1.0.0.sql. [info] Parsing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.cloud-1.1.1.0/sql/derby/create-1.1.1.0.sql... [info] Finished executing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.cloud-1.1.1.0/sql/derby/create-1.1.1.0.sql. [info] Parsing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.instances-1.1.1.0/sql/derby/create-1.1.1.0.sql... [info] Finished executing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.instances-1.1.1.0/sql/derby/create-1.1.1.0.sql. [info] Creating all-inclusive 

public group... [info] Setting 

default permissions 

for the 

public group... [info] The 

public group was created successfully. [info] Creating admin account... [info] The admin account was created successfully. [info] Creating 

default backup profile... [info] The 

default backup profile was created successfully. [info] All SQL files have been executed. [info] Apply fixes to script packages in ibm:rainmaker.cloud... [info] Executing script 1.1.0.0/upgrade.groovy... [info] Completed script 1.1.0.0/upgrade.groovy. [info] Executing script 1.1.1.0/upgrade.groovy... Ensuring all PowerVM clouds are using thick servers... Update of PowerVM clouds is complete. [info] Completed script 1.1.1.0/upgrade.groovy. [info] Finished applying fixes in ibm:rainmaker.cloud. [info] Apply fixes to script packages in ibm:rainmaker.users... [info] Executing script 1.1.0.0/upgrade.groovy... Searching 

for all appliance admin accounts in order to update their roles... User cbadmin (id: 1) is an appliance admin. Determining 

new roles 

for user cbadmin... Finished updating roles 

for user cbadmin. Finished updating roles of appliance admin accounts. [info] Completed script 1.1.0.0/upgrade.groovy. [info] Finished applying fixes in ibm:rainmaker.users. [info] Apply fixes to script packages in ibm:rainmaker.templates... [info] Executing script 1.1.0.0/upgrade.groovy... [info] Parsing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.templates-1.1.1.0/setup/1.1.0.0/update.sql... [info] Finished executing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.templates-1.1.1.0/setup/1.1.0.0/update.sql. [info] Parsing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.templates-1.1.1.0/setup/1.1.0.0/update_constraint.sql... [info] Finished executing file /opt/rainmaker.app/private/expanded/ibm/rainmaker.templates-1.1.1.0/setup/1.1.0.0/update_constraint.sql. Using thread pool size of 10 Minimal disk size is set to 2097152 Command Parameter: fuser Command Parameter: -k Command Parameter: /drouter/ramdisk2/mnt/raid-volume/raid0/image/rainmaker-images/gchome/lock COMMAND:  fuser -k /drouter/ramdisk2/mnt/raid-volume/raid0/image/rainmaker-images/gchome/lock Command failed, error code: 1 Successfully created Mirage Library instance: 2.0 Upgrading image manifests to version 2 Upgrading disk manifests to version 2 Image manifests successfully upgraded to verion 2 Disk manifests successfully upgraded to verion 2 Command Parameter: /opt/rainmaker.app/private/expanded/ibm/mirage.binaries-2010.01.29-2233/bin/mirage/bin/mg Command Parameter: upgrade Command Parameter: -R Command Parameter: file:
///drouter/ramdisk2/mnt/raid-volume/raid0/image/rainmaker-images COMMAND:  /opt/rainmaker.app/private/expanded/ibm/mirage.binaries-2010.01.29-2233/bin/mirage/bin/mg upgrade -R file:
///drouter/ramdisk2/mnt/raid-volume/raid0/image/rainmaker-images The repository is already at the latest version. [info] Completed script 1.1.0.0/upgrade.groovy. [info] Finished applying fixes in ibm:rainmaker.templates. [info] Apply fixes to script packages in ibm:rainmaker.patterns.scripts... [info] Executing script 1.1.1.0/upgrade.groovy... Starting facet upgrade 

for 1.1.1.0 All Scripts: [] [info] Completed script 1.1.1.0/upgrade.groovy. [info] Finished applying fixes in ibm:rainmaker.patterns.scripts. [info] Apply fixes to script packages in ibm:rainmaker.patterns... [info] Executing script 1.1.0.0/upgrade.groovy... Updating conceptual part definition 

for Conceptual Administrative Agent using: /opt/rainmaker.app/private/expanded/ibm/rainmaker.patterns-1.1.1.0/setup/1.1.0.0/ConceptualParts/adminAgentNodeGroup.xml Can
't find original part for: Conceptual Administrative Agent Updating conceptual part definition 

for Conceptual Custom Node using: /opt/rainmaker.app/private/expanded/ibm/rainmaker.patterns-1.1.1.0/setup/1.1.0.0/ConceptualParts/customNodeGroup.xml Can
't find original part for: Conceptual Custom Node Updating conceptual part definition 

for Conceptual Deployment Manager using: /opt/rainmaker.app/private/expanded/ibm/rainmaker.patterns-1.1.1.0/setup/1.1.0.0/ConceptualParts/dmgrNode.xml Can
't find original part for: Conceptual Deployment Manager Updating conceptual part definition 

for Conceptual IBM HTTP Server using: /opt/rainmaker.app/private/expanded/ibm/rainmaker.patterns-1.1.1.0/setup/1.1.0.0/ConceptualParts/ihsNodeGroup.xml Can
't find original part for: Conceptual IBM HTTP Server Updating conceptual part definition 

for Conceptual Job Manager using: /opt/rainmaker.app/private/expanded/ibm/rainmaker.patterns-1.1.1.0/setup/1.1.0.0/ConceptualParts/jmgrNode.xml Can
't find original part for: Conceptual Job Manager Updating conceptual part definition 

for Conceptual Standalone Node using: /opt/rainmaker.app/private/expanded/ibm/rainmaker.patterns-1.1.1.0/setup/1.1.0.0/ConceptualParts/standaloneNode.xml Can
't find original part for: Conceptual Standalone Node [info] Completed script 1.1.0.0/upgrade.groovy. [info] Finished applying fixes in ibm:rainmaker.patterns. [info] Apply fixes to script packages in ibm:rainmaker.samples... [info] Skipping version 1.0.0.0 - no upgrade script found. [info] Executing script 1.0.0.1/upgrade.groovy... My dir: /opt/rainmaker.app/private/expanded/ibm/rainmaker.samples-1.1.1.0/setup/1.0.0.1 [info] Completed script 1.0.0.1/upgrade.groovy. [info] Executing script 1.1.0.0/upgrade.groovy... Found samples script: 

null [info] Completed script 1.1.0.0/upgrade.groovy. [info] Finished applying fixes in ibm:rainmaker.samples. [info] The database server has been stopped. [info] Setup is complete. Finished setting up the ICON /drouter CWPZT0600I: Command resolve was successful CWPZC9063E: Failed to execute -> CREATE TABLE VMCreatedByOsinstall ( ID INTEGER PRIMARY KEY GENERATED ALWAYS AS IDENTITY (START WITH 9999, INCREMENT BY 1), IconVmId VARCHAR(1024), Memory INTEGER, CPUCount INTEGER, DisplayName VARCHAR(1024), IpAddress VARCHAR(50), Currentstatus VARCHAR(50), HostName VARCHAR(1024), UserName VARCHAR(1024), Password VARCHAR(1024), DatastoreID VARCHAR(1024), HypAddress VARCHAR(1024), HypUser VARCHAR(1024), HypPW VARCHAR(1024), Location VARCHAR(1024), RuntimeId  VARCHAR(1024), Created BIGINT, Updated BIGINT ) CWPZC9021E: <Local transaction: d2c247fd-7d63-4a85-bd6b-079e05ff403e> failed CWPZC9061E: An error occurred in executing sql/derby/create-1.0.0.0.sql Table/View 
'VMCREATEDBYOSINSTALL' already exists in Schema 
'APP'. CWPZT0601E: Error: Command runsql failed Finished setting up osinstall db Application started and servicing requests at http:
//localhost:8080/ https://localhost:443/ CWPZT0600I: Command start was successful Application started and servicing requests at http:
//localhost:8989/ https://localhost:444/ CWPZT0600I: Command start was successful Finished setting up and starting ICON


When opening the browser window at http://localhost:8080/ it says:


Application Error! Error Message    

null Error Status Code 403 Stack Trace  No exception


I don't know if this is related to the error:


Table/View 
'VMCREATEDBYOSINSTALL' already exists in Schema 
'APP'.


Any ideas?


http://about.me/romeokienzler
Updated on 2013-01-17T09:54:08Z at 2013-01-17T09:54:08Z by SystemAdmin
  • chrisahl
    chrisahl
    4 Posts
    ACCEPTED ANSWER

    Re: ICCT setup not successful

    ‏2013-01-15T14:55:17Z  in response to SystemAdmin
    The output you are showing does not match up with what ICCT provides. Where did you get the ICCT you are trying to use? What instructions are you trying to follow?
  • SystemAdmin
    SystemAdmin
    23 Posts
    ACCEPTED ANSWER

    Re: ICCT setup not successful

    ‏2013-01-16T10:19:15Z  in response to SystemAdmin
    Hi,

    I've used the tool provided on the following link:

    https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=swg-imagetool&S_PKG=dl&lang=en_US&cp=UTF-8
  • SystemAdmin
    SystemAdmin
    23 Posts
    ACCEPTED ANSWER

    Re: ICCT setup not successful

    ‏2013-01-17T09:54:08Z  in response to SystemAdmin
    Hi,

    just got the information from Denis Ley from the IBM Böblingen Lab:
    http://www-933.ibm.com/support/fixcentral/

    Product Group: Other SOftware

    Select: IBM SmartCloud Entry
    Version 2.4.0.2