Hitachi

uCosminexus Service Platform Setup and Operation Guide


A.1 Change procedure

Organization of this subsection

(1) Changing the file attributes under /opt/Cosminexus/CSC directory

Change the file attributes under /opt/Cosminexus/CSC directory, to administrator owner and group.

(Example)

chown -R user1 /opt/Cosminexus/CSC

chgrp -R group1 /opt/Cosminexus/CSC

(2) Changing the file attributes under repository root

See /opt/Cosminexus/CSC/config/manager/cscmng.properties and change the file attributes as follows:

If a directory other than /opt/Cosminexus/CSC/repository is specified in repository root (cscmng.repository.root)

Change the file attributes under repository root to administrator owner and group.

(Example) When repository root is /home/user1/repository

chown -R user1 /home/user1/repository

chgrp -R group1 /home/user1/repository

(3) Changing the file attributes under log directory

See /opt/Cosminexus/CSC/config/manager/cscmng.properties and, change the file attributes as follows:

If a directory other than /opt/Cosminexus/CSC/log/manager is specified in log directory (cscmng.log.dir)

Change file attributes under log directory to administrator owner and group.

(Example) When log directory is /home/user1/log

chown -R user1 /home/user1/log

chgrp -R group1 /home/user1/log

(4) Changing the file attributes under response message output directory

See /opt/Cosminexus/CSC/config/manager/cscmng.properties and, change the file attributes as follows:

If a value is specified in response message output directory (cscmng.pireexec.response.dir)

Change file attributes under response message output directory to administrator owner and group.

(Example) When /home/user1/response is specified in response message output directory

chown -R user1 /home/user1/response

chgrp -R group1 /home/user1/response

(5) Changing the file attributes under System Administrator information directory

See HCSC server setup information with the command cscutil and, change the file attributes as follows:

If hcscserver-data-filepath property is specified

Change the file attributes under System Administrator information directory to administrator owner and group.

(Example) When /home/user1/cscsys is specified in System Administrator information directory

chown -R user1 /home/user1/cscsys

chgrp -R group1 /home/user1/cscsys

(6) Changing file attributes of SQL script file

See HCSC server setup information with the command cscutil and, change the file attributes as follows:

If sql-scriptfilename property is specified

Change SQL script file attributes to administrator owner and group.

(Example) When /home/user1/sqlsetup is specified in SQL script file

chown user1 /home/user1/sqlsetup

chgrp group1 /home/user1/sqlsetup

(7) Changing the file attributes of SOAP Fault action definition file

See HCSC server runtime information with the command cscsvconfig -operation get and, change the file attributes as follows:

If soapfault-targetnamespace-filepath property is specified

Change the SOAP Fault action definition file attributes to administrator owner and group.

(Example) When /home/user1/soapfaultname is specified in SOAP Fault action definition file

chown user1 /home/user1/soapfaultname

chgrp group1 /home/user1/soapfaultname

(8) Changing the file attributes of the user message trace

See HCSC server runtime information with the command cscsvconfig -operation get and, change the file attributes as follows:

If telegramtrace-filepath property is specified

Change the file attributes under user message trace output destination directory, to administrator owner and group.

(Example) When /home/user1/telegramtracefile is specified in user message trace output destination path

chown -R user1 /home/user1/telegramtracefile

chgrp -R group1 /home/user1/telegramtracefile

(9) Changing the file attributes under method trace output destination directory

See HCSC server runtime information with the command cscsvconfig -operation get and, change the file attributes as follows:

If methodtrace-filepath property is specified

Change the file attributes under method trace output destination directory to administrator owner and group.

(Example) When /home/user1/methodtracefile is specified in method trace output destination path

chown -R user1 /home/user1/methodtracefile

chgrp -R group1 /home/user1/methodtracefile

(10) Changing the file attributes under request trace output destination directory

See HCSC server runtime information with the command cscsvconfig -operation get, and, change the file attributes as follows:

If requesttrace-filepath property is specified

Change the file attributes under request trace output destination directory to administrator owner and group.

(Example) When /home/user1/requesttracefile is specified in request trace output destination path

chown -R user1 /home/user1/requesttracefile

chgrp -R group1 /home/user1/requesttracefile

(11) Changing the file attributes under work folder root

See HCSC server runtime information with the command, cscsvconfig -operation get, and, change the file attributes as follows:

If work-folder property is specified

Change the file attributes under work folder root to administrator owner and group.

(Example) If /home/user1/workfolder is specified in the absolute path of work folder root

chown -R user1 /home/user1/workfolder

chgrp -R group1 /home/user1/workfolder

(12) Changing the file attributes under common folder

See HCSC server runtime information with the command, cscsvconfig -operation get and, change the file attributes as follows:

common-folder-<common folder definition name> property is specified

Change the file attributes under common folder defined in common folder definition name to administrator owner and group.

(Example) When /home/user1/commonfolder is specified in the absolute path of common folder

chown -R user1 /home/user1/commonfolder

chgrp -R group1 /home/user1/commonfolder

(13) Changing file attributes under the directory specified in environment variable CSCMNG_HOME

If multiple environments are created (environment variable CSCMNG_HOME is specified) on 1 machine, change the file attributes under the directory specified in CSCMNG_HOME, to administrator owner and group.

(Example) If /home/user1/cscmng1 is specified in environment variable CSCMNG_HOME

chown -R user1 /home/user1/cscmng1

chgrp -R group1 /home/user1/cscmng1

(14) Changing the file attributes under the directory specified in environment variable CSCFTP_CMD_LOG

If output destination of log at the time of executing operating command is specified (environment variable CSCFTP_CMD_LOG is specified), change the file attributes under the directory specified in CSCFTP_CMD_LOG, to administrator owner and group.

(Example) If /home/user1/ftpcmdlog1 is specified in environment variable CSCFTP_CMD_LOG

chown -R user1 /home/user1/ftpcmdlog1

chgrp -R group1 /home/user1/ftpcmdlog1

(15) Changing the attributes of files in the directory that is set for common-uoc-prop-path in the HCSC runtime definition

If the component-common UOC property file storage directory has been set (for common-uoc-prop-path in the HCSC runtime definition), change the owner and group attributes of the files in that directory to the administrator's owner and group names.

(16) Changing the attributes of JAR files that include classes used by component-common UOCs

Change the owner and group attributes of the JAR files that include classes to be loaded into component-common UOCs to the administrator's owner and group names.