1827862 Members
2006 Online
109969 Solutions
New Discussion

Re: Linux - HP-UX

 
joe_91
Super Advisor

Linux - HP-UX

I am looking at certain commands in linux. I am from HP-UX world.

1. lvm commands(will the same HP-UX lvm commands work in Linux AS 3 or 4?

2. I have also gone thru some commands, please let me know if these are correct..

ioscan/insf (kudzu), swinstall (rpm -iv) swremove (rpm -Uv) swlist (rpm -qa) and what would be the equivalent to the following commands/files/directories?

kmtune, /sbin/set_parms, SAM, setboot,lvlnboot -v, ndd, fcmsutil,

Thanks

Joe
8 REPLIES 8
Rick Garland
Honored Contributor

Re: Linux - HP-UX

The LVM commands are pretty much the same, if you are using LVM on the Linux system. Must have the filesystems set up as such

There is no kmtune as you do not build a kernel in a similar fashion as HPUX, the set_parms does not exist - go through the menu and select the various items, the is no SAM - use the menus, etc...
Steven E. Protter
Exalted Contributor

Re: Linux - HP-UX

Shalom joe,

rpm -qa | grep lvm

there is a feature port of lvm called lvm2. Everything except mirroring is the same. You can't have a the /boot parition as part of LVM PV.

There is no real equivalent of ioscan on Linux, though you do point out that kudzu does detect new hardware.

yes to swinstall
yes to swlist rpm -qa

sysctl provides kmtune type output.

system-config-network is the equivalent of set_parms

There is no equivalent of SAM

setboot.

fdisk -l provides the equivalent of lvlnboot -v but its not exact.

I don't have an answer on ndd and know there is no real equivalent of fcmsutil on Linux.

The real whole is the lack of ioscan. kudzu performs some of its functions but its really a poor substitute and does not provide reports.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
paolo barila
Valued Contributor

Re: Linux - HP-UX

Hi,

have a look at

http://bhami.com/rosetta.html

it could help

Pablo

share share share
Ivan Ferreira
Honored Contributor

Re: Linux - HP-UX

LVM commands are very similar. In fact, the management of LVM in Linux is simplier than in HP-UX.

kudzu will scan new hardware, but not sure if available on all linux. There is a rescan-scsi-bus.sh script that rescan SCSI/FC devices.

swinstall = rpm -ivh
swremove = rpm -e
swlist = rpm -qa
kmtune ~= sysctl
set_parms ~= setup
lvlnboot = not needed
sam = depends of the OS (YasT (SUSE), system-config- (Red Hat))
ndd = sysctl (again for kernel network specific parameters)
fcmsutil ~= fibreutils package.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
dirk dierickx
Honored Contributor

Re: Linux - HP-UX

swremove equals 'rpm -e', the '-U' is for upgrading packages.

lvm will pretty much work the same way as on hpux, although mirroring is not included, that is done with the 'md' driver.

kmtune, ndd = sysctl
sam = webmin (although you would need to install that seperate, as it's not included i think)
Muthukumar_5
Honored Contributor

Re: Linux - HP-UX

Get difference between hp-ux and linux on commands as,

http://unixguide.net/cgi-bin/unixguide.cgi

--
Muthu
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: Linux - HP-UX


Linux hp-ux
kmtune sysctl
set_parms netconf
sam linuxconf
ndd sysctl -a | grep ndd

Others are not meeting up in linux. Check here at,

freshmeat.net
sf.net

for opensource products.

--
Muthu
Easy to suggest when don't know about the problem!
Asif Sharif
Honored Contributor

Re: Linux - HP-UX

Hi,
Please find attached file.

Regards,
Asif Sharif
Regards,
Asif Sharif