вторник, 30 октября 2012 г.

3 Lessons for IT Managers



"No company can flourish in an environment that penalizes experimentation or trust."

    I recently read "3 signs of a dysfunctional company" on Microsoft Business for Small and Midsize Companies. Although the article is aimed at CEO types, I think the lessons within are just as useful for IT managers

I. "The discrepancy between what leaders say they want and what they really want often causes company dysfunction. You can't ask employees to do anything you're not willing to do yourself."

How true is this? There are really two parts to this lesson. The first is exactly what it says: you can't expect your team members to do anything you won't. This is less about getting down and dirty with their work, and more about following procedures, etc. For example, one of our tasks in engineering is documentation. Who's the worst about this? Me, of course.

понедельник, 29 октября 2012 г.

Cisco MDS9000 Switch - Port-Channel+Trunking Eport



Агрегация 2х портов и запуск по этому каналу тегированного трафика.

Вводные:


Switch 1:
   Channel Group 2
   Interfaces: fc1/1 and fc2/1
Switch 2:
   Channel Group 2
   Interfaces: fc1/1 and fc2/1
Allowed VSANs: 10

GodMode - Windows 7 ( GodMode.{ED7BA470-8E54-465E-825C-99712043E01C})



Просто создайте папку с именем - GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}

четверг, 25 октября 2012 г.

Активация/Activation Windows Server 2012 Standart EVALUATION


   Если ваш свежий 2012 не активируется, ругаясь на то что у вас ключ от Retail версии, а установленная версия ОС Evaluation (StandardEvaluation или EnterpriseEvaluation), то вам нужно перевести версию в Retail. Для этого

1. slmgr.vbs /dlv (
2. DISM /online /Get-CurrentEdition (узнаём edition ID)
3. DISM /online /Set-Edition:<edition ID> /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula

пример: 
DISM /online /Set-Edition:<Standard> /ProductKey:ММ7QW-45URT-MQD67-GH19K-3ERYT /AcceptEula

После перезагрузка. Далее активируйте как обычно.

источник: http://technet.microsoft.com/library/jj574204.aspx

понедельник, 22 октября 2012 г.

#550 5.1.1 RESOLVER.ADR.ExRecipNotFound; not found ## exchange 2010

http://social.technet.microsoft.com/Forums/en/exchange2010/thread/e9ff3a2e-d49a-4a45-8e47-4165eb22f577


I see a similar problem when user1 sends a mail to user2 and caches the name of user2 in Outlooks cache file. If user2 then for some reason is recretade with a new mailbox the user2 legacyexchangedn will be new and cause problems next time user1 tries to mail the user.

Try to have the user make sure that he selects his recipients from the address book instead of the cache just to make sure.

You can correct this problem either by deleting user1's cache or by adding a new legacyexchangedn address as a X500 address to the users he has problems sending to. You can deciffer the address from the above with a little help from a working legacyexchangedn.

http://www.msexchange.org/tutorials/Understanding-LegacyExchangeDN.html

http://www.simple-talk.com/content/print.aspx?article=628


четверг, 18 октября 2012 г.

RDP горячие главиши - -RDP HotKeys


Скрипт перемещения ящиков из одной базы в другую / Script for moving all mailboxes from one Database to another - Exchange 2010 SP2

Скрипт для перемещения всех ящиков из одной базы в другую:

#This script moves all the mailboxes from one database to another.
 $Sourcedb = "IT"
 $Targetdb = "IT2"
 Get-Mailbox -Database $Sourcedb | New-MoveRequest -TargetDatabase $Targetdb -BadItemLimit 200 -AcceptLargeDataLoss
 Write-Host "All the mailboxes from" $Sourcedb "have been moved successfully to" $Targetdb
 #End of the script

Индивидуальное перемещение ящика:
New-MoveRequest -Mailbox Andreev.Nikolay -TargetDatabase 'IT2' -BadItemLimit '100' -AcceptLargeDataLoss

http://mylittlebrain-techie.blogspot.com/2011/06/exchange-2007-move-mailboxes-from-one.html
http://jasonshave.blogspot.com/2012/02/top-10-exchange-server-2010-powershell.html
http://exchangegloves.blogspot.com/2012/05/new-mailboxexportrequest-is-not.html

вторник, 16 октября 2012 г.

Восстановление базы Exchange 2010 / Recover database Exchange 2010 / Error mounting database mapiexceptioncallfailed ec=550


PowerShell:
c:\>eseutil /P D:\Exchange\Databases\IT\IT.edb

База должна быть отмонтирована.

пятница, 12 октября 2012 г.

понедельник, 8 октября 2012 г.

Настройка - Лицензии на порты - Объединение в Фабрику - Cisco MDS 9124 Multilayer Fabric Switch


1) Подключиться через консольный кабель и настроить Management Interface - mgmt 0:
    - при подключении коммутатор предложит создать пароль для пользователя admin (собственно вводите какой пожелаете, но учтите, что если он будет прост, коммутатор вас попросит ввести другой)
    #configure terminal
    #int mgmt 0
    #ip address 192.168.0.1 255.255.255.0
    - теперь вы можете подключить по SSH по IP 192.168.0.1
       При этом вам не нужно настраивать SSH, он уже включен по-умолчанию.
2) В данных коммутаторах по-умолчанию доступны 8 портов. На остальные нужно докупать лицензии (дискретно, по 8шт).
    Приобретаете вы лицензию (заплатив за неё деньги), но получаете PAK (Product Authorization Key). После вам нужны сгенерировать файл лицензии .lic.
    - Заходите на страничку www.cisco.com/go/license, авторизуетесь под своей cisco учёткой.
    - Вводите PAK
    - На коммутаторе получаете серийный номер устройства
       #show licence host-id
       ex.: License hostid: VDH=FOX064317SQ (нужна та часть, что после знака "=");
    - Привязываете к PAK серийный номер устройства;
    - Генерируете файл-лицензии .lic.
3) Загружаете файлы .lic в коммутатор (предварительно установив tftp сервер в сети и загрузив на него файлы лицензий):
    #copy tftp://192.168.0.5/MDS9879879874979349.lic bootflash:
    #dir
        316    Oct 03 07:57:41 2012  MDS9879879874979349.lic
        316    Oct 03 07:57:58 2012  MDS9879879874979323.lic
      12288    May 18 13:42:15 2012  lost+found/
   18723840    May 18 13:43:51 2012  m9100-s2ek9-kickstart-mz.5.0.1a.bin
   56219997    May 18 13:45:58 2012  m9100-s2ek9-mz.5.0.1a.bin
       3292    Oct 03 08:01:53 2012  mts.log

Usage for bootflash://
   87806976 bytes used
   73615360 bytes free
  161422336 bytes total
4) Устанавливаете файлы-лицензий:
    #install license bootflash:MDS9879879874979349.lic

http://wintelguy.com/2010/20100117_find_wwn.html

вторник, 2 октября 2012 г.

Добавление фото сотрудников в Active Directory через Exchange Power Shell

Import-RecipientDataProperty -Identity "aishutin" -Picture -FileData ([Byte[]]$(Get-Content -Path "D:\Алексей Ишутин.jpg" -Encoding Byte -ReadCount 0))

Требование к фото: не более 96*96pix и 10kb.


http://mostlyexchange.blogspot.com/2010/03/outlook-2010-supports-photos-from-gal.html