Hi all,
I have done ssh-keygen to two servers in work place and given there entry for authorized_keys. I m able to ssh to other servers without asking password. But i face problem while trying to run a command or script on other server. It is throwing an Error.
$ ssh... (4 Replies)
Hi,
I want to run a particular script present in a different server.
At the moment I am trying to run it like this:
(sleep 3; echo $USERID; sleep 1; echo $PASSWORD ; sleep 1 ; sleep 1 ;
echo "nohup perl myscript.pl $* &")| telnet "$server"
But the problem is that once the script has... (6 Replies)
We have some AIX Unix Servers with 4 or 6 CPU and when type this command “c” in nmon always displays each cpu % with Averages on buttom. However we have several Servers with 18 CPU's and it only shows 16 17 on main page. Does nmon have some command that would show remaining with totals for Physical... (3 Replies)
Hi guys ,
I want to run a specific command from one server to another.
For example I have a server called A(client) and a server called B(Server).
How would i fire a command on Server(B) while working on Client(A).
One way of doing it is using ssh
"ssh -tq 10.180.8.231 ls -ltr"
but... (3 Replies)
If i have one server processing some feeds and creating a database. Then i want to copy the relevant tables from the first server to the second server. I have a shell script to do the copy. I was going to make a cron to run the script at a certain time. But it would not be ideal. I really want... (8 Replies)
Hi All,
I am using a expect script to run a shell script on remote server, the code is as follows. But the problem is that it executes only first command, and hangs it doesn't run the next commands.
spawn ssh $uid@$host
expect "password:"
send "$password\r"
expect "*\r"
send... (2 Replies)
hi,
I am using the below line to run a script from remote server(say server A) to another server(say server B).
ssh username@servername ksh script name.
The issue is the script logs into server B, executes the script on server B, transfers the file to server A but does not exit from... (4 Replies)
hi,
I need script to perform below task.
1. Read the IP address
2. copy the script from origin server to destination.
3. get root access on destination server
4. run the script on destination server
5. return to the origin server
Code:
#!/bin/bash
echo "Enter Server IP... (5 Replies)
I want to grab all the luns in vscsi disks from vio that are assigned to client lpars. They are not powerpath disks. Now when I do lspv as root in vio server I see 956 disks..the problem right now is that each disks lun are in hex so when I do lscfg vpl from vio..the FRU number is on hex.
Can... (3 Replies)
local script:
cat > first.sh
cd /tmp
echo $PWD
echo `whoami`
cd /tmp/123
tar -cvf 789.tar 456
sleep 10
except script:
cat > first
#!/usr/bin/expect
set ip 10.5.15.20
set user "xyz123"
set password "123456"
set script first.sh
spawn sh -c "ssh $user@$ip bash < $script" (1 Reply)
Discussion started by: Aditya Avanth
1 Replies
LEARN ABOUT CENTOS
fence_kdump_send
fence_kdump_send(8) System Manager's Manual fence_kdump_send(8)NAME
fence_kdump_send - send kdump acknowlegement message to cluster nodes
SYNOPSIS
fence_kdump_send [OPTIONS]... [NODE]...
DESCRIPTION
fence_kdump_send is a utility used to send messages that acknowledge that the node has entered the kdump crash recovery service. This util-
ity is intended to be used the the fence_kdump agent as a means detect that a failed node has entered the kdump crash recovery service.
The fence_kdump_send utility is typically run from within the kdump kernel after a cluster node has encountered a kernel panic. Once the
cluster node has entered the kdump crash recovery service, fence_kdump_send will periodically send messages to all cluster nodes. When the
fence_kdump agent receives a valid message from the failed node, fencing is complete.
OPTIONS -p, --ipport=PORT
IP port number that the fence_kdump agent is using to listen for messages. (default: 7410)
-f, --family=FAMILY
IP network family. Force the fence_kdump_send utility to use a particular network family. Value for FAMILY can be "auto", "ipv4", or
"ipv6". (default: auto)
-c, --count=COUNT
Number of messages to send. If COUNT is zero, fence_kdump_send will send messages indefinitely. (default: 0)
-i, --interval=INTERVAL
Time to wait between sending a message. The value for INTERVAL must be greater than zero. (default: 10)
-v, --verbose
Print verbose output.
-V, --version
Print version and exit.
-h, --help
Print usage and exit.
AUTHOR
Ryan O'Hara <rohara@redhat.com>
SEE ALSO fence_kdump(8), mkdumprd(8), kdump.conf(5)fence_kdump_send(8)