The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
remsh working one way xramm SUN Solaris 2 10-16-2007 01:57 AM
remsh kazanoova2 UNIX for Dummies Questions & Answers 3 12-21-2004 06:39 AM
remsh question aaareyes UNIX for Dummies Questions & Answers 2 06-04-2003 12:10 PM
remsh and run script bugggg Shell Programming and Scripting 1 11-13-2002 01:23 PM
remsh and nohup tavaresd UNIX for Dummies Questions & Answers 2 09-10-2002 06:28 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-01-2008
Registered User
 

Join Date: Feb 2008
Posts: 37
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
change ip via remsh

guys,wanted to ask how tochange IP via remote.
remsh is fine w/ me. but when chaging the ip it doesnt work in remsh.could you please help.

# remsh server1 -l root uname -a
HP-UX server1 B.11.23 U ia64 0618444750 unlimited-user license
#

# remsh server1 -l root ifconfig lan1 10.131.3.95
sh: ifconfig: not found.
#

that is the output
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-01-2008
Registered User
 

Join Date: Dec 2007
Location: Philippines, Cebu City
Posts: 65
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
i do not have problem in aix, but i also encountered error in HPUX.hope someone could help us
Reply With Quote
  #3 (permalink)  
Old 04-09-2008
Registered User
 

Join Date: Feb 2008
Posts: 37
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
# remsh server3 useradd
sh: useradd: not found.

# remsh server3 uname -a
HP-UX server3 B.11.11 U 9000/800 scipl3 unlimited-user license

# remsh server3 ifconfig lan1
sh: ifconfig: not found.
#

Could someone explain this to me? Why is it ok to aix? How can i change Ip to hp ux and do administration?

# remsh server2 uname -a
AIX server2 2 5 00382C9C4C00

# remsh server2 ifconfig en0
en0: flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD,P SEG,CHAIN>
inet 10.131.3.49 netmask 0xff000000 broadcast 10.255.255.255
inet 10.131.3.46 netmask 0xffffff00 broadcast 10.131.3.255
tcp_sendspace 524288 tcp_recvspace 524288
#
# remsh ondemand02 useradd tester2
3004-689 User "tester2" exists.
# remsh ondemand02 useradd tester6
#
Reply With Quote
  #4 (permalink)  
Old 04-10-2008
vbe vbe is offline
Registered User
 

Join Date: Sep 2005
Posts: 292
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Why is it ok to aix?
Because aix isnt hpux... ( I can remsh and get ipconfig on hpux, but then I know also how hpux works and so would never do such thing...)
How can i change Ip to hp ux and do administration?
Already answered but I will repeat for a last time
In your case ( the knowledge you have shown)
>How can i change Ip to hp ux ===> man set_parms
>do administration? ===> man sam
Reply With Quote
  #5 (permalink)  
Old 04-10-2008
Registered User
 

Join Date: Feb 2008
Posts: 37
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
yeah i know, what i am trying to say, how can i do remote administration? like remote useradd,change IP,lvextend,set_parms etc. via remote..all i can do in remsh to hpux, was just common commands like uname,ls,cat,bdf, no administrative command.

I can do administrative command via remote to aix,solaris. So far linux isnt working for me also.

i know how to do administrative command in hpux using command line or even sam.But how can i do it via remote, i can not find it in sam. What if my master server is AIX box or Solaris, Or Linux. I want to administrative my servers w/ different flavors. I am preparing for DR. I cant administrate the HPUX using my AIX box and linux.

I am restricted to HPUX,

# remsh serverhp useradd tester6
sh: useradd: not found.
# remsh serverhp set_parms
sh: set_parms: not found.
# remsh serverhp swlist
sh: swlist: not found.
# remsh serverhp lvextend
sh: lvextend: not found.
# remsh serverhp uname -a
HP-UX serverhp B.11.11 U 9000/800 scipl3 unlimited-user license
#

# remsh serveraix exportvg
0516-606 exportvg: Volume group name not entered.
Usage: exportvg VGname
Exports the definition of a volume group.
# remsh serveraix useradd tester6
3004-689 User "tester6" exists.
# remsh serveraix uname -a
AIX serveraix 2 5 00382C9C4C00


# remsh serversolaris ifconfig eri0
eri0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.131.7.25 netmask ff000000 broadcast 10.255.255.255
ether 0:3:ba:68:6e:f7
# remsh serversolaris uname -a
SunOS serversolaris 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Blade-100
# remsh serversolaris useradd tester
UX: useradd: ERROR: tester is already in use. Choose another.
# remsh serversolaris pkgadd
pkgadd: ERROR: no packages were found in </var/spool/pkg>
#


Does anyone there knows how to fix hpux and linux box
Reply With Quote
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 02:54 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102