The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



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

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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-01-2008
kenshinhimura kenshinhimura is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 65
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
  #2 (permalink)  
Old 04-01-2008
invinzin21 invinzin21 is offline
Registered User
  
 

Join Date: Dec 2007
Location: Philippines, Cebu City
Posts: 75
i do not have problem in aix, but i also encountered error in HPUX.hope someone could help us
  #3 (permalink)  
Old 04-09-2008
kenshinhimura kenshinhimura is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 65
# 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
#
  #4 (permalink)  
Old 04-10-2008
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,568
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
  #5 (permalink)  
Old 04-10-2008
kenshinhimura kenshinhimura is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 65
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
  #6 (permalink)  
Old 04-11-2008
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,568
Yep, and I hope you understand I dont want to be blamed for corrupted HP servers by giving unsupported solutions and leaving unix.com in a delicate position ...

Im off to Paris (IBM TSM tuition...) next week, so if you agree, I will give you a few thoughts to meditate so you can build up some arguments/solutions/questions etc...
On my return we may discuss about what you think about them and try to elaborate some solution that may satisfy all of us, and perhaps with this approach, others may enter the discussion and construct a great "How To" for the community...
Closed Thread

Bookmarks

Tags
linux, linux commands, solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB 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 -4. The time now is 10:58 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0