9 Aralık 2023 Cumartesi

VMware / vmfsfilelockinfo

VMware üzerinde lock durumda olan bir sanal makine ya da dosyanın hangi host üzerinde lock durumda olduğunu ve detaylarını aşağıdaki örnek komut ile sorgulayabiliriz.

[root@esxihost:~] vmfsfilelockinfo -p "/vmfs/volumes/ESXI05/VMware vCenter Server 20395099/VMware vCenter Server 20395099.vmx.lck"

vmfsfilelockinfo Version 2.0

Looking for lock owners on "VMware vCenter Server 20395099.vmx.lck"

"VMware vCenter Server 20395099.vmx.lck" is locked in Exclusive mode by host having mac address ['6c:0b:84:b7:f6                                 :e2']

Trying to use information from VMFS Heartbeat


Host owning the lock on file is 92.68.10.26, lockMode : Exclusive

Total time taken : 5.400021321999986 seconds.

12 Eylül 2023 Salı

How to Uninstall McAfee DLP Endpoint

PsExec uygulaması ile McAfee DLP Endpoint kaldırılması.
  1. PsExec uygualaması
  1. Registry Uninstall yolundaki McAfee DLP Endpoint UninstallString değeri
PsExec.exe -s -i cmd
Registry içerisindeki McAfee DLP UninstallString değeri


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

Altında McAfee DLP uygulaması bilgilerinden UninstallString değeri

13 Haziran 2023 Salı

NetBackup / Database Manager service: Access is denied. (5)

NetBackup Master Server işletim sistemini Windows 2012'den Windows 2022'ye upgrade ettikten sonra NetBackup Admin Console çalışmasına rağmen backup alınamıyor, farklı hatalar veriyor.

Cannot initiate NetBackup bpdbm. Terminating.

The NetBackup Request Daemon service terminated with the following service-specific error: 

Attempt to use a file handle to an open disk partition for an operation other than raw disk I/O.

NetBackup Snapshot client not licensed.

Bprd hizmeti başlamıyor ve aşağıdaki hatayı gösteriyor:

15:00:40.134 [9400.12584] <4> bprd: VERBOSE changing from 0 to 5
15:00:40.134 [9400.12584] <2> bprd: Created terminate event:"Global\NetBackup Terminate Event, pid: 9400"
15:00:40.134 [9400.12584] <2> bprd: Created suspend event:"Global\NetBackup Suspend Event, pid: 9400"
15:00:40.134 [9400.12584] <2> bprd: INITIATING bprd (VERBOSE = 5): NetBackup 10.1.1 2022121007 on masterserver_name
15:00:40.134 [9400.12584] <2> bprd: Now initializing logging for libcorbaobj
15:00:40.134 [9400.12584] <2> bprd: the request timeout value is 300 seconds
15:00:40.134 [9400.12584] <2> bprd: commandline: "D:\Program Files\Veritas\NetBackup\bin\bprd.exe"
15:00:40.149 [9400.12584] <2> bprd: initiate dbm daemon...
15:00:40.149 [9400.12584] <2> db_dbm_initiate: Could not start the NetBackup Database Manager service: Access is denied. (5)
15:00:40.149 [9400.12584] <2> bprd: cannot start database daemon...exiting
--------------------

NetBackup hizmetlerini durdurduk ve hizmet kullanıcısını Local System ile oturum açılması için düzenledik.

D:\Program Files\Veritas\NetBackup\bin\goodies>nbserviceusercmd.exe -changeUser LocalSystem

NOTE:
- The NetBackup services must be stopped before changing the service user.

Do you want to proceed? (y/n): y

Preparing the list of files and folders, this may take some time.
Revoking permissions for NetBackup services on the following file(s)/folder(s):
D:\Program Files\Veritas\

Revoking permissions on NetBackup registry keys.
Setting 'NT AUTHORITY\SYSTEM' as 'log on as' account for all non-privileged services.
Saving 'NT AUTHORITY\SYSTEM' as service user in the NetBackup configuration.

The service user is successfully changed.

NOTE:
- Start the NetBackup services.
- It may take up to 10 minutes to get the updated value of service user in host DB.
- It is recommended that you take catalog backup immediately.

D:\Program Files\Veritas\NetBackup\bin\goodies>

26 Mart 2023 Pazar

NetBackup / Registering NB with OpsCenter

bash-4.2# pwd

/usr/openv/netbackup/bin/admincmd

bash-4.2# ./nbregopsc -addopscenter servername

Registering opscenter (opscenter servername) with NB

Successfully registered

Registering NB with opscenter (opscenter servername)

Successfully registered


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