on 05-22-2013 6:13 PM
Hi,
Tried build replication server using resource file.But failed due char set difference.
ASE server using utf-8 and for replication server iso_1.
Same problem occurred where we build rep server using rs_init interactive mode and tried add used database into replication using resource file.
Left with no clue.Please assist.
Here purpose i am using resource file is to add below parameters as we have different id servers.I didn't find option while using rs_init interactive mode.
rs.rs_start_rs_id: 17000000
rs.rs_start_db_id: 300
Is there any way i can change/increase id generation counter to add new replication server into system.
Error message:
USER ENVIRONMENT
----------------------------------------
user name: root
current directory: /apps/sybase/REP_1501_4/REP-15_0/install
character set: utf8
language: us_english
Component Directory: /apps/sybase/REP_1501_4/REP-15_0
working release directory: /apps/sybase/REP_1501_4
2013/05/22 08:13:34 END ENVIRONMENT INFORMATION
2013/05/22 08:13:34 Directory service provider: 'InterfacesDriver'.
2013/05/22 08:13:34 Using resource file
'/apps/sybase/REP_1501_4/REP-15_0/init/logs/resource.dmp'
for product attributes.
2013/05/22 08:13:34 Charset 'iso_1' is not valid.
2013/05/22 08:13:34 Exiting.
2013/05/22 08:13:34 The log file for this session is
'/apps/sybase/REP_1501_4/REP-15_0/init/logs/log0522.002'.
2013/05/22 08:13:34 Log close.
sybase@umpdb-d14.coredb.aol.com:/apps/sybase/REP_1501_4/REP-15_0/install
->vi /apps/sybase/REP_1501_4/REP-15_0/init/logs/resource.dmp
sybase@umpdb-d14.coredb.aol.com:/apps/sybase/REP_1501_4/REP-15_0/install
With regards,
Kiran Kumar
I can think of one two things that might be causing it:
1) OCS was not installed correctly - check $SYBASE/charsets....you should have a directory with iso_1
2) It is having a conflict with RS installing as utf8, but some other part of the install is iso_1 (e.g. RSSD).
Unfortunately, you didn't include your resource file....
Check:
rs.rs_charset
$LANG
....if your $LANG says iso_1, try using sybinit.charset = utf8 at top of file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jeff,
Thanks for the reply.
checked /$SYBASE/charset path iso_1 dir is found.
$LANG was set to utf8.
I encountered with same problem while trying to add database to replication system using resource file.
All i need is id for rep server should start from 170000000.
rs.rs_start_rs_id: 17000000
rs.rs_start_db_id: 300
Please resource file:
sybase@test-d14.bng.com:/apps/sybase/REP_1501_4/REP-15_0/init/logs
->cat resource.dmp
sybinit.charset: iso_1
sybinit.language: us_english
sybinit.component_directory: /apps/sybase/REP_1501_4/REP-15_0
sybinit.release_directory: /apps/sybase/ASE64_1502_6
sybinit.boot_directory: /apps/sybase/REP_1501_4
sybinit.product: rs
sqlsrv.sa_password: USE_DEFAULT
sqlsrv.sa_login: USE_DEFAULT
sqlsrv.master_device_size: USE_DEFAULT
sqlsrv.master_device_physical_name: USE_DEFAULT
sqlsrv.server_name: USE_DEFAULT
sqlsrv.new_config: USE_DEFAULT
rs.rs_operation: rs_install
rs.rs_diskp_size: 2048
rs.rs_diskp_lname: stable01
rs.rs_diskp_name: /db/devices/stable/stable01
rs.rs_rssd_sa_pass: nuwd8te8
rs.rs_rssd_sqlsrvr: test_D14A_SYB
rs.rs_rssd_embedded: no
rs.rs_erssd_name: TEST_D14A_RS_RSSD
rs.rs_pwd_encryption: yes
rs.rs_needs_repagent: yes
rs.rs_requires_ltm: no
rs.rs_idserver_name: TEST_D14A_RS
rs.rs_id_server_is_rs_server: yes
rs.do_add_ltm: no
rs.rs_name: TEST_D14A_RS
# -END_ATTRIBUTES-
With Reg/Kiran
I missed something in the first response that the resource file makes a bit clear - when you said the ASE was utf8, were you referring to the RSSD ASE (test_D14A_SYB)??? If so, that is your problem. The RSSD *must* have the same charset/sortorder as the RS... You either need to install the RS as utf8 as well or switch to the eRSSD (which is preferred anyhow - I rarely ever build RS's anymore with ASE RSSD's).
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.