Syntax to use -attr switch in the cli.

Hi,does anybody know the syntax to use multiple attributes after the -attr switch in the cli command?ThanksKarsten
[142 byte] By [KaPia] at [2007-11-26 13:15:49]
# 1
Use:-attr "var1=val1;var2=val2;var3=val3...."Tim
Tim.Reada at 2007-7-7 17:37:04 > top of Java-index,Administration Tools,N1 Service Provisioning System...
# 2

Ok i tried but get following error when to try to create a new vir host.

i use following command:

cr_cli -cmd hdb.h.add -u username -p password -name abctesthost-vir -tID 085205246241-1165495440527-10321-1002116352 -attr "RA_HOSTNAME=abctest;RA_PROVISIONING_IP_ADDR=192.168.20.20;RA_OWNER_DIR=/var/cr ash/home/n1sps;RA_REMOTE_PRIV_USER=gspidmgr;RA_REMOTE_PRIV_USER_HOME=/export/hom e/gspidmgr;RA_SRC_SSH_DIR=/opt/SP/SUNWn1sps/home/n1sps/.ssh; RA_DST_SSH_DIR=/var/crash/home/n1sps/.ssh;RA_INSTALLBASE=/opt/SP/SUNWn1sps; RA_CTYPE_PARAM=cprefix=/opt/SP/SUNWn1sps/N1_Service_Provisioning_System/agent;R A_INSTALL_JRE=/opt/SP/SUNWn1sps/N1_Service_Provisioning_System/common/jre;RA_PAR ENT_OWNER_DIR=/opt/SP/SUNWn1sps/home/n1sps;RA_PACKAGE_PATH=/var/tmp/spsra;RA_PAC KAGE_NAME=ccr_ra_solaris_sparc_5.2.sh;RA_REMOTE_PRIV_CMD=/usr/local/bin/sudo" -pID 010010001024-0000000000000-00001-0000000005

and get the following error:

Error with request - response layer when sending request / receiving response. (022059) com.raplix.rolloutexpress.systemmodel.hostdbx.Host; local class incompatible: stream classdesc serialVersionUID = 4240878173905530638, local class serialVersionUID = -1544620923116491043

Any idear?

Karsten

KaPia at 2007-7-7 17:37:04 > top of Java-index,Administration Tools,N1 Service Provisioning System...
# 3
This error occurs if the version of the CLI does not match the version of the MS. Please doublecheck that your CLI is configured to attach to the correct MS.
colinduplantisa at 2007-7-7 17:37:04 > top of Java-index,Administration Tools,N1 Service Provisioning System...
# 4

I found the problem also myself. Thanks. It is working now mostly. The last existing problem is the following attribute:

RA_CTYPE_PARAM=cprefix=/opt/SP/SUNWn1sps/N1_Service_Provisioning_System/agent

how i have to mask the second equal sign? I tried with Backslash and double quotes, both get a error that he does not find the attribute RA_CTYPE_PARAM.

Karsten

KaPia at 2007-7-7 17:37:04 > top of Java-index,Administration Tools,N1 Service Provisioning System...
# 5
Will you please include the full CLI command you are trying to execute?
colinduplantisa at 2007-7-7 17:37:04 > top of Java-index,Administration Tools,N1 Service Provisioning System...