2021-08-08

PCHART and PHP 7.4

I have for some time now struggled with PHP 7.4.9 and PCHART, finally this morning I made the combo work. First I started out with PCHART 2.4, I missed the little note saying "This version is not compatible with old PCHART scripts". I probably spent a calendar week trying to make my old scripts work before I started from scratch again, this time I both saw and read the little note. I downgraded PGRAPH to 2.1, still nothing worked. After some debugging I realised '$x = "" ' no longer resulted in $x becoming NULL (undefined) but an empty string, unfortunately that is how PCHART 2.1 NULLIFY/UNDEFINE variables.

But shame on me if I give up coming so far (I seldom give up).

I changed most variants of  ' =" " ' to ' = NULL' and voilà:



There were a lot of ‘ $x = “ “ ‘, and I have probably not changed all of them, but now PCHART 2.1 works for me, and I’m happy for that.

2021-07-16

IDRAC to the rescue

 Yesterday was abit hectic, while I was working on some Data Warehouse virtual servers, the database server went bananas, I had lots of server terminals up on my laptop and I shutdown one virtual server to change it's configuration, or so I thought I shutdown the physical host server, all console frames went black and I could not connect to the physical host. I then  to launch the virtual console of the IDRAC, but the connection was dropped probably due to some security policy😠 So there I was at my home without my car (a son had borrowed it for the day), 45 minutes of public transport the hottest day in the year was not very tempting. while pondring on my alternatives I saw the power ON/OFF toggle button on the IDRAC menu. What happens if I press the toggle twice? First power OFF the server and then power ON the server. That should in theory start the server, so I pushed the toggle twice and waited for 15 minutes.

Lo and Behold, the physical host were up and running and so where all virtual servers. Sometimes, very seldom I do admit, things work out exactly as they should. This was one of these rare occations,

Database server running wild

 Yesterday the hottest day so far this summer 32C, the Data Warehouse MySQL server went haywire. Conections where dropped and database tables where partially unavailable this is a very heavy used server no time for deep debugging, so I restarted MySQL and all was normal again, for a few hours, then it really went crazy, now the entire server was affected not only MySQL was uncontactable but the network as well and I could see how new MySQL daemons tried to start up every ten seconds or so. this time I noticed Bacula, ClamAV and Symantec rtvscand was very active at the same time on production prime time, this is probably not a good idea. I never seen anything like this in the twenty years The Data Warehouse been up and running. This time I restarted the database server and now it seems to be OK again.

I have asked the guys responsible for the Data Warehouse to revise the schedules for ClamAV and rtvscan. Why both these daemons are used I do not know. A poolicy of supporters and belts?

2021-05-27

Second jab

 At last, I had my second covid jab the day before Yesterday😁 After the first shot I didn't feel any side effects at all. Yesterday I was really sick but today I'm ok again. 

And I'm still working on my old Data warehouse. After all this years. I several times thought I left it behind, but no it is still there hauting me on it's 21 year of operation. I recently found two broken disks in the database raid 6. Not fun, it became  even worse when Dell told me they did not have any replacement disks for the old database server. Luckily I found a company selling refurbished disks. Later I found out Dell did have larger disks perfectly ok as replacements. The Dell representative I spoke to probably didn't know. Anyway now the old Irons are good as new.  

I'm working on reducing wallclock time for the nightly batches and eliminate different kind of errors. Right now I'm looking at posibilities of inject error correction code in the SAP data extraction engine. Normally this kind of processing is done after extracting data from Source systems, but this time it is not possible. A very clever guy has created an entire data warehouse engine inside one one ITL script. Really ingenious, but sort of closed, the extraction of data from SAP into the Data Warehouse is done in one go (actually in 25 parallel independent threads).  

2021-02-19

Mars dust buster?

 I have not seen the most obvious question about the Mars helicopter Ingenuity. Will it be used for blowing dust off Perseverance?

That would really be cool, once every now and then Ingenuity takes to the air over Perseverance and blow off the dust.  At home I start my Neato each week to clean my apartment, but for Perseverance once or twice a year would probably be sufficient. 

Update: I just found out Ingenuity is only a PoC with a very limited life expectancy, so it will not be the first dust buster on Mars😟

2021-02-08

Data Warehouse and winter

 Last week I had a call from the company they have performance problems with the Data Warehouse. It seems they want me to help them to fix the problems. While they make up their mind I’m enjoying outdoor winter activities.

After a dreadful November, December and January, no sun, slush and rain, came beautiful February. Lots of snow and proper winter temperature down to -10C. Even though the sky looks cloudy we had sun the entire Yesterday. And for the first time this year you felt the warmth of the sun, this is the best time of the year in Stockholm if you ask me.


2020-12-30

Another year

 It's been a while since I wrote a post now, this year is not so much to write home to mum about. Actually it's been a bad year for 11Dim. Not much €work, not much work at all really. Since the Covid struck business have been bad. 

I have helped the DW guys with odds and ends, and also given them a little hand replacing the DW (which seems to take some time). We also spotted a bug in the DW, a combination of options and invalid utf8 data extracting data from SAP, triggered a synchronizing problem resulting in broken jobs. It was a bit tricky to fix the bug (timing problems often are). The fix is in place for the failing job and will be implemented in full when the holidays are over. We also have a problem with a SATA disk we will replace in mid January. Otherwise nothing of interest has happen, the planned upgrade of the DW has been cancelled.

11Dim had a board meeting at Christmas eve. We summed up the year and decided we could not make plans for 2021. Axel have decided to leave the company. 

We at 11Dim wish you all a better next year.

At last please stay safe and healthy. And take the vaccine when offered!