1833783 Members
2548 Online
110063 Solutions
New Discussion

scsimgr or sasmgr

 
Lukyflight
New Member

scsimgr or sasmgr

To replace a SAS disk on an rx600, running 11.31, which command i have to use scsimgr or sasmgr?
12 REPLIES 12
Eric SAUBIGNAC
Honored Contributor

Re: scsimgr or sasmgr

Bonjour,

I guess that yes you still can use sasmgr with HP-UX 11.31.

man sasmgr, for "sasmgr replace_tgt -D device_file -q old_dev=lun_dsf -q new_tgt_hwpath=new_hw_path" says :

"The lun_dsf must be the legacy device file and the new_hw_path must be the legacy hardware path. This command does not allow a persistent device file or the new style hardware path to be specified with the old_dev and new_tgt_hwpath qualifiers."

Also from same manpage, you can use "io_redirect_dsf"

Eric
Eric SAUBIGNAC
Honored Contributor

Re: scsimgr or sasmgr

I must apologize :-(

Reading documentation at http://docs.hp.com/en/J6369-90071/J6369-90071.pdf, page 65 and later, I guess that sasmgr will only do the work on legacy dsf. If you use persistent dsf, you should also consider using "io_redirect_dsf"

Eric
Eric SAUBIGNAC
Honored Contributor

Re: scsimgr or sasmgr

URL badly formatted in previous post : http://docs.hp.com/en/J6369-90071/J6369-90071.pdf
Lukyflight
New Member

Re: scsimgr or sasmgr

also:http://www13.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01037901-4 :
io_redirect_dsf is a new command introduced with HP-UX 11.31. It redirects the
persistent DSF from one device to a different device. This is equivalent of the command sasmgr replace_tgt.
Torsten.
Acclaimed Contributor

Re: scsimgr or sasmgr

It depends!

For hardware raids managed by the default built-in controller you just swap the disk and check with sasmgr.

For "plain" disks see

http://docs.hp.com/en/5992-3385/ch04s08.html#v1446838

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Lukyflight
New Member

Re: scsimgr or sasmgr

For example:rx3600 a internal boot Disk, mirrord with UNIX. No raid over SAS Controller configured. Ioscan tell me Disk it's NO HW. I replace the disk. Ioscan show me the new disk. Then? sasmgr repace_tgt -D....? or scsimgr replace_wwid -D ..... and io_redirect_dsf -d .....?
Whit which operation i have to rplace the disk? scsimgr or sasmgr?
Torsten.
Acclaimed Contributor

Re: scsimgr or sasmgr

Did you follow the link above?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
ShaneMiller
Occasional Visitor

Re: scsimgr or sasmgr

The link above does not work now in 2021. 

Still need to know how to format scsimgr replace_wwid disk I am getting an error.  0x1000002 is the new ID I pulled out of syslog. 

scsimgr replace_wwid disk 0x1000002 -D /dev/rdisk/disk12
scsimgr: ERROR: Invalid Keyword 'disk'
To view usage, run: scsimgr -h replace_wwid

 

Shane 

Torsten.
Acclaimed Contributor

Re: scsimgr or sasmgr

Hardware details?


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
mbarnwal
HPE Pro

Re: scsimgr or sasmgr

Hi,

The command syntax is wrong. Assuming you are running scsimgr replace_wwid command to fix evpd enquiery failed errors, you may refer following document.

https://support.hpe.com/hpesc/public/docDisplay?docId=c03398967&docLocale=en_US

Regards

Manish

I am a HPE Employee
ShaneMiller
Occasional Visitor

Re: scsimgr or sasmgr

Hello, 
I am running this on an integrity Rx2800 i2. I did have a doc I was using and in another section they had instructions for 

Integrity (Itanium) 11.31 - Persistent DSF.  I was able to use the following command and it worked. 

scsimgr -f replace_wwid -D /dev/rdisk/disk12 

Thank you for the assistance.  I guess you really cant hot-swap a drive on itanium.  The disk login issue prevents that, which is a good thing.  

Torsten.
Acclaimed Contributor

Re: scsimgr or sasmgr

The Rx2800 i2 runs 11.31 for sure.

The P410i is either in HBA or RAID mode.

In RAID mode you can just swap the disk.

In HBA mode it is much more complicated, you need to do something like

# scsimgr replace_wwid  –D  /dev/rdisk/disk5 dsf 

and also

# io_redirect_dsf –d /dev/disk/disk5 –n /dev/disk/disk8

for complete steps see


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!