07-20-2011
Quote:
Originally Posted by
pludi
Why should it have a maximum uptime? My private Linux machine was running for 2 years straight until a power outage, and I've seen corporate machines with various Unixes running 5+ years.
and it will be a nightmare if you are tasked to do a reboot of these long running machines... lolz. might not come up like you expected them to.
10 More Discussions You Might Find Interesting
1. Solaris
Hi, i am really 'fresh' to Solaris or any UNIX OS. My role as web developer but i need slightly involve to Solaris support. It is harder for me to understand it and i recently encounter a problems.
/var file system (/dev/md/rdsk/d425) is being checked.
run fsck -F ufs /dev/md/rdsk/d425
... (8 Replies)
Discussion started by: webster5u
8 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have 2 queries
1 .when I run some unix command, I am getting the output of "time" at std output (screen)
for eg
zegrep <pattern> *.v.gz
I almost found the reason but not sure, if the no of files matching *.v.gz is more then I am getting the time command output at the... (5 Replies)
Discussion started by: selvaka
5 Replies
3. Solaris
Hi, Here is the issue: There are 4 disks on this Sun x4150 system under Solaris 10, but only 1 disk can be seen by the OS. I've tried commands disks and devfsadm but not working. It's an important production server, so 'reboot -r' is not a choice.
# format < /dev/null
Searching for... (6 Replies)
Discussion started by: aixlover
6 Replies
4. Solaris
So I have a lot of equipment in San Diego racks and there was a recent county-wide black out. Our data racks are supposedly on diesel generators. Most everything made it through the outage just fine without any issue.
But for whatever reason, one of our X4540's developed a quirky habit of... (3 Replies)
Discussion started by: genkuro
3 Replies
5. Hardware
Hello,
I am trying to perform Suse 10 SP3 installation via network in 6 Sun Fire 4270 M2 servers.
The problem is that even if i set first prio boot device the hard disk the system always try to boot from network.And after the first restart the BIOS setting has been lost(and PXE come first... (2 Replies)
Discussion started by: @dagio
2 Replies
6. Shell Programming and Scripting
how can avoid column names that start with Nx_*?
file1
name Nx_8977 Nx_988 NN
a1 2 0 8
b1 2 0 8
ouput
name NN
a1 8
b1 8 (5 Replies)
Discussion started by: quincyjones
5 Replies
7. Red Hat
We have Linux Server crash on last Friday of 25th It's is running on IBM x3650 hardware. We Have Red Hat Enterprise Linux Server release 5.9 (Tikanga) running on top of it.
We were told to do Root Cause Analysis. So, Apart from looking /var/log/messages, Where can we check to get details on... (3 Replies)
Discussion started by: Sunil Koya
3 Replies
8. Shell Programming and Scripting
Can someone help in writing some script through which I can transfer file (scp) from root user in abc server to crt user in hfg server and can give the crt user password in script itself so that it doesn't prompt me every time for password (4 Replies)
Discussion started by: Moon1234
4 Replies
9. Solaris
Hi,
anyone please let us know how to write shell script to find the missing mountpoints after server reboot.
i want to take the mountpount information before server reboot, and validate the mountpoints after server reboot if any missing.please let us know the shell script from begining to end as... (24 Replies)
Discussion started by: VenkatReddy786
24 Replies
10. AIX
Hi everyone,
We had a power outage few days ago, and I got the servers up and running but I was informed to look into, if there is a way to bring up the servers automatically/defaultly.
I was told the windows admin has their server set up where the servers are up automatically if there is a... (11 Replies)
Discussion started by: Adnans2k
11 Replies
LEARN ABOUT DEBIAN
fence_xenapi
FENCE_AGENT(8) System Manager's Manual FENCE_AGENT(8)
NAME
fence_xenapi - XenAPI based fencing for the Citrix XenServer virtual machines.
DESCRIPTION
fence_cxs is an I/O Fencing agent used on Citrix XenServer hosts. It uses the XenAPI, supplied by Citrix, to establish an XML-RPC sesssion
to a XenServer host. Once the session is established, further XML-RPC commands are issued in order to switch on, switch off, restart and
query the status of virtual machines running on the host.
fence_xenapi accepts options on the command line as well as from stdin. Fenced sends parameters through stdin when it execs the agent.
fence_xenapi can be run by itself with command line options. This is useful for testing and for turning outlets on or off from scripts.
PARAMETERS
-o, --action=<action>
Fencing Action (Default Value: reboot)
-l, --username=<name>
Login Name
-p, --password=<password>
Login password or passphrase
-S, --password-script=<script>
Script to retrieve password
-n, --plug=<id>
Physical plug number or name of virtual machine This parameter is always required.
-s, --session-url
The URL of the XenServer host. This parameter is always required.
-U, --uuid
The UUID of the virtual machine to fence.
-v, --verbose
Verbose mode
-D, --debug-file=<debugfile>
Write debug information to given file
-V, --version
Display version information and exit
-h, --help
Display help and exit
-C, --separator=<char>
Separator for CSV created by operation list (Default Value: ,)
--power-timeout
Test X seconds for status change after ON/OFF (Default Value: 20)
--shell-timeout
Wait X seconds for cmd prompt after issuing command (Default Value: 3)
--login-timeout
Wait X seconds for cmd prompt after login (Default Value: 5)
--power-wait
Wait X seconds after issuing ON/OFF (Default Value: 0)
--delay
Wait X seconds before fencing is started (Default Value: 0)
--retry-on
Count of attempts to retry power on (Default Value: 1)
ACTIONS
on Power on machine.
off Power off machine.
reboot Reboot machine.
status This returns the status of the plug/virtual machine.
list List available plugs with aliases/virtual machines if there is support for more then one device. Returns N/A otherwise.
monitor
Check if fencing device is running. List available plugs/virtual machines or get status of machine (if it does not support more).
metadata
The operational behavior of this is not known.
STDIN PARAMETERS
action Fencing Action (Default Value: reboot)
login Login Name
passwd Login password or passphrase
passwd_script
Script to retrieve password
port Physical plug number or name of virtual machine This parameter is always required.
session_url
The URL of the XenServer host. This parameter is always required.
uuid The UUID of the virtual machine to fence.
verbose
Verbose mode
debug Write debug information to given file
version
Display version information and exit
help Display help and exit
separator
Separator for CSV created by operation list (Default Value: ,)
power_timeout
Test X seconds for status change after ON/OFF (Default Value: 20)
shell_timeout
Wait X seconds for cmd prompt after issuing command (Default Value: 3)
login_timeout
Wait X seconds for cmd prompt after login (Default Value: 5)
power_wait
Wait X seconds after issuing ON/OFF (Default Value: 0)
delay Wait X seconds before fencing is started (Default Value: 0)
retry_on
Count of attempts to retry power on (Default Value: 1)
fence_xenapi (Fence Agent) 2009-10-20 FENCE_AGENT(8)