4 Ekim 2019 Cuma

DELL EMC / IPMI Tool 1.8.18

IPMI Tool 1.8.18

This tool provides Serial Over LAN functionality for the VNXe3200, VNXe1600 and Dell EMC Unity hardware products.

The IPMI Tool is a Windows command prompt utility that is used to establish a Serial-over-LAN connection to the Unity Service Processors (SPs).

The IPMI Tool is useful if you do not have Unisphere access.



Configure the laptop with an IP address for the Service LAN network: 
     
128.221.1.250, netmask 255.255.255.0, no gateway required.     
       
Open command prompts, and use the following syntax to connect to each SP:

c:\> ipmitool.exe -I lanplus -C 3 -U console -P UNITY_SERIAL_NUMBER -H 128.221.1.252 sol activate

c:\> ipmitool.exe -I lanplus -C 3 -U console -P UNITY_SERIAL_NUMBER -H 128.221.1.253 sol activate



spb:~> svc_diag     
        ======== Now executing basic state ========     
        * System Serial Number is: FNM0015xxxxxxx     
        * System Friendly Host Name is:     
        * Current Software version: upc_Unity_2_9_upcBuilder-4.0.0.7329527-GNOSIS_RETAIL     
        * Unisphere IP address(es): xx.xx.xx.xx xxxxxxxxxxxxxxxxxxxxxxxx     
        * SSH Enabled: true     
        * FIPS mode: Disabled     
        * Boot Mode: Normal Mode     
        -----abbreviated----------- 
 
   
Note:  Each SP will show its "Boot Mode" as "Normal Mode" if the system is running normally. 

If one or more SPs are having an issue, the "Boot Mode" may show as "Rescue Mode" (i.e, Service Mode): 
 
spa:~> svc_diag     
        ======== Now executing basic state ========     
        * System Serial Number is: FNM0015xxxxxxx     
        * System Friendly Host Name is:     
        * Current Software version: upc_nextUnity_mcs_20160607xxx_upcBuilder-4.1.0.7769613-GNOSIS_RETAIL     
        * Unisphere IP address(es): xx.xx.xx.xx xxxxxxxxxxxxxxxxxxxxxxxx     
        * SSH Enabled: true     
        * FIPS mode: Disabled     
        * Boot Mode: Rescue Mode     
        ----abbreviated---- 



Examples:

spa:~> svc_rescue_state -l  --> Lists the Rescue State codes     

spa:~> svc_rescue_state -c  --> Clears the Rescue State flag     

spa:~> svc_shutdown -r      --> Reboots the SP from where you are running the command 

spa:~> pgrep ECOM   
      20291   -->Return of a Process ID indicates that this is the Primary SP 
 
spa:~> uemcli /sys/general show   
      1:    System name           = u300   
            Model                 = Unity 300   
            Platform type         = EMC Storage System   
            Product serial number = FNM00153xxxxxx   
            Auto failback         = on   
            Health state          = OK (5) 
 
spa:~> svc_help     
     
spa:~> df   
      Filesystem        1K-blocks    Used Available Use% Mounted on   
      /dev/mapper/eroot  11226476 5750304   4883076  55% /  ---output abridged---- 


https://community.emc.com/docs/DOC-63404


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
}

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