All posts by admin

Dell 5500 stack issues – THIS UNIT WILL BE SHUT DOWN

If you are configuring a new switch stack and for some reason the slave unit keeps displaying THIS UNIT WILL BE SHUTDOWN, there is probably a stack configuration issue.

  1. Plug a console cable into switch
  2. Boot into the startup menu by pressing Enter/Return or ESC when the splash screen appears
  3. Select 5 – Stack Menu
  4. Select 2 – Set Unit Stack ID
  5. Set the ID to 0 or the actual stack number if its known. If you want to be safe, select 0.
  6. Back out of the menu and let the switch reboot.

 

How to move a Crashplan ProE Store Point

  1. Create destination location for new store point.  So if you want to move from C:ProgramDataPROServerbackupArchives to E:crashplan, create a new directory on the E drive called crashplan.
  2. Copy all data from C:ProgramDataPROServerbackupArchives to E:crashplan
  3. In the web admin under Destinations -> Store Points, click the name of the store point and the gear button which appears directly below “Sign Out”
  4. Click Edit
  5. Change the path name to E:/crashplan (Yes, that is the correct slash)
  6. Click Save.

If you do not manually copy the data files, you will receive an error message “The volume label is not present at the new path.  Please move the volume before editing the path.”

How to bulk fix inconsistent Exchange Public Folders

This often happens in Exchange 2003 – 2007/2010 migrations with large public folder infrastructures.  Before Exchange 2007, public folder aliases were very relaxed with requirements and allowed a space.  Now those days are over and all the spaces must be removed, but the question is….how?  There are a few guides out there, but unfortunately most of them leave out crucial commands so I will go through my procedure step by step.

 

WARNING: Object domain.com/Microsoft Exchange System Objects/Bob Jones has been corrupted and it is in an inconsistent state. The following validation errors have occurred:

WARNING: “Bob Jones” is not valid for Alias. Valid values are: Strings formed with characters from a to z (uppercase or lowercase), digits from 0 to 9, !, #, $, %, &,’, *, +, -, /, =, ?, ^, _, `, {, |, } or ~. One or more periods may be embedded in an alias, but each one of them should be preceded and followed by at least on of the other characters. Unicode characters from U+00A1 to U+00FF are also valid in an alias, but they will be mapped to a best-fit US-ASCII string in the email address which is generated from such an alias”

 

  1. Determine which public folders are inconsistent.
    get-publicfolder -identity “” -recurse -resultsize unlimited | get-mailpublicfolder | Where {$_.Alias -like “* *”}

    How to export to csv
    get-publicfolder -identity “” -recurse -resultsize unlimited | get-mailpublicfolder | Where {$_.Alias -like “* *”} | select name | export-csv exportlist.csv

    You can also get a line count by using the status bar in notepad.  If the option is disabled, uncheck wordwrap

  2. Fix the inconsistency
    First decide which character you’re going to replace it with and make sure it works with your email naming scheme.  For example, lets use an underscore ( _ ).

    get-publicfolder -identity “” -recurse -resultsize unlimited | get-mailpublicfolder | Where {$_.Alias -like “* *”}  | ForEach-Object {Set-mailpublicfolder $_.name -alias:($_.Alias -replace ” “,”_”)}

    If you wanted to use a period (.), this would be the command…
    get-publicfolder -identity “” -recurse -resultsize unlimited | get-mailpublicfolder | Where {$_.Alias -like “* *”}  | ForEach-Object {Set-mailpublicfolder $_.name -alias:($_.Alias -replace ” “,”.”)}

 

As always, test out these commands on lower level Public Folders before running it against the root!!!

 

How to install a pfx wildcard certificate on Barracuda Spam & Virus filter

  1. Export wildcard pfx from Windows machine
  2. Download openssl for windows – http://gnuwin32.sourceforge.net/packages/openssl.htm
  3. Copy wildcard pfx to machine where openssl was installed
  4. Run the following commands:
    openssl.exe pkcs12 -in nameofwildcard.pfx -nocerts -out Keyname.pem
    openssl.exe pkcs12 -in nameofwildcard.pfx -clcerts -nokeys -out Certname.pem
    openssl.exe rsa -in Keyname.pem-out Keyname-nokey.pem
  5. Open up barracuda interface and go to Advanced – Secure Administration
  6. In the Trusted (Signed by a trusted CA) section, add Certname.pem into the Signed Certificate field and keyname-nokey.pem into the Private Key field.
  7. Click Upload.
  8. Change Certificate type to “Trusted (Signed by a trusted CA)”
  9. Save changes

 

Credit to Cycure for a well written openssl guide.