mercoledì 28 luglio 2010

rimuovere presentation iSCSI su HP mpx100 via telnet

Use telnet to connect to the mpx100 management port, or connect to the mpx100 serial port using the HP-supplied connector.

The mpx100 management port’s default IP address is 10.0.0.1/255.0.0.0. The mpx100 serial port’s default setting is 115200/8/n/1.

(bisogna rimuovere gli initiators....(hosts))



a. To log in, type:
o User name: guest
o Password: password
b. To enable administrator privileges, type:
o admin start
o config
c. Type the command:
LUNmask rm
d. Follow the prompts to remove the Solaris iSCSI initiator from each iSCSI presented target.

For example:
> telnet 172.30.3.110
login: guest
password: password

>admin start
password: config

mpx100 (admin) #> LUNmask rm

Index (WWNN,WWPN/iSCSI Name)

—————————————————

0 50:00:1f:e1:50:00:2f:70,50:00:1f:e1:50:00:2f:7e

Please select a Target from the list above ('q' to quit): 0

LUN Vendor

—————

0 HP
1 HP
2 HP
3 HP
4 HP

.
.
.

Please select a LUN from the list above ('q' to quit): 0

Index Initiator

———–

0 iqn.2005-03.com:sanlabmac-s01
1 iqn.1986-03.com.sun:rack81-s16
2 iqn.1991-05.com.microsoft:rack77-s16.sanbox.com
3 iqn.1991-05.com.microsoft:rack77-s14.sanbox.com
4 iqn.1996-04.de.SUSE:bl7-04.sanbox.com
5 iqn.1996-04.de.SUSE:bl7-03.sanbox.com
6 iqn.1996-04.de.SUSE:bl7-02.sanbox.com


Please select an Initiator to remove ('a' to remove all, 'q' to quit): 1
All attribute values for that have been changed will now be saved.
mpx100 (admin) #>

VSS ADMIN LIST NO WRITERS - VMWARE ESX 4 BACKUP

Problema dei backup VMWARE - BACKUPEXEC che falliscono con errore Event ID:12302 nell'event viewer di windows.

Volume Shadow Copy Service error: An internal inconsistency was detected in trying to contact shadow copy service writers. Please check to see that the Event Service and Volume Shadow Copy Service are operating properly.

Il comando "vssadmin list writers" non fà vedere writers attivi.

Il problema si risolve cambiando questa chiave di registro:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\EventClasses\{FAF53CC4-BD73-4E36-83F1-2B23F46E513E}-{00000000-0000-0000-0000-000000000000}-{00000000-0000-0000-0000-000000000000}]
"OwnerSID"="S-1-5-21-2539932445-1752893067-3068508878-1003"
In
"OwnerSID"="S-1-5-18" (è il SID di dello user SYSTEM, lo si può trovare usando il comando "psgetsid" scaricabile da Internet)

ed riregistrando le dll relative ai servizi di vss:


cd /d %windir%\system32
Net stop vss
Net stop swprv
regsvr32 ole32.dll
regsvr32 oleaut32.dll
regsvr32 vss_ps.dll
vssvc /register
regsvr32 /i swprv.dll
regsvr32 /i eventcls.dll
regsvr32 es.dll
regsvr32 stdprov.dll
regsvr32 vssui.dll
regsvr32 msxml.dll
regsvr32 msxml3.dll
regsvr32 msxml4.dll

reboot del server !

vedi anche:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;940032

venerdì 2 luglio 2010

comandi linux utili

pv
htop
atop
fdupes
watch