- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to distinguish whether a server is IA or P...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2009 07:57 PM
12-23-2009 07:57 PM
how to distinguish whether a server is IA or PA-RISC architecture
is there any command or method to distinguish whether a HP-UX server is PA-RISC or Itanium architecture.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2009 08:06 PM
12-23-2009 08:06 PM
Re: how to distinguish whether a server is IA or PA-RISC architecture
# model
9000/800/L3000-7x
9000 refers to PA-Risc
# model
ia64 hp server rx2620
ia refers to Itanium
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2009 08:10 PM
12-23-2009 08:10 PM
Re: how to distinguish whether a server is IA or PA-RISC architecture
If you are getting disk names with s1, s2, s3 in the end then it will be an Itanium server.
# lvlnboot -v
Boot: lvol1 on: /dev/dsk/c3t2d0s2
Root: lvol3 on: /dev/dsk/c3t2d0s2
Swap: lvol2 on: /dev/dsk/c3t2d0s2
Dump: lvol2 on: /dev/dsk/c3t2d0s2, 0
#ioscan -funC disk
disk 3 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c3t2d0 /dev/dsk/c3t2d0s2 /dev/rdsk/c3t2d0 /dev/rdsk/c3t2d0s2
/dev/dsk/c3t2d0s1 /dev/dsk/c3t2d0s3 /dev/rdsk/c3t2d0s1 /dev/rdsk/c3t2d0s3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2009 08:17 PM
12-23-2009 08:17 PM
Re: how to distinguish whether a server is IA or PA-RISC architecture
it executes different tasks for different architecture.
so i only need to use command 'model' to match ia64, if match, it's a Itanium, if not match, it a Pa-risc. am'i right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2009 08:22 PM
12-23-2009 08:22 PM
Re: how to distinguish whether a server is IA or PA-RISC architecture
man uname
http://docs.hp.com/en/B2355-60130/uname.1.html
"[...] On Itanium(R)-based systems, this
option always displays ia64. [....]"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2009 11:06 PM
12-23-2009 11:06 PM
Re: how to distinguish whether a server is IA or PA-RISC architecture
I have seen some rare cases like model string changed manually to something else.
But still, I think model will be the best option.
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2009 12:30 AM
12-24-2009 12:30 AM
Re: how to distinguish whether a server is IA or PA-RISC architecture
It is far easier to parse the output of Steven's "uname -m" than the zillions of model strings.
if [ $(uname -m) = ia64 ]; then
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2009 12:59 AM
12-24-2009 12:59 AM
Re: how to distinguish whether a server is IA or PA-RISC architecture
i'll choose the easiest one :).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2009 01:13 AM
12-24-2009 01:13 AM
Re: how to distinguish whether a server is IA or PA-RISC architecture
run model command , if model number starts with RP**** then it's PA-RISC if model number starts with RX**** or BL**** then it's IA
Javed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2009 01:15 AM
12-24-2009 01:15 AM
Re: how to distinguish whether a server is IA or PA-RISC architecture
# model
9000/800/L3000-7x
I guess older hardware might not give rp****
:)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2009 02:30 AM
12-24-2009 02:30 AM
Re: how to distinguish whether a server is IA or PA-RISC architecture
if i am correct L3000-7X is nothing but RP5470
Javed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2009 03:23 AM
12-24-2009 03:23 AM
Re: how to distinguish whether a server is IA or PA-RISC architecture
>>> if i am correct L3000-7X is nothing but RP5470
Yes
>>> if model number starts with RP**** then it's PA-RISC
NOT in every case
As can be seen:
# model
9000/800/L3000-7x
Though the server L3000 (RP5470) is pa-risc but still "model" command does NOT say RP**** (in writing).
>>> i have a shell script, in this script, i need to estimate whether the server is a PA-Risc or IA
And when comes to scripting we should try to use a command which gives output as GENERAL as possible. "model" command starts with 9000 (this means it is pa-risc). This, I think is more general and better for scripting purpose.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2009 03:35 AM
12-24-2009 03:35 AM
Re: how to distinguish whether a server is IA or PA-RISC architecture
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2009 08:08 AM
12-27-2009 08:08 AM