Lorky`s Blog - Techno ressources and general informations for everyone !

Important

To filter the blog, please use theses tag:
General news. Website related post website. parental-control about technology. technology post.

Note

All blog links are archived here.

Hi, there is a new critical hotfix for the Dell EqualLogic available;

 

There is the resume of it;

 

The v6.0.6-H2 firmware fixes a critical issue where, in rare circumstances, an error handling routine is not properly executed. Currently, this has only been observed in VMware environments, where a VMFS datastore may experience heartbeat metadata corruption, impacting the ability to perform operations on virtual machines (VMs). However, there is a small risk that a similar issue could be observed in non-VMware environments as well.

Following best practices can help improve the resiliency of your environment and your customer environment. If you have not already done so, we strongly recommend that you adopt the guidelines articulated in the technical report titled, “Best Practices when Implementing VMware vSphere in a Dell EqualLogic PS Series SAN Environment,” which can be found at the link below:

http://en.community.dell.com/techcenter/ extras/m/white_papers/20434601.aspx

Firmware v6.0.6-H2 carries forward all the feature improvements and fixes delivered with v6.0 and the maintenance releases up through v6.0.6.

 

Thanks everyone, and happy patching !

 

 

Continue Reading...

This article is on how to get a clear status of the spam you receive on your Exchange Server

Scenario: A user call-in and told that another user from another company can’t contact him. The email got refused.

 

Task 1: Investigate to be sure it’s at our door we stop him.

-
Check the source email

  • Check inside if the answer he got was from us.
    • YES: Skip to Task 2 below
    • NO:
    • Does he use is ISP as a smarthost ?
      • YES:
      • Does it’s is smarthost that refuse to send the email ?
      • That case happen when the smarthost check RBL list to be sure he does not forward from an unsecure source. Most of the time it happen when a site got infected by a malware/virus that mass spam. In that case please check the IP listed in the email. The WAN IP would be blacklisted in RBL. The other company must then ask to be delisted if he eliminated the source of the problem. At this point it’s no longer a problem we can assist with.
      • NO:
      • Do you use an external antispam service?
        • YES:
        • Check the log on your management interface.
        • NO:
        • The DNS from the remote site is properly configured? A bad MX record from the remote DNS server could lead to a mail send error.

 

Task 2: Get to know the AntiSpam filter rules.

-          Check the source email

  • Check  the error returned.
    • If it’s an error you think it was correct to flag, then advise the user that the remote company must correct something. (He’s on RBL, he relay, he got a bad SCL because of a badly wrote email, etc…)
    • If you are unsure that it was flagged spam for a good reason, check more deeper. Skip to Task 3

-          An example in Exchange 2010;

-          

 

 

Task 3: With the rule we check, start to investigate the issue deeper.

-          Check your agent log to see the real cause of the rejection:

  • Issue the powershell command; Get-AgentLog |?{ (\$_.p1fromaddress -match "contoso.com" –or \$_.p2fromaddresses -match " contoso.com ") -and \$_.action –eq "RejectMessage"} (I suggest to redirect the output to a text file (with  > log.txt))

    • In the text file you will log like that in example;
      • Timestamp       : XXXX-XX-XX XX:XX:XX
        SessionId       : XXXXXXXXXXXXXXXX
        IPAddress       : X.X.X.X
        MessageId       :
        P1FromAddress   : test@contoso.com
        P2FromAddresses : {test@contoso.com}
        Recipients      : {test@contoso.com}
        Agent           : Sender Id Agent
        Event           : OnEndOfHeaders
        Action          : RejectMessage
        SmtpResponse    : 550 5.7.1 Missing purported responsible address
        Reason          : MissingPRA
        ReasonData      : No valid PRA
        Diagnostics     :
  • From there diagnose and change your antispam feature if you can.

 

Task 4: Reporting script.

 

Get-AntispamFilteringReport.ps1 : Get a general report for what agent block the most.

Get-AntispamSCLHistogram.ps1 : Retrieve a chart with SCL value for spam received.

Get-AntispamTopBlockedSenderDomains.ps1 : Retrive the Top Blocked Sender domains. Don’t forget it can be forged domain. The SenderID antispam feature help us there.

Get-AntispamTopBlockedSenderIPs.ps1 : Retrieve the top IP that send us spam. If you got big number there you can list the IP in a block rule in the antispam feature or block it in the router directly. To prevent a RBL check each time on the IP.

Get-AntispamTopBlockedSenders.ps1 : Retrieve the top sender.

Get-AntispamTopRBLProviders.ps1 : Retrieve what RBL block the most. Use that chart before remove a RBL. Some RBL are too strict sometime, but removing it can cause a lot of spam to actually enter. When a user call, it’s the dilemma to accept one email versus what the RBL block.

Get-AntispamTopRecipients.ps1 : Top users that receive spam.

Apply to

Exchange 2007
Exchange 2010
Exchange 2013

Continue Reading...

Issue

Error when lauching the Exchange 2013 setup. setupui.exe crash with a reference to CLR20r3

1

2

Cause

A firewall state could cause that problem. In my case a GPO setting was the problem.

3

Workaround

Desactivate the GPO or reactivate the firewall, and voila the setup should start.

Continue Reading...

Symptoms

SYSVOL empty but share existant. NETLOGON share non-existant GPO's console list all old GPO, but can't display any detail on all GPO.

Scenario

First DC (DC#1) in Windows 2003
Second DC (DC#2) in Windows 2008R2
Each are Global Catalogue.
DC#1 is old, no longer in the backup schedule. DC#2 got all FSMO's role and is the primary DC.
Problem;
The datastore die. We restore the the system-state from DC#2, and we find ourselft faced with the FAQ that the SYSVOL is empty.
From the tape we found that the SYSVOL was not replicating, so it seem an issue that the SYSVOL does not replicating when you have a 2003 and you DCPROMO an 2008's DC.

How to

First step done is that;

`To complete an authoritative restore, stop the FRS service, configure the BurFlags registry key, and then restart the FRS service. To do so:`
` ``1.Click Start, and then click Run. `
`2.In the Open box, type cmd and then press ENTER. `
`3.In the Command box, type net stop ntfrs. `
`4.Click Start, and then click Run. `
`5.In the Open box, type regedit and then press ENTER. `
`6.Locate the following subkey in the registry: `
**`HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNtFrsParameters`**
**`Backup/RestoreProcess at Startup`**
` `
`7.In the right pane, double click BurFlags. `
`8.In the Edit DWORD Value dialog box, type D4 and then click OK. `
`9.Quit Registry Editor, and then switch to the Command box. `
`10.In the Command box, type net start ntfrs. `
`11.Quit the Command box. `
`When the FRS service is restarted, the following actions occur:`
`•The value for the BurFlags registry key is set back to 0. `
`•An event 13566 is logged to signal that an authoritative restore is started. `
`•Files in the reinitialized FRS replicated directories remain unchanged and become authoritative on direct replication. Additionally, the files become indirect replication partners through transitive replication.`
`•The FRS database is rebuilt based on current file inventory. `
`•When the process is complete, an event 13516 is logged to signal that FRS is operational. If the event is not logged, there is a problem with the FRS configuration.`

 

After that test, the folder was still empty.
So the final test was simple.
I created the scripts folder in the c:windowsSYSVOLSYSVOLdomain.nameSCRIPTS and shared it to NETLOGON and runned : DCGPOFIX
That reset/recreate the default domain policy, and after you just need to erase all old GPO that are still empty in your console.

 

Thanks everyone !

 

nb; Article published in the TNWiki there too : http://social.technet.microsoft.com/wiki/contents/articles/17478.directory-service-netlogon-missing-after-a-restore.aspx

Continue Reading...

Hi everyone

For the second times in less than 4 years I saw a Equallogic dying...

untitled2

The first time the SAN was running on a 4.x firmware. One disk spread the corruption to the whole unit.  Following Dell advice we updated everything, as the 5.0.x firmware resolved that case.

 

Another similar crash, the SAN is on 5.0.x firmware and now they tell us that this bug was actually corrected on 5.2.5's firmware. How come no release note or anything. The only detail we got is that the bug happen when the array is full of seagate hdd, why seagate hdd ? I have no idea either.

 

So if you use a Equallogic, update it if you can to 5.2.5. I know 6.1 is out but not supported for some hypervisors, so please check your hypervisor HCL before gooing up too much.

 

And be sure to be subscribed to the maintenance pack, else you can't get new firmware....

 

So be sure to have a good backup... because the SAN actually does not boot with a fail array (no GUI) so only thing left to do in the CLI it's a "reset" wich clear the whole RAID50 directly. After the GUI work when you resetup the member configuration.

 

******** UPDATE *********

I now know more the truth behind the firmware 5.2.8. The rebuild was too long on some HDD model, so the SAN do a disk image of another disk to it in place of the rebuild. The disk firmware is there to allow that.

Continue Reading...