27 Haziran 2019 Perşembe

NetBackup / could not set user ID for process (31)

could not set user ID for process  (31) SAP oracle backup hatası ile ilgili olarak

Windows sunucu üzerinde UAC özelliğini kapatmak çözüm oldu.

HKEY_LOCAL_MACHINE

SOFTWARE Microsoft > Windows > CurrentVersion > Policies > system içerisindeki

EnableLUA değerini 0 yapmak gerekiyor.

Jun 27, 2019 4:36:50 PM - Info bpbrm (pid=13200) accepted connection from client
Jun 27, 2019 4:36:50 PM - Info bpbrm (pid=13200) start bpbkar on client
Jun 27, 2019 4:36:50 PM - connected; connect time: 0:00:00
Jun 27, 2019 4:36:51 PM - Error bpbrm (pid=13200) from client SERVERNAME: ERR - setuid failed: 'username'
Jun 27, 2019 4:36:51 PM - Info dbclient (pid=0) done. status: 31: could not set user id for process
Jun 27, 2019 4:36:51 PM - Info dbclient (pid=0) done. status: 31: could not set user id for process
Jun 27, 2019 4:36:51 PM - end writing
could not set user ID for process  (31)

21 Haziran 2019 Cuma

MS-SQL / user already exists in the current database, error: 15023

User, group, or role 'user_name' already exists in the current database. 
(Microsoft SQL Server, Error: 15023)

Restore sonrası kullancı açılması ile db üzerinde çalıştırılacak komut:

sp_change_users_login 'AUTO_FIX', 'user_name'

23 Mayıs 2019 Perşembe

SUSE / Template den Yeni Sanal Makine Oluşturma

SUSE template makinesinden yeni sanal makine oluşturmak için aşağıdaki adımları kullanabiliriz.

1. SUSE_TEMP makinesi kullanılara yeni sanal makine oluşturulur.

2. root - password bilgileri ile konsol açılır.

3. hostnamectl set-hostname yeni_hostname komutu ile yeni sunucu adı tanımlanır.

4. nano /etc/sysconfig/network/ifcfg-eth0 komutu ile dosya açılarak, IPADDR= satırındaki IP adresi degiştirilerek dosya kaydedilir.

5. nano /etc/hosts komutu ile dosya açılarak, yeni IP adresi ve hostname düzenlenip dosya kaydedilir.

6. reboot komutu ile sistem yeniden başlatılır.

11 Ocak 2019 Cuma

Move computers to another OU using a text file

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
}

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

Raporları oluşturmak için Flex üzerindeki master server'a PuTTY üzerinden appadmin ile giriş yapın ve "sudo -i" ile root kulla...