Three CLI Methods to Find Console IP details on HP-UX by Dusan Baljevic
Upcoming SlideShare
Loading in...5
×
 

Three CLI Methods to Find Console IP details on HP-UX by Dusan Baljevic

on

  • 1,675 views

Three CLI Methods to Find Console IP details on HP-UX

Three CLI Methods to Find Console IP details on HP-UX

Statistics

Views

Total Views
1,675
Views on SlideShare
1,675
Embed Views
0

Actions

Likes
0
Downloads
1
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft Word

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Three CLI Methods to Find Console IP details on HP-UX by Dusan Baljevic Three CLI Methods to Find Console IP details on HP-UX by Dusan Baljevic Document Transcript

  • Dusan Baljevic dusan.baljevic@ieee.org Here are hidden methods to retrieve information about console setup from the HP-UX command-line... Method 1: # /opt/sfm/bin/CIMUtil -e root/cimv2 HP_ManagementProcessor Instance 0 Instance 0 : UniqueIdentifier : 0.23.164.153.221.37 ControllerType : 0 OtherControllerType : IPAddress :10.22.50.31 URL : https://10.22.50.31 Dedicated : 14 CreationClassName :HP_ManagementProcessor Name : Management Processor EnabledState : 2 OperationalStatus : 2 FirmwareRevision : F.002.023.000 LEDColour : 0 LEDBlinkRate : 0 NICCondition : 2 Method 2 (works in some versions): # /opt/hpsmh/data/htdocs/comppage/getMPInfo.cgi content-type: text/html parent.frames.CHPAppletFrame.chpMiscData.RIBName = "https://10.22.50.31"; parent.frames.CHPAppletFrame.chpMiscData.RIBLink = "https://10.22.50.31";
  • Method 3: # cat cim-request.xml <?xml version="1.0" encoding="utf-8" ?> <CIM CIMVERSION="2.0" DTDVERSION="2.0"> <MESSAGE ID="90108" PROTOCOLVERSION="1.0"> <SIMPLEREQ> <IMETHODCALL NAME="GetProperty"> <LOCALNAMESPACEPATH> <NAMESPACE NAME="root" /> <NAMESPACE NAME="cimv2" /> </LOCALNAMESPACEPATH> <IPARAMVALUE NAME="InstanceName"> <INSTANCENAME CLASSNAME="HP_ManagementProcessor"> <KEYBINDING NAME="CreationClassName"> <KEYVALUE VALUETYPE="string">HP_ManagementProcessor</KEYVALUE> </KEYBINDING> </INSTANCENAME> </IPARAMVALUE> <IPARAMVALUE NAME="PropertyName"> <VALUE>URL</VALUE> </IPARAMVALUE> </IMETHODCALL> </SIMPLEREQ> </MESSAGE> </CIM> # wbemexec cim-request.xml <?xml version="1.0" encoding="utf-8"?> <CIM CIMVERSION="2.0" DTDVERSION="2.0"> <MESSAGE ID="90108" PROTOCOLVERSION="1.0"> <SIMPLERSP> <IMETHODRESPONSE NAME="GetProperty"> <IRETURNVALUE> <VALUE> https://10.22.50.31 </VALUE> </IRETURNVALUE> </IMETHODRESPONSE> </SIMPLERSP> </MESSAGE> </CIM>