Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Mark Scranton found most sysmaster tables and views had disappeared on an IDS 12.10 engine and recreated them with buildsmi. David Williams asked about online.log and auditing. Andreas Legner cited a known defect where buildsmi, run while another session has sysmaster open, removed the SMI tables, fixed from 12.10.xC13. Mark said that was not his cause. Cause unknown.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
Mark Scranton — source: IBM Community (ConnectedCommunity.org) Informix forum
Had an interesting situation ... IDS 12.10 engine had most of the sysmaster tables/views "disappear." This impacted a number of ops, including archives, etc. Some of the tables were there, so an engine bounce didn't attempt a recreate of the sysmaster database. Of course I recreated the missing tables with "buildsmi" fine.
Anyone had this behavior though? Of course we have no scripts that ever try to manipulate sysmaster tables/views.
Thanks!
Mark Scranton
------------------------------
Mark Scranton
The Mark Scranton Group
mark@markscranton.com
------------------------------
#Informix
↪ replying to Mark Scranton
David Williams — source: IBM Community (ConnectedCommunity.org) Informix forum
Hi,
Anything in online.log to help narrow it down?
Any onaudit enabled to see what happened?
Sounds like someone did some cleanup...
------------------------------
David Williams
------------------------------
↪ replying to David Williams
Mark Scranton — source: IBM Community (ConnectedCommunity.org) Informix forum
David -
Nothing in the msg log. And there really isn't any "clean-up"/maintenance to be done since most of the structures are actually views into shared memory. Of course we query sysmaster all the time but I've never written any scripts to manipulate any of the real tables in sysmaster.
Thanks -
Mark
------------------------------
Mark Scranton
------------------------------
↪ replying to Mark Scranton
Andreas Legner — source: IBM Community (ConnectedCommunity.org) Informix forum
Might be a known problem: "buildsmi script would corrupt sysmaster (remove all SMI pseudo tables) if ran while other session has sysmaster db open"
One way to incur this: you're creating a new instance, with another instance's onconfig + sqlhosts as templates
-> oninit -ivy will, among other things, invoke buildsmi to create sysmaster db
IF, at this point, you have not properly updated your new sqlhosts file, so your INFORMIXSERVER entry in that file would still point to that other instance, you'd attempt to recreate that instance's sysmaster ... and corrupt it.
Should no longer be possible starting with 12.10.xC13.
------------------------------
Andreas Legner
------------------------------
↪ replying to Andreas Legner
Mark Scranton — source: IBM Community (ConnectedCommunity.org) Informix forum
Thanks Andreas ... not our issue but good to know. Reminds me of teaching the IDS sys admin class and one student had the same col4 for their shared memory connection as another student. One of the students would add a dbspace and wouldn't see it, but it would end up in the other students' engine. Whichever engine "came up last" created the shmem connection helper and pointed to that engine. Back then we had limited hardware, etc. and they'd use the same box, same INFORMIXDIR, etc. and therefore, the other student was using this students shmem helper file. (Yeah - "shmem helper" is odd - can't remember if it was the .infos or what ...)
For the sysmaster stuff disappearing, we'd never do an -ivy on this box as it's production plus we have FULL_DISK_INIT as we're on 12.10 so... The test/dev boxes can't even reach the prod box.
Thanks1
Mark
------------------------------
Mark Scranton
------------------------------
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.