Move computers to another OU using a text file
$computers = Get-Content C:\computers.txt
$TargetOU = "OU=DENEME,DC=domain,DC=com,DC=tr"
ForEach( $computer in $computers)
{
Get-ADComputer $computer |
Move-ADObject -TargetPath $TargetOU
}
11 Ocak 2019 Cuma
21 Aralık 2018 Cuma
NetBackup / bpexpdate -recalculate
C:\Program Files\Veritas\NetBackup\bin\admincmd> altından
-ret 3 ile backup image saklam asüresini 1 ay olarak değiştiebiliriz.
bpexpdate -recalculate -backupid backup_image_idsi -ret 3
Retention Periods
| Level | Days | Label |
| 0 | 7 | 1 week |
| 1 | 14 | 2 weeks |
| 2 | 21 | 3 weeks |
| 3 | 31 | 1 month |
| 4 | 62 | 2 months |
| 5 | 93 | 3 months |
| 6 | 186 | 6 months |
| 7 | 279 | 9 months |
| 8 | 365 | 1 year |
| 9 | 24855 | infinity |
| 10 | 24855 | infinity |
29 Kasım 2018 Perşembe
NetBackup / Sybase ASE backup
1. Sunucuya NetBackup Client kurulumu yapılmalı
2. NetBackup Client Service yetkili kullanici ile çalismali
3. C:\Program Files\Veritas\NetBackup\DbExt\sybase altindaki libsybackup.dll dosyası X:\sybase\GAD\ASE-16_0\lib altina kopyalanmalı
4. C:\Program Files\Veritas\NetBackup\DbExt\sybase\samples klasöründeki script düzenlenmeli, script içerisine sistem bilgileri girilmeli
5. script satırı kısaltılmalı, uzun olduğunda hata verebiliyor
echo dump DATABASE %DATABASE_NAME% to "sybackup::-POL TR_ALT_ASE_TALTPORTAL_POP -STAT_FILE %SYB_STATUS_FILE%" > "%SYB_INPUT_FILE%"
echo dump TRANSACTION %DATABASE_NAME% to "sybackup::-POL TR_ALT_ASE_TALTPORTAL_POP_LOG -STAT_FILE %SYB_STATUS_FILE%" > "%SYB_INPUT_FILE%"
6. script user pass bilgileri ile güncellenmeli, -X paremetresi eklenmeli
set CMD_LINE="%SYBASE%%OCS_QUAL%\bin\isql" -Usapsa -Pparola -I"%SYBASE%\ini\sql.ini" -S%SYBSERVER% -X -i "%SYB_INPUT_FILE%"
7. (5449) The script is not approved for execution hatasi ile ilgili olarak, asagidaki komutlari client üzerinde çalıştırılmalı
Scriptin c:\backup_scripts altında çalıştığı düşünülüyor
C:\Program Files\Veritas\NetBackup\bin>nbsetconfig.exe
nbsetconfig> DB_SCRIPT_PATH=c:\backup_scripts
nbsetconfig> ^Z enter diyoruz
8. DB ve LOG backup için ayrı script ve backup politikası tanımlanması daha kolay olabilir
DATABASE Backup için:
C:\backup_scripts\sybase_db_backup.cmd
TRANSACTION log backup için:
C:\backup_scripts\sybase_log_backup.cmd
--- ASE backupları için aşağıdaki log klasörleri kontrol edilebilir.
C:\Program Files\Veritas\NetBackup\logs\bphdb
C:\Program Files\Veritas\NetBackup\logs\sybackup
--- Sybase backup listelemek için aşağıdaki komut çalıştırılabilir
C:\Program Files\Veritas\NetBackup\bin>bplist.exe -C client.hayat.com.tr -t 7 -R /
--- Backup policy adımları:
MS-SQL / Recycle SQL Server Error Log file without restarting SQL Server Service
Recycle SQL Server error log file without restarting SQL Server Service
Use [master];
GOSP_CYCLE_ERRORLOGGO
USE [master];
GO
DBCC ERRORLOG
GO
Use [master];
GOSP_CYCLE_ERRORLOGGO
USE [master];
GO
DBCC ERRORLOG
GO
6 Temmuz 2018 Cuma
IBM Storwize / satask restartservice
Syntax

>>- satask -- restartservice -- -service -- service_name -- panel_name-><
Parameters
sataskSystem Administrator task; service commands that are only used in specific circumstances.
-service service_nameSpecifies the name of the service that you want to restart. The following services are supported:
sshd Secure Shell Daemon
slpd Service Location Protocol Daemon
easy Easy Tier®
tomcat Web server
cimom CIMOM
panel_name Identifies the node being serviced.
Description
When directed to do so by IBM® support, use this command to restart a named service.
An invocation example

>>- satask -- restartservice -- -service -- service_name -- panel_name-><Parameters
sataskSystem Administrator task; service commands that are only used in specific circumstances.
-service service_nameSpecifies the name of the service that you want to restart. The following services are supported:
sshd Secure Shell Daemon
slpd Service Location Protocol Daemon
easy Easy Tier®
tomcat Web server
cimom CIMOM
panel_name Identifies the node being serviced.
Description
When directed to do so by IBM® support, use this command to restart a named service.
An invocation example
satask restartservice -service tomcat
satask restartservice -service cimom
Kaydol:
Kayıtlar (Atom)
Raporları oluşturmak için Flex üzerindeki master server'a PuTTY üzerinden appadmin ile giriş yapın ve "sudo -i" ile root kulla...
-
Unregister vSphere Replication from vCenter Server if the Appliance Was Deleted If the vSphere Replication appliance virtual machine doe...
-
How to reclaim deduplication storage space manually in NetBackup 5000 series and NetBackup 5200 series appliances For background and over...
-
IPMI Tool 1.8.18 This tool provides Serial Over LAN functionality for the VNXe3200, VNXe1600 and Dell EMC Unity hardware products. The I...



