05-02-2008
Connecting To An External Network Using A logical (PACKAGE) IP Address
Hie everyone,
I am currently facing a problem whereby I can not connect to an external network from a package ip address on a HP-UX cluster. Below is the illustration:
Primary Server IP Address : n.n.n.202
Secondary Server IP Address : n.n.n.212
Package IP Address : n.n.n.211
Exterternal IP Address to connect to : x.x.x.1
When I try to connect to the external IP the IP for the Primary Server is the one being recognised instead of that of the package from which the application is running.
Question
Is there a way of overiding the system so that it can use the package ip address to connect to the external network rather than the system using the ip of the primary server upon which the package is running?
Cheers
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
i "accidentedly" added some logical ip address to my solaris 8 machine.
now i want to remove them. i already man ifconfig but some how i just keep getting the wrong syntax.
this is the command i used to add
ifconfig hme0 addif 192.168.100.10 netmask 255.255.2550.0 up
so, now... (2 Replies)
Discussion started by: champion
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have three ip address say x.x.x.x , y.y.y.y and z.z.z.z
I am connecting to x.x.x.x first and from there i am telnet y.y.y.y and getting into y and from there i am telnet to z
i want to know, can we write a script, which can automatically connect from x to y and from y to z..
is... (1 Reply)
Discussion started by: vasikaran
1 Replies
3. UNIX for Dummies Questions & Answers
I am interested in booting up my unix computer by connecting an external SCSI drive( intergraph) to it. The unix box is also an intergraph computer. Whenever I boot it, it gives me an error that says Drive not ready, Insert Boot Diskette in A. What am I doing wrong?
Any input would be... (3 Replies)
Discussion started by: teruotor
3 Replies
4. AIX
Hi all
I need command to give logical and physical IP Address for my machine.
thank you (1 Reply)
Discussion started by: magasem
1 Replies
5. IP Networking
I connect to my client's network via VPN. We have a UNIX box there & I would like to know IP address of my PC when I connect to UNIX box using Putty software. I checked this command - /usr/sbin/ifconfig -a and it showed me the output
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232... (4 Replies)
Discussion started by: gppande
4 Replies
6. UNIX for Dummies Questions & Answers
Hello, I need to write a program which sets server's ip address, router, network mask. Program also should set if it is an internal or external ip. Maybe someone can help me ? Any information from u is very useful :b:
I stopped at .. :(
#!/bin/sh
A=`hostname -i`
echo "server ip address is $A"... (4 Replies)
Discussion started by: zagaruika
4 Replies
7. OS X (Apple)
Hi, How can I use "mailx" command to send message to an email address like this?
echo "This email body" | mailx -s "my subject" "email@hostname.com"
There may be some setup required in sendmail or postfix??
OS = Snow Leopard 10.6 (4 Replies)
Discussion started by: FlyingSquirrel
4 Replies
8. Shell Programming and Scripting
Hi,
I am trying to find the external IP address of a server "XXX".
I logged into server "XXX" and executed nslookup XXX. output number is 123.23.23.45
Later, i have executed "curl http://whatismyip.org". This time i got a different number 611.34.63.22
Out of these two numbers, what number... (1 Reply)
Discussion started by: forums123456
1 Replies
9. Shell Programming and Scripting
hello. this is the code
#!/bin/sh
total1024=0
total2048=0
total8192=0
if ; then
if ; then
while read variable
do
if ; then
total1024=$(( $total1024 + 1 ))
fi
if ; then
total2048=$((... (4 Replies)
Discussion started by: Telis
4 Replies
10. Solaris
Hello,
How can I install a package on Solaris 11.# that is not part of the IPS repo? For example if I want to install vasclient.pgk on a Solaris 11 system? I have the .pkg files copied over to the system but the old pkgadd does not apply to solaris 11. package install don't work either. I... (1 Reply)
Discussion started by: fly3rs
1 Replies
LEARN ABOUT DEBIAN
bundle-package
BUNDLE-PACKAGE(1) BUNDLE-PACKAGE(1)
NAME
bundle-package - Package your needed .gem files into your application
SYNOPSIS
bundle package
DESCRIPTION
Copy all of the .gem files needed to run the application into the vendor/cache directory. In the future, when running bundle install(1)
bundle-install.1.html, use the gems in the cache in preference to the ones on rubygems.org.
GIT AND PATH GEMS
In Bundler 1.0, the bundle package command only packages .gem files, not gems specified using the :git or :path options. This will likely
change in the future.
REMOTE FETCHING
By default, if you simply run bundle install(1) bundle-install.1.html after running bundle package(1) bundle-package.1.html, bundler will
still connect to rubygems.org to check whether a platform-specific gem exists for any of the gems in vendor/cache.
For instance, consider this Gemfile(5):
source "http://rubygems.org"
gem "nokogiri"
If you run bundle package under C Ruby, bundler will retrieve the version of nokogiri for the "ruby" platform. If you deploy to JRuby and
run bundle install, bundler is forced to check to see whether a "java" platformed nokogiri exists.
Even though the nokogiri gem for the Ruby platform is technically acceptable on JRuby, it actually has a C extension that does not run on
JRuby. As a result, bundler will, by default, still connect to rubygems.org to check whether it has a version of one of your gems more spe-
cific to your platform.
This problem is also not just limited to the "java" platform. A similar (common) problem can happen when developing on Windows and deploy-
ing to Linux, or even when developing on OSX and deploying to Linux.
If you know for sure that the gems packaged in vendor/cache are appropriate for the platform you are on, you can run bundle install --local
to skip checking for more appropriate gems, and just use the ones in vendor/cache.
One way to be sure that you have the right platformed versions of all your gems is to run bundle package on an identical machine and check
in the gems. For instance, you can run bundle package on an identical staging box during your staging process, and check in the ven-
dor/cache before deploying to production.
June 2012 BUNDLE-PACKAGE(1)