1753261 Members
5209 Online
108792 Solutions
New Discussion юеВ

Re: 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!