Quantcast
Channel: IIUG Forum: IDS Forum
Viewing all 9843 articles
Browse latest View live

Re: Backup Help

$
0
0
ps -e

From: "BENJI LONG"<ruggedmouse@hotmail.com>
To: ids@iiug.org
Date: 09/13/2017 05:55 PM
Subject: Re: Backup Help [39831]
Sent by: ids-bounces@iiug.org

When I run ps, it only has two things running

bash
ps

I was expecting to see ontape??? arghhhhhh...









*******************************************************************************

To post a response via email (IIUG members only):

1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [39834]

*******************************************************************************

Re: RE: Backup Help

$
0
0
When I ran onstat -, it says Blocked: LAST_LOG_RESERVED4BACKUP

When I ran onstat -l grep C-, it gives me U---C-L




*******************************************************************************

To post a response via email (IIUG members only):

1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [39835]

*******************************************************************************

Re: RE: Backup Help

$
0
0
When I ran onstat -, it says Blocked: LAST_LOG_RESERVED4BACKUP

When I ran onstat -l grep C-, it gives me U---C-L and the "C" is RED coloured.




*******************************************************************************

To post a response via email (IIUG members only):

1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [39836]

*******************************************************************************

Re: Rename Server with Informix

$
0
0
ntchname.exe would be your friend. Check %informixdir%\bin for this, or
find it elsewhere, e.g. in a newer version.

From: "GUSTAVO ECHENIQUE"<gustavo.echenique@cemdo.com.ar>
To: ids@iiug.org
Date: 09/13/2017 01:13 AM
Subject: Rename Server with Informix [39818]
Sent by: ids-bounces@iiug.org

Dear Friends:

I need to rename a server that has Windows 2008 Server and Informix 7.31TD6

installed. It is not linked to a domain.

My question is whether you can rename the server, and the Informix instance
so
you do not have to reinstall the engine.

Thank you for your attention.









*******************************************************************************

To post a response via email (IIUG members only):

1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [39837]

*******************************************************************************

Re: Backup Help

$
0
0
ps -e shows a bunch of stuff there now.

What should I be looking for so that I can kill it? I think the logs are full.
I will go back and read up on how to get those to backup automatically after
they become full. I thought I had that set when I installed the instance.




*******************************************************************************

To post a response via email (IIUG members only):

1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [39838]

*******************************************************************************

Re: Backup Help

$
0
0
Never thought of that. I will do that if I can't work my way out of this one.
Learning a lot here, today on this issue.




*******************************************************************************

To post a response via email (IIUG members only):

1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [39839]

*******************************************************************************

Archecker logical table-level restore on 11.70.FC7

$
0
0
Greetings,

I am attempting to do a table level restore on IDS 11.70.FC7GE and passed the
logical restore options to archecker but I get the message below that I can
only do a physical restore.

The IDS documentation (Backup and Restore Guide) implies this option works
with a storage manager but does not explicitly state it will not work with
ontape archives (level-0 and logical logs). Does anyone know if table-level
logical restore is supported with ontape?

I used the "restore to CURRENT" and tried the "restore to <datetime>" options
in the schema command file but neither worked. I used the archecker command
below:
archecker -tvs -f /var/log/informix/ac_schema.txt -lphys,stage,apply

I also noted that the utility is generating a message that AC_RESTORE_FILTER
is set but I removed that parameter from the AC_CONFIG file.

Thanks,

Bob

DBG(acu_main.c :3958) Using command file logical restore options
STATUS: AC_RESTORE_FILTER is set. Must do physical restore only.
ERROR(acu_main.c :3991) You can perform a physical restore only by using
RESTORE command WITH NO LOG clause in the schema command file.
DBG(acu_main.c :3996) ACU_SetupRestoreMode( FUNCFAIL mode = 0x308 )
ERROR(acu_main.c : 194) Setting up the restore mode.
DBG(acu_main.c : 214) ACU_Init() FUNCFAIL
CRITICAL ERROR(acu_unl_tab.c: 229) Unable to initialize extraction
STATUS: archecker completed Physical Restore pid = 17674 exit code: 3
DBG Enter arc_chunk_close()
DBG Exit arc_chunk_close()

cat ac_config.online
AC_MSGPATH /var/log/informix/ac_msg.log # archecker message log
AC_SCHEMA /var/log/informix/ac_schema.txt
AC_STORAGE /maint # Directory used for temp storage
AC_VERBOSE 1 # 1 verbose messages 0 terse messages
AC_TAPEDEV /backup/inf11test_7_L0 # Actual file name desired.
AC_LTAPEDEV /logical_logs/
AC_TAPEBLOCK 32 # Block size from archive
AC_DEBUG 0 # Range 1..16




*******************************************************************************

To post a response via email (IIUG members only):

1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [39840]

*******************************************************************************

RE: Backup Help

$
0
0
When you run "onstat -l" do you see most of the logs as "U-B----" or just
"U-----"? How about the log AFTER the current log, shown by the "C"?

Have you checked that you have free space in the filesystem where you are
trying to write out the backup, /opt/informix/full_backup/mybackup_archive?

Also, if INFORMIXDIR=/opt/informix, then I would suggest putting backups on
another filesystem - just good practice.

To find the ontape unix process, run: ps -ef | grep ontape

-----Original Message-----
From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of BENJI
LONG
Sent: Wednesday, September 13, 2017 10:11 AM
To: ids@iiug.org
Subject: Re: Backup Help [39838]

ps -e shows a bunch of stuff there now.

What should I be looking for so that I can kill it? I think the logs are
full.
I will go back and read up on how to get those to backup automatically after
they become full. I thought I had that set when I installed the instance.

****************************************************************************
***





*******************************************************************************

To post a response via email (IIUG members only):

1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [39841]

*******************************************************************************

RE: Archecker logical table-level restore on 1....

$
0
0
Hey Bob,

I may be wrong, but my understanding is that if the archive was taken with
AC_BACKUP_FILTER set, e.g. to gzip or something, then you can only perform a
physical restore, and not perform any roll forward from the logical logs to
a point-in-time.

Mike

-----Original Message-----
From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of BOB
KRUSE
Sent: Wednesday, September 13, 2017 10:27 AM
To: ids@iiug.org
Subject: Archecker logical table-level restore on 11.70.FC7 [39840]

Greetings,

I am attempting to do a table level restore on IDS 11.70.FC7GE and passed
the logical restore options to archecker but I get the message below that I
can only do a physical restore.

The IDS documentation (Backup and Restore Guide) implies this option works
with a storage manager but does not explicitly state it will not work with
ontape archives (level-0 and logical logs). Does anyone know if table-level
logical restore is supported with ontape?

I used the "restore to CURRENT" and tried the "restore to <datetime>"
options in the schema command file but neither worked. I used the archecker
command
below:
archecker -tvs -f /var/log/informix/ac_schema.txt -lphys,stage,apply

I also noted that the utility is generating a message that AC_RESTORE_FILTER
is set but I removed that parameter from the AC_CONFIG file.

Thanks,

Bob

DBG(acu_main.c :3958) Using command file logical restore options
STATUS: AC_RESTORE_FILTER is set. Must do physical restore only.
ERROR(acu_main.c :3991) You can perform a physical restore only by using
RESTORE command WITH NO LOG clause in the schema command file.
DBG(acu_main.c :3996) ACU_SetupRestoreMode( FUNCFAIL mode = 0x308 )
ERROR(acu_main.c : 194) Setting up the restore mode.
DBG(acu_main.c : 214) ACU_Init() FUNCFAIL CRITICAL ERROR(acu_unl_tab.c: 229)
Unable to initialize extraction
STATUS: archecker completed Physical Restore pid = 17674 exit code: 3 DBG
Enter arc_chunk_close() DBG Exit arc_chunk_close()

cat ac_config.online
AC_MSGPATH /var/log/informix/ac_msg.log # archecker message log AC_SCHEMA
/var/log/informix/ac_schema.txt AC_STORAGE /maint # Directory used for temp
storage AC_VERBOSE 1 # 1 verbose messages 0 terse messages AC_TAPEDEV
/backup/inf11test_7_L0 # Actual file name desired.
AC_LTAPEDEV /logical_logs/
AC_TAPEBLOCK 32 # Block size from archive AC_DEBUG 0 # Range 1..16

****************************************************************************
***





*******************************************************************************

To post a response via email (IIUG members only):

1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [39842]

*******************************************************************************

RE: Archecker logical table-level restore on 1....

$
0
0
Sorry, not AC_BACKUP_FILTER - I just meant BACKUP_FILTER in the onconfig.

-----Original Message-----
From: Mike Walker [mailto:mike@advancedatatools.com]
Sent: Wednesday, September 13, 2017 10:33 AM
To: 'ids@iiug.org'
Subject: RE: Archecker logical table-level restore on 11.70.FC7 [39840]

Hey Bob,

I may be wrong, but my understanding is that if the archive was taken with
AC_BACKUP_FILTER set, e.g. to gzip or something, then you can only perform a
physical restore, and not perform any roll forward from the logical logs to
a point-in-time.

Mike

-----Original Message-----
From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of BOB
KRUSE
Sent: Wednesday, September 13, 2017 10:27 AM
To: ids@iiug.org
Subject: Archecker logical table-level restore on 11.70.FC7 [39840]

Greetings,

I am attempting to do a table level restore on IDS 11.70.FC7GE and passed
the logical restore options to archecker but I get the message below that I
can only do a physical restore.

The IDS documentation (Backup and Restore Guide) implies this option works
with a storage manager but does not explicitly state it will not work with
ontape archives (level-0 and logical logs). Does anyone know if table-level
logical restore is supported with ontape?

I used the "restore to CURRENT" and tried the "restore to <datetime>"
options in the schema command file but neither worked. I used the archecker
command
below:
archecker -tvs -f /var/log/informix/ac_schema.txt -lphys,stage,apply

I also noted that the utility is generating a message that AC_RESTORE_FILTER
is set but I removed that parameter from the AC_CONFIG file.

Thanks,

Bob

DBG(acu_main.c :3958) Using command file logical restore options
STATUS: AC_RESTORE_FILTER is set. Must do physical restore only.
ERROR(acu_main.c :3991) You can perform a physical restore only by using
RESTORE command WITH NO LOG clause in the schema command file.
DBG(acu_main.c :3996) ACU_SetupRestoreMode( FUNCFAIL mode = 0x308 )
ERROR(acu_main.c : 194) Setting up the restore mode.
DBG(acu_main.c : 214) ACU_Init() FUNCFAIL CRITICAL ERROR(acu_unl_tab.c: 229)
Unable to initialize extraction
STATUS: archecker completed Physical Restore pid = 17674 exit code: 3 DBG
Enter arc_chunk_close() DBG Exit arc_chunk_close()

cat ac_config.online
AC_MSGPATH /var/log/informix/ac_msg.log # archecker message log AC_SCHEMA
/var/log/informix/ac_schema.txt AC_STORAGE /maint # Directory used for temp
storage AC_VERBOSE 1 # 1 verbose messages 0 terse messages AC_TAPEDEV
/backup/inf11test_7_L0 # Actual file name desired.
AC_LTAPEDEV /logical_logs/
AC_TAPEBLOCK 32 # Block size from archive AC_DEBUG 0 # Range 1..16

****************************************************************************
***





*******************************************************************************

To post a response via email (IIUG members only):

1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [39843]

*******************************************************************************

Re: RE: Backup Help

$
0
0
Hi, so onstat -l gives six files. One is U---C-L and the other five are
U------

ps -ef | grep ontape gives
informix 1897 1677 0 12:24 tty1

I will see if there is any space left. I'm new at Linux so need to look up how
to do that as well...ugh




*******************************************************************************

To post a response via email (IIUG members only):

1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [39844]

*******************************************************************************

Re: Backup Help

$
0
0
I presume you want to perform logical log backup in a directory.
Set the LTAPEDEV parameter to the destination dir and check if the informix
user is able to read and write to this dir.
(as root):
chmod 770 dir
chown informix:informix dir

perform
ontape -a -d
manually and your logs should be written in this dir one by one, with a
numeric increasing extension.

onstat -l should now mark the backed up logs with a "B" flag.

The engine needs backup to be able to restore to a consistent state any time
after the last full backup.
If that is not necessary for your setup, you could skip the log backup process
and set the LTAPEDEV to /dev/null,
but that does not solve your situation now, because the engine does only throw
away the logs automatically when
this parameter is detected at startup time.
Thus, a ontape or onbar backup of logs will be needed in any case to clear
your situation.

For setting up an automatic backup, check the alarm program
(in onconfig, normally $INFORMIXDIR/etc/alarmprogram.sh)

edit the alarmprogram to react on a "log full" event by calling "ontape -a"
(or a shell script which will do that
and monitor the output, to send you a mail if it fails).

ADMINEMAIL=admin@yourdomain.xx
BACKUPLOGS=Y (Standard is N)
BACKUPCMD="/opt/informix/bin/ontape -a -d"

(or a shell script which will give your more control).

the logs should be backed up automatically now.

Pls keep in mind the management of the files is up to you (onbar has a backup
manager which keeps track on
which files are needed).
So you have to apply a logic for your full backups, and find out yourself
which logs are not needed any more.

Best regards,

Marcus Haarmann

Von: "BENJI LONG"<ruggedmouse@hotmail.com>
An: "ids"<ids@iiug.org>
Gesendet: Mittwoch, 13. September 2017 19:25:56
Betreff: Re: RE: Backup Help [39844]

Hi, so onstat -l gives six files. One is U---C-L and the other five are
U------

ps -ef | grep ontape gives
informix 1897 1677 0 12:24 tty1

I will see if there is any space left. I'm new at Linux so need to look up how
to do that as well...ugh








*******************************************************************************

To post a response via email (IIUG members only):

1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [39845]

*******************************************************************************

Re: RE: CSDK version

$
0
0
actually Iam searching for this latest version in Passport Advantage but iam
not able to file the software. Could youplease send the links to download




*******************************************************************************

To post a response via email (IIUG members only):

1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [39846]

*******************************************************************************

Re: Backup Help

$
0
0
Hi, the LTAPEDEV parameter was set to the proper place, and when I installed,
I must have given informix and group informix full permissions on that
directory.

In alarmprogram.sh, I see I had an error.
I had BACKUP_CMD = 'ontape -a -d" (single quote instead of double)
So I'm hoping that is why the logs weren't working. They went right in when I
ran the manual command you gave me.

I will now rerun my backup and hope this is all working now.

Question for you: On our production server, in alarm program.sh, they have
BACKLOGS set to N. I couldn't figure this out when we took it over. So from
what I get from your response, they must have a script that is doing the log
backups, but I cannot find it anywhere. I found a directory called scripts and
I don't see anything in there that looks like it has the word log in the
filename. I found other .sh files but nothing looks like it has the word log
in it which I would think the developer would have named it log something or
other.

Is there any usual place something like this would be that I could look, or
any way I can figure out what calls it so I can find it somehow?




*******************************************************************************

To post a response via email (IIUG members only):

1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [39847]

*******************************************************************************

RE: Backup Help

$
0
0
On your production server, confirm which script is called when a log backup
event is called - perhaps it's using something other than alarmprogram.sh.
Confirm this by checking the value of ALARMPROGRAM in the onconfig.

Also confirm that LTAPEDEV on production is NOT set to /dev/null. if it is,
then the logs are not actually being backed up anywhere.

-----Original Message-----
From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of BENJI
LONG
Sent: Wednesday, September 13, 2017 1:01 PM
To: ids@iiug.org
Subject: Re: Backup Help [39847]

Hi, the LTAPEDEV parameter was set to the proper place, and when I
installed, I must have given informix and group informix full permissions on
that directory.

In alarmprogram.sh, I see I had an error.
I had BACKUP_CMD = 'ontape -a -d" (single quote instead of double) So I'm
hoping that is why the logs weren't working. They went right in when I ran
the manual command you gave me.

I will now rerun my backup and hope this is all working now.

Question for you: On our production server, in alarm program.sh, they have
BACKLOGS set to N. I couldn't figure this out when we took it over. So from
what I get from your response, they must have a script that is doing the log
backups, but I cannot find it anywhere. I found a directory called scripts
and I don't see anything in there that looks like it has the word log in the
filename. I found other .sh files but nothing looks like it has the word log
in it which I would think the developer would have named it log something or
other.

Is there any usual place something like this would be that I could look, or
any way I can figure out what calls it so I can find it somehow?

****************************************************************************
***





*******************************************************************************

To post a response via email (IIUG members only):

1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [39848]

*******************************************************************************

Re: RE: Backup Help

$
0
0
I appreciate so much you guys sticking with this...

ALARMPROGRAM on our PROD server is set to
/opt/informix/11.50/etc/log_full.sh

That file has a line down about 5 lines which I believe does the magic.

BACKUP_CMD="ontape -a"

I know the logs are put into a folder, and there is a cronjob that runs to
clean old ones out.




*******************************************************************************

To post a response via email (IIUG members only):

1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [39849]

*******************************************************************************

Re: RE: Backup Help

$
0
0
I appreciate so much you guys sticking with this...

ALARMPROGRAM on our PROD server is set to
/opt/informix/11.50/etc/log_full.sh

That file has a line down about 5 lines which I believe does the magic.

BACKUP_CMD="ontape -a"

I know the logs are put into a folder, and there is a cronjob that runs to
clean old ones out.




*******************************************************************************

To post a response via email (IIUG members only):

1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [39850]

*******************************************************************************

Re: Backup Help

$
0
0
onmode -wf LTAPEDEV=/dev/null

From: "BENJI LONG"<ruggedmouse@hotmail.com>
To: ids@iiug.org
Date: 09/13/2017 06:17 PM
Subject: Re: Backup Help [39838]
Sent by: ids-bounces@iiug.org

ps -e shows a bunch of stuff there now.

What should I be looking for so that I can kill it? I think the logs are
full.
I will go back and read up on how to get those to backup automatically
after
they become full. I thought I had that set when I installed the instance.









*******************************************************************************

To post a response via email (IIUG members only):

1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [39851]

*******************************************************************************

Multiple DRDA setup

$
0
0
Hi Gurus,

I'm trying to test JDBC (onsoctcp) and DRDA (drsoctcp). JDBC works fine using

jdbc.url =
jdbc:informix-sqli:DATABASE=DBname;INFORMIXSERVER=Instance;SQLH_TYPE=FILE;SQLH_FILE=/opt/informix/etc/sqlhosts;

Is it possible to do the same for DRDA? I can test via testconnect40 and IBM
Datatools but it's just a single connection to a server. All i want is to have
the SQLH_FILE parameter control the connection, whateever is specified/defined
in SQLH_FILE.

I'm using IDS 11.70/12.10 + Linux OS.

Thanks in advance,
Ronald




*******************************************************************************

To post a response via email (IIUG members only):

1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [39852]

*******************************************************************************

Monitoring data throughput

$
0
0
Hi all

I'm looking for a way to monitor the data throughput a session generates. I
cannot find nothing useful among the onstat commands or the sysmaster tables.
Also the monitors of ServerStudio and Sentinel don't help with this question.

I'm particularly interested in measuring the amount of data in kilobyte/second
which were sent over the LAN from the Infomixserver to the client application,
as possible in per session resolution. It would be also helpful to determine
these data per database or per Informixserver instance.

To not falsify the results the overhead from SDS-communicaton should be
excluded.

TIA, Reinhard.




*******************************************************************************

To post a response via email (IIUG members only):

1. Address it to ids@iiug.org
2. Include the bracketed message number in the subject line: [39853]

*******************************************************************************
Viewing all 9843 articles
Browse latest View live


Latest Images