07-01-2009
use "ipmp_adm" to disable the unwanted connection... (don't remenber if this is the right command... but it was something like this!)
i just checked on my virtual solaris. the command is "if_mpadm".
Last edited by DukeNuke2; 07-01-2009 at 05:50 PM..
Reason: checked command
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone, I am sort of new to shell scripting,
I have a bunch of files that begin with 'blah' and I want to rename those files with something different (renamedFile1, renamedFile2, renamedFileN). I don't want to go through each file and rename them with the mv command. Could I just use a for... (4 Replies)
Discussion started by: kcor
4 Replies
2. UNIX for Dummies Questions & Answers
I want to move and compress a big export file.
Like mv file_exp /filesystem/file_exp |compress
The file system is too small to compress and move with 2 steps.
What is the best command for me. I'm running solaris.
:confused: (1 Reply)
Discussion started by: simquest
1 Replies
3. Shell Programming and Scripting
Hi,
We use an application that is dumping logs to a file on disk. However, this is dumping very verbosely and there is no method of turning down the logging level. We need to remove certain contents from these before they are commited to disk.
Has anybody got any ideas how I can do this... (3 Replies)
Discussion started by: harperonline
3 Replies
4. Shell Programming and Scripting
Hi All,
I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:(
Thanks,
Rico (1 Reply)
Discussion started by: carnegiex
1 Replies
5. Shell Programming and Scripting
Hi,
I am creating files in a folder on the fly with arbritrary names but same extension (say, ".img"). How can I read each filename from the folder through a script.
regards
Angshuman (2 Replies)
Discussion started by: angshuman_ag
2 Replies
6. What is on Your Mind?
This is great!
Lqh8e2KYIrU (8 Replies)
Discussion started by: Neo
8 Replies
7. Red Hat
Hi all Expertise,
I have following issue to solve,
SSL / TLS Renegotiation DoS (low) 222.225.12.13
Ease of Exploitation Moderate
Port 443/tcp
Family Miscellaneous
Following is the problem description:------------------
Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Discussion started by: manalisharmabe
2 Replies
8. HP-UX
Hi,
I have an old HPUX 10.20 server running Informix 7.23
I need to dump the database to get it off that hardware before it dies.
Unfortunately there is insufficient local diskspace to do so.
I have set up a linux box with sufficient disk onto which I can export the database.
Having... (1 Reply)
Discussion started by: fella
1 Replies
9. OS X (Apple)
Hi all...
Had an idea tonight which could really enhance shell scripting for me.
Yes I am aware there could be difficulties but......
Creating a C script inside the shell script to do a task, (a simple text print to stdout in
this example), compiling it on the fly, making sure it is... (4 Replies)
Discussion started by: wisecracker
4 Replies
10. Shell Programming and Scripting
Hi all,
I am calling a zsh script from batch file .
This zsh just removes the trigger file in a particular directory.File name is passed as a parameter from the batch file Problem is this batch is called in multiple other batch files and sometimes system says file cant be used as it is used... (4 Replies)
Discussion started by: Hypesslearner
4 Replies
LEARN ABOUT LINUX
if_mpadm
if_mpadm(1M) System Administration Commands if_mpadm(1M)
NAME
if_mpadm - change operational status of interfaces within a multipathing group
SYNOPSIS
/usr/sbin/if_mpadm -d interface_name
/usr/sbin/if_mpadm -r interface_name
DESCRIPTION
Use the if_mpadm utility to change the operational status of interfaces that are part of an IP multipathing group. If the interface is
operational, you can use if_mpadm -d to detach or off-line the interface. If the interface is off-lined, use if_mpadm -r to revert it to
its original state.
When a network interface is off-lined, all network access fails over to a different interface in the IP multipathing group. Any addresses
that do not failover are brought down. Network access includes unicast, broadcast, and multicast for IPv4 and unicast and multicast for
IPv6. Addresses marked with IFF_NOFAILOVER do not failover. They are marked down. After an interface is off-lined, the system will not use
the interface for any outbound or inbound traffic, and the interface can be safely removed from the system without any loss of network
access.
The if_mpadm utility can be applied only to interfaces that are part of an IP multipathing group.
OPTIONS
The if_mpadm utility supports the following options:
-d interface_name Detach or off-line the interface specified by interface_name.
-r interface_name Reattach or undo the previous detach or off-line operation on the interface specified by interface_name. Unless
the -d option was used to detach or off-line the interface, this option will fail.
EXAMPLES
Example 1: Detaching an Interface
Use the following command to off-line or detach the interface. All network access will failover from hme0 to other interfaces in the same
IP multipathing group. If no other interfaces are in the same group, the operation will fail.
example% if_mpadm -d hme0
Example 2: Reattaching an Off-line Interface
Use the following command to undo the previous operation. Network access will failback to hme0.
example% if_mpdadm -r hme0
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Unstable |
+-----------------------------+-----------------------------+
SEE ALSO
ifconfig(1M), in.mpathd(1M), attributes(5)
DIAGNOSTICS
off-line failed as there is no other functional interface available in the multipathing group for failing over the network access.
This message means that other interfaces in the group are failed over already or the multipathing configuration was not suitable for com-
pleting a failover.
off-line cannot be undone because multipathing configuration is not consistent across all the interfaces in the group.
This message means that some interfaces in the IP multipathing group are not configured consistently with other interfaces in the group,
for example, one of the interfaces in the group does not have an IFF_NOFAILOVER address.
SunOS 5.10 3 Sep 2002 if_mpadm(1M)