NetApp Data ONTAP 8.1 – Basic configuration Aggr, Vol, LUN, NFS, CIFS, SAN

netapp> iscsi stop
netapp> cifs terminate

netapp> options nfs.export.auto-update off
netapp> options nfs.v3.enable off
netapp> options nfs.v4.enable on

netapp> aggr rename aggr0 a_Sys
netapp> aggr options a_Sys raidsize 3

netapp> aggr create a_NFS_1 -B 64 -r 20 -T SATA -t raid_dp 14
netapp> aggr create a_CIFS_1 -B 64 -r 20 -T SATA -t raid_dp 14
netapp> aggr options a_NFS_1 nosnap on
netapp> aggr options a_CIFS_1 nosnap on
netapp> snap sched -A a_NFS_1 0
netapp> snap sched -A a_CIFS_1 0

netapp> aggr create a_SAN_1 -B 64 -r 28 -T SAS -t raid_dp 16
netapp> aggr options a_SAN_1 nosnap on
netapp> snap sched -A a_SAN_1 0

netapp> vol create v_NFS_Data_01 a_NFS_1 2t
netapp> vol create v_NFS_Data_02 a_NFS_1 2t

netapp> qtree security /vol/v_NFS_Data_01 unix
netapp> qtree security /vol/v_NFS_Data_02 unix

netapp> vol create v_CIFS_Data_01 a_CIFS_1 2t
netapp> vol create v_CIFS_Data_02 a_CIFS_1 2t

netapp> vol create v_SAN_VMstore_01 -s volume a_SAN_1 1t
netapp> vol create v_SAN_VM_W2k8_LUNs -s volume a_SAN_1 500g
netapp> vol create v_SAN_VM_W2k3_LUNs -s volume a_SAN_1 500g
netapp> vol create v_SAN_VM_Linux_LUNs -s volume a_SAN_1 500g

netapp> qtree security /vol/v_SAN_VMstore_01 unix
netapp> qtree security /vol/v_SAN_VM_W2k8_LUNs unix
netapp> qtree security /vol/v_SAN_VM_W2k3_LUNs unix
netapp> qtree security /vol/v_SAN_VM_Linux_LUNs unix

netapp> lun create -s 750g -t vmware /vol/v_SAN_VMstore_01/VMstore_01_LUN_1
netapp> lun create -s 750g -t vmware /vol/v_SAN_VMstore_01/VMstore_01_LUN_2

netapp> lun create -s 50g -t windows_2008 /vol/v_SAN_VM_W2k8_LUNs/SRV235_LUN_1
netapp> lun create -s 50g -t windows_2008 /vol/v_SAN_VM_W2k8_LUNs/SRV301_LUN_1
netapp> lun create -s 50g -t windows_2008 /vol/v_SAN_VM_W2k8_LUNs/SRV301_LUN_2
netapp> lun create -s 50g -t windows_2008 /vol/v_SAN_VM_W2k8_LUNs/SRV808_LUN_1

netapp> lun create -s 50g -t windows /vol/v_SAN_VM_W2k3_LUNs/SRV067_LUN_1
netapp> lun create -s 50g -t windows /vol/v_SAN_VM_W2k3_LUNs/SRV069_LUN_1
netapp> lun create -s 50g -t windows /vol/v_SAN_VM_W2k3_LUNs/SRV101_LUN_1

netapp> lun create -s 50g -t linux /vol/v_SAN_VM_Linux_LUNs/SRV506_LUN_1
netapp> lun create -s 50g -t linux /vol/v_SAN_VM_Linux_LUNs/SRV507_LUN_1
netapp> lun create -s 50g -t linux /vol/v_SAN_VM_Linux_LUNs/SRV623_LUN_1

netapp> ifgrp create multi migrp1 e0a e0c
netapp> ifgrp create multi migrp2 e0b e0d
netapp> ifgrp create single l2igrp migrp1 migrp2
netapp> ifconfig l2ig 10.20.30.33 netmask 255.255.255.240 mediatype 1000fx
ifconfig e1a 172.16.1.1 mediatype 1000fx flowcontrol full netmask 255.255.255.248 mtusize 1500
ifconfig e1b 192.168.18.1 mediatype 1000fx flowcontrol full netmask 255.255.255.248 mtusize 1500
ifconfig e3a 172.16.1.6 mediatype 1000fx flowcontrol full netmask 255.255.255.248 mtusize 1500
ifconfig e3b 192.168.18.6 mediatype 1000fx flowcontrol full netmask 255.255.255.248 mtusize 1500

netapp> interface.blocked.cifs “e1a e1b e3a e3b”
netapp> interface.blocked.iscsi “l2igrp”
netapp> interface.blocked.nfs “e1a e1b e3a e3b”
netapp> interface.blocked.mgmt_data_traffic off “e1a e1b e3a e3b”
netapp> interface.blocked.ndmp “e1a e1b e3a e3b”
netapp> interface.blocked.snapmirror “e1a e1b e3a e3b”

netapp> rdfile /etc/exports
netapp> wrfile /etc/exports

netapp> exportfs -r
netapp> cifs restart
netapp> iscsi start
netapp> ndmpd on

 

Posted in NetApp | Tagged , , , | Comments Off

Exchange 2010 – Benutzer- und Kontaktverwaltung

Create a new AD user with a mailbox

[PS] C:\MyPath>$password = Read-Host “Enter password” -AsSecureString
[PS] C:\MyPath>New-Mailbox -Name ‘Devel One’ -Alias ‘devone’
-OrganizationalUnit ‘dev-dom.halli.me/Devel/Domusers’
-PrimarySmtpAddress ‘devel.one@dev-dom.halli.me’
-UserPrincipalName ‘devone@dev-dom.halli.me’
-SamAccountName ‘devone’
-FirstName ‘Devel’
-Initials ‘DO’
-LastName ‘One’
-Password $password
-ResetPasswordOnNextLogon $true
-Database ‘Support’

Name                      Alias                ServerName       ProhibitSendQuota
—-                      —–                ———-       —————–
Devel One                 devone               mail             unlimited

[PS] C:\MyPath>

Posted in MS Exchange | Tagged , , | Comments Off

Windows 2008 R2 – Server Core – Domain Controller Setup

Configure a static IP address

list the interfaces

netsh interface ipv4 show interfaces

3     5          1500     connected    Local Area Connection

1    50    4294967295     connected    Loopback Pseudo-Interface 1

 

netsh interface ipv4 set address “Local Area Connection” static 10.10.10.2 255.255.255.0 10.10.10.1 1

to add DNS Server

netsh interface ipv4 add dnsserver “Local Area Connection” 10.10.10.1 index=1

verify the config & determine the current hostname

ipconfig /all

rename it

netdom renamecomputer <CurrentName> /NewName:ad01

restart it

shutdown /r /t 0

enable remote managment using a MMC

netsh advfirewall firewall set rule group=”Remote Administration” new enable=yes

IPv6 – disable it or use it !!

regedit

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\

add the DWORD-32Bit (even in 64Bit W2K8) –> DisabledComponents with Hex 0xFFFFFFFF

In Windows 2008 R2 you can use Sconfig.cmd to to all this “a easy way”.

add a product key

slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

a poput let you know if the key is successfuly added !


activate the server

slmgr.vbs -ato

If activation is successful, no message will return in the cmd

Setup the first DC in a new Forest

enable features we need

Dism /online /enable-feature /featurename:NetFx2-ServerCore
Dism /online /enable-feature /featurename:NetFx3-ServerCore
Dism /online /enable-feature /featurename:DirectoryServices-DomainController-ServerFoundation

Promote the first DC in a new forest

create an unattend file on C: named dc1_una.txt

C:\Users\Administrator> notepad c:\dc1_una.txt

[DCInstall]
ReplicaOrNewDomain=Domain
NewDomain=Forest
NewDomainDNSName=halli.local
DNSOnNetwork=No
ForestLevel=4
DomainLevel=4
DomainNetbiosName=HALLI
ConfirmGc=Yes
InstallDNS=Yes
SafeModeAdminPassword=securePa$$2008
DatabasePath=C:\Windows\NTDS
LogPath=C:\Windows\NTDS
SYSVOLPath=C:\Windows\SYSVOL
RebootOnCompletion=Yes

start the promotion

C:\Users\Administrator> dcpromo /unattend:c:\dc1_una.txt

Posted in MS Windows Server | Tagged , , , , | Comments Off

compiling AirOS 5.3.3 – SDK 5.3.3 – NanoStation M2

Setting up build environment for compiling AirOS 5.3.3 SDK

SDK available @ http://www.ubnt.com/support/sdk.php

[halli@centos software]$ tar xzvf SDK.UBNT.v5.3.3.tar.gz
[halli@centos software]$ cd SDK.UBNT.v5.3.3/openwrt
[halli@centos openwrt]$ cd package/
[halli@centos package]$ cd ubnt-base-files/files/

[halli@centos files]$ ls
bin  etc  init  lib  sbin  usr

[halli@centos files]$ cd usr/etc/

[halli@centos etc]$ ls
cardlist.txt    hotplug.d   protocols     system-3g.cfg    system-e6c2.cfg
ethertypes      init.d      rc.d          system.cfg       system-soho.cfg
fstab           inittab     server.crt    system-e402.cfg  system-wsoho.cfg
group           lighttpd    server.key    system-e4a2.cfg  udhcpc
host.conf       login.defs  services      system-e4b2.cfg  udhcpc_services
hosts           passwd      shells        system-e6a2.cfg
hotplug2.rules  profile     startup.list  system-e6b2.cfg

[halli@centos software]$ cd ~/software/SDK.UBNT.v5.3.3/openwrt
[halli@centos openwrt]$ make
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'getopt'... ok.
Checking 'fileutils'... ok.
Checking 'working-gcc'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'zlib'... ok.
Checking 'gawk'... ok.
Checking 'flex'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'patch'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'wget'... ok.
Checking 'gnutar'... ok.
Checking 'svn'... ok.
Checking 'gnu-find'... ok.
Checking 'getopt-extended'... ok.
Checking 'non-root'... ok.
++ mkdir -p software/SDK.UBNT.v5.3.3/openwrt/staging_dir/toolchain-mips_gcc4.1.2
++ cd software/SDK.UBNT.v5.3.3/openwrt/staging_dir/toolchain-mips_gcc4.1.2
++ mkdir -p bin lib include stamp
Collecting package info: done
Collecting target info: done
 make[1] world
 make[2] tools/install
 make[3] -C tools/sed compile
 make[3] -C tools/sed install
 make[3] -C tools/sstrip compile
 make[3] -C tools/sstrip install
 make[3] -C tools/ipkg-utils compile
 make[3] -C tools/ipkg-utils install
  ~~~~~~~~~~~~
 make[3] -C tools/quilt compile
 make[3] -C tools/quilt install
 make[3] -C tools/ubnt-mkfwimage compile
 make[3] -C tools/ubnt-mkfwimage install
 make[2] toolchain/install
 make[3] -C toolchain/kernel-headers prepare
 make[3] -C toolchain/uClibc prepare
 make[3] -C toolchain/binutils prepare
 make[3] -C toolchain/binutils compile
 make[3] -C toolchain/binutils install
 make[3] -C toolchain/gcc prepare
 make[3] -C toolchain/gcc compile
 make[3] -C toolchain/uClibc compile
 make[3] -C toolchain/gcc install
 make[3] -C toolchain/uClibc install
 make[2] target/compile
 make[3] -C target/linux compile
 make[2] package/cleanup
 make[2] package/compile
 make[3] -C package/base-files compile
 make[3] -C package/busybox compile
 make[3] -C package/linux-atm compile
 make[3] -C package/libpcap compile
 make[3] -C package/ppp compile
 make[3] -C package/dnsmasq compile
 ~~~~~~~~~~~~
 make[3] -C package/wpa_supplicant install
 make[3] -C package/zlib install
 make[2] package/rootfs-prepare
 make[3] package/preconfig
 make[2] target/install
 make[3] -C target/linux install
 make[2] package/index

Copy FW to your device & initiate update process:

[halli@centos openwrt]$ scp bin/XM.v5.3.3.sdk.bin ubnt@ap-temp.bdsm.local:/tmp/fwupdate.bin

Log into your device and start the update:
 
[ubnt@ap-temp]$ /sbin/ubntbox fwupdate.real -m /tmp/fwupdate.bin -d

In a few minutes, after the unit comes back up, log into it again and
issue the command to reset the device to the AirOS defaults:

[ubnt@ap-temp]$ cfgmtd -f /usr/etc/system.cfg -w && reboot
Posted in Linux, Networking | Tagged , , , | Comments Off

Windows 8 Server – glimpse

 

Posted in MS Windows Server | Tagged , | Comments Off