I am managing a linux cluster which has been build on Platform Cluster Manager PCM 1.2.1) from IBM Platform Computing. Unfortunately somebody deteled data files of postgresql from /var/lib directory. I somehow managed to start the postmaster service again, but all the administrative commands of cluster are not not working. like addhost
I dont want to rebuild cluster as it will lead to the loss of much effort which I did on installing certain applications and running them on the cluster.
Please help me !
Last edited by Scott; 02-12-2013 at 06:21 AM..
Reason: Code tags
Help!
SCO Unix 5.05.
A relatievely new system went down on me today. I got the dreaded error:
Out of Space on Device (1/42).
I was able to clear up some space in the /tmp directory, however, when I try to boot, the system prompts me to go into single user mode and I get the... (2 Replies)
Hi guys,
For some reason a client has given us a Sun Netra T1 with Solaris 8 to administer for them. That's always good business. However, the other day we rebooted the machine and to our amazement, after doing the preliminary hardware tests, we got an error messgae saying that /etc/inittab was... (3 Replies)
Hmm, how to ask this without sounding too malicious...
How might one go about causing a disk corruption in OS X specifically or via the command line in UNIX in general?
Doesnt matter the severity of the problem, I just want to scare the person a little, then fix the problem for them.
Any... (1 Reply)
I have been fine adding/removing printers up until this week. Now when I go to add a new remote printer I get "corrupted member file". I go to /etc/lp/member and the byte count on the new printer name is 0. I VI the file and put /dev/null in to make it the correct size and it all looks fine and... (2 Replies)
Hi All,
Has anyone of you connected to a remote PostgreSQL database through a shell/perl script. Can you please let me know the steps involed?
Thanks.
Rahul. (0 Replies)
Hallo Friends,
I have application X running on hpux 11.11 and oracle 9i release 2. I recently had a hardware failure on disk /dev/dsk/c2t0d0
Below is the systemlog file :
root@a7dmc:/var/adm/syslog > /opt/resmon/bin/resdata -R 155713541 -r /storage/events/enclosures/gazemon/0_1_1_0.0.0... (11 Replies)
Hi
I have a small bash script which I want to run on an Amazon EC2 Ubuntu instance for setting up a postgreSQL database:
#!/bin/bash
USERNAME='postgres'
start=$SECONDS
TMP_DIR=/local/test/4g4d
PORT=23456
rm -rf $TMP_DIR/db
mkdir -p $TMP_DIR/
echo "creating database..."... (3 Replies)
Discussion started by: Helveticus
3 Replies
LEARN ABOUT CENTOS
clusvcadm
clusvcadm(8) Red Hat Cluster Suite clusvcadm(8)NAME
clusvcadm - Cluster User Service Administration Utility
SYNOPSIS
clusvcadm [-d <service> ] [-e <service> ] [-l] [-u] [-S] [-m <member> ] [-r <service> ] [-R <service> ] [-M <service> ] [-Z <service> ] [-U
<service> ] [-s <service> ] [-v]
DESCRIPTION
The clusvcadm command allows an administrator to enable, disable, relocate, and restart user services in a cluster. In order to perform
cluster service operations, the cluster daemons must be running (and have quorum) on the member system on which the command is invoked.
OPTIONS -d <service>
Stops and disables the user service named service
-e <service>
Enables and starts the user service named service
-l Lock services in preparation for cluster shutdown. This should only be used if the administrator intends to perform a global, clus-
ter wide shutdown. This prevents services from starting (but not stopping, like -Z does). Once the cluster quorum is dissolved,
this state is reset. If a new instance of rgmanager boots while others are locked, the behavior is undefined.
-u Unlock resource group managers. This allows services to start again.
-S Display whether the resource group managers are locked or not. This can be used to verify the correct operation of the -l and -u
options, but is only useful for debugging.
-m <member>
When used in conjunction with either the -e or -r options, this specifies the preferred target member on which to start the service.
-r <service>
Relocates the user service named service to another cluster member.
-R <service>
Restarts the user service named service on the cluster member on which it is currently running.
-M <service>
Use a special "migration" operation to move the user service named service to another cluster member. Currently, this is only use-
ful for virtual machines. Use of migration usually requires special configuration of the local virtual machine manager in order to
work correctly.
-Z <service>
Freezes the service named service on the cluster member on which it is currently running. This will prevent status checks of the
service as well as failover in the event the node fails or rgmanager is stopped.
-U <service>
Unfreezes the user service named service on the cluster member on which it is currently running. This will re-enable status checks.
-s <service>
Stops the service named service until a member transition or until it is enabled again.
-v Display version information and exit.
NOTES
Executing -U (unfreeze) on a service which was frozen in the started state while the service owner is offline results in an undefined (and
possibly dangerous) condition. Manually ensure all resources are clear before doing this.
SEE ALSO clustat(8)
Jan 2005 clusvcadm(8)