05-27-2010
Thank you all for your valuable suggestions....I have shutdown the cluster using the scshutdown and OK prompt, executed "boot"
10 More Discussions You Might Find Interesting
1. High Performance Computing
Hi ! I have a simple setup of 2 PC (with linux Red-Hat) where the first PC is the primary machine and the second the backup. I use DRBD for data replication and Red-Hat cluster suite for HA (High Availability). I have tested both.
Now I NEED a COMMON IP ADDRESS (or Master/unique IP address) for... (0 Replies)
Discussion started by: Danny Gilbert
0 Replies
2. UNIX for Dummies Questions & Answers
Hi ! I have a simple setup of 2 PC (with linux Red-Hat) where the first PC is the primary machine and the second the backup. I use DRBD for data replication and Red-Hat cluster suite for HA (High Availability). I have tested both.
Now I NEED a COMMON IP ADDRESS (or Master/unique IP address) for... (3 Replies)
Discussion started by: Danny Gilbert
3 Replies
3. Red Hat
Hi all, i have 3 nodes cluster (Centos 5 cluster suit) with out quorum disk,
node vote = 1,
the value of a quorum = 2,
when 2 nodes going offline, cluster services are destoys.
How i can save the cluster and all services(move all services to one alive node)
with out quorum disk when other... (3 Replies)
Discussion started by: Flomaster
3 Replies
4. Solaris
Hi
we have 2 solaris 10 servers in veritas cluster.
also we have oracle cluster on the database end.
now we have a requirement to reboot both the servers as it has been running for more than a year.
can any one tell what is the procedure to bring down the cluster services in both the nodes... (7 Replies)
Discussion started by: newtoaixos
7 Replies
5. Solaris
Hey Admins,
I am running sun cluster 3.2 x86 on Vmware. I m facing an issue from 2 days..
One main node is continuously rebooting..... not sure... whats woring...
I just had change heartbeat timeout values on 1 this node... Now both node are just rebooting itself..seems panic..
Any... (1 Reply)
Discussion started by: snchaudhari2
1 Replies
6. Red Hat
Hi all.
May I get some expert advice on troubleshooting performance issues of a 1000 nodes Apache LB cluster. Users report slow loading/response of webpages. Different websites are hosted on this cluster for different clients. But all are reporting the same issue.
Could you please let me know... (1 Reply)
Discussion started by: admin_xor
1 Replies
7. AIX
Hi,
A customer I'm supporting once upon a time broke their 2 cluster node database servers so they could use the 2nd standby node for something else. Now sometime later they want to bring the 2nd node back into the cluster for resilance. Problem is there are now 3 VG's that have been set-up... (1 Reply)
Discussion started by: elcounto
1 Replies
8. UNIX for Advanced & Expert Users
Is there any way to create a arbitrary node for ocfs2 on a virtual machine (others are physical servers) so it won't go panic when one of physical server goes down?
This is for load balanced application servers.
Any setting example or tips?
Thanks. (0 Replies)
Discussion started by: malayo
0 Replies
9. Red Hat
Hi All;
I try to build a Redhat Cluster (CentOS 6) on vmware. But each node sees the other down like:
# clustat
Cluster Status for mycluster @ Wed Apr 8 11:01:38 2015
Member Status: Quorate
Member Name ID Status
------ ---- ... (0 Replies)
Discussion started by: Meacham12
0 Replies
10. Red Hat
Hi All;
I try to build a Redhat Cluster (CentOS 6) on vmware. But each node sees the other down like:
# clustat
Cluster Status for mycluster @ Wed Apr 8 11:01:38 2015
Member Status: Quorate
Member Name ID Status
------ ---- ... (1 Reply)
Discussion started by: Meacham12
1 Replies
LEARN ABOUT PHP
register_shutdown_function
REGISTER_SHUTDOWN_FUNCTION(3) 1 REGISTER_SHUTDOWN_FUNCTION(3)
register_shutdown_function - Register a function for execution on shutdown
SYNOPSIS
void register_shutdown_function (callable $callback, [mixed $parameter], [mixed $...])
DESCRIPTION
Registers a $callback to be executed after script execution finishes or exit(3) is called.
Multiple calls to register_shutdown_function(3) can be made, and each will be called in the same order as they were registered. If you
call exit(3) within one registered shutdown function, processing will stop completely and no other registered shutdown functions will be
called.
PARAMETERS
o $callback
- The shutdown callback to register. The shutdown callbacks are executed as the part of the request, so it's possible to send
output from them and access output buffers.
o $parameter
- It is possible to pass parameters to the shutdown function by passing additional parameters.
o $...
-
RETURN VALUES
No value is returned.
ERRORS
/EXCEPTIONS
If the passed callback is not callable a E_WARNING level error will be generated.
EXAMPLES
Example #1
register_shutdown_function(3) example
<?php
function shutdown()
{
// This is our shutdown function, in
// here we can do any last operations
// before the script is complete.
echo 'Script executed with success', PHP_EOL;
}
register_shutdown_function('shutdown');
?>
NOTES
Note
Working directory of the script can change inside the shutdown function under some web servers, e.g. Apache.
Note
Shutdown functions will not be executed if the process is killed with a SIGTERM or SIGKILL signal. While you cannot intercept a
SIGKILL, you can use pcntl_signal(3) to install a handler for a SIGTERM which uses exit(3) to end cleanly.
SEE ALSO
auto_append_file, exit(3), The section on connection handling.
PHP Documentation Group REGISTER_SHUTDOWN_FUNCTION(3)