- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rlogin to package name
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
Discussions
Discussions
Forums
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
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
тАО10-24-2006 04:30 PM
тАО10-24-2006 04:30 PM
I have defined .rhosts files with the hostnames on which the MC/SG package runs and also the package e.g.
hostA root
hostB root
pack1 root
If the package runs on hostA, I can perform "rlogin pack1" from hostB successfully.
But with package running on hostA, if I login to hostA and perform "rlogin pack1" it fails !
Any idea what is the issue?
br
Manminder
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2006 05:49 PM
тАО10-24-2006 05:49 PM
Re: rlogin to package name
You don't log into package names.
Your network is not set up to resolve package names. Its set up to resolve ip addresses and if DNS or /etc/hosts is set a name to an ip address.
If you have set up a floating ip address in the package control script pack1 then you can set up /etc/hosts or your DNS server to resolve that name to the numeric ip address of the floating ip address of the package.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2006 06:06 PM
тАО10-24-2006 06:06 PM
Re: rlogin to package name
1. /etc/hosts entry has been created for the package name
2. I can successfully ping the package name
3. the rlogin asks me for passwd when doing it from the same machine where the pacakge is running. but if i do it from the other machine where it is not running it allows me to login without asking for the passwd.
4. I have the same entry in both /.rhosts
br
Manminder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2006 06:38 PM
тАО10-24-2006 06:38 PM
Re: rlogin to package name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2006 06:45 PM
тАО10-24-2006 06:45 PM
Re: rlogin to package name
This is nothing to do with service name. The package is starting up some applications which need to do rcp/remsh etc. I am using the package name as the target. e.g. rcp Pack1:/tmp/1 /var/tmp/1
Now if the command is run on the as to where Pack1 is running it is not ok, but from a different host then it is ok.
I hope I am getting the issue through, or perhaps I need to reword?
br
Manminder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2006 07:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2006 07:27 PM
тАО10-24-2006 07:27 PM
Re: rlogin to package name
Worked :-)
Had to put in the
br
Manminder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2006 09:54 PM
тАО10-25-2006 09:54 PM
Re: rlogin to package name
This is a name resolution issue.
Include your "IP package_name" pair on your /etc/hosts file for every package on every host.
X.X.X.X package1
X.X.X.Y package2
Check /etc/nsswitch.conf to resolve hosts by files (and something else, like DNS).
for example:
...
hosts: files [NOTFOUND=continue] dns
...
rlogin as usual.