9 More Discussions You Might Find Interesting
1. Web Development
Hi,
I'm on a Raspberry Pi with Raspbian Wheezy.
I urgently need to get MySQL running with PHP, but I get an error.
For example:
$con=mysql_connect("127.0.0.1","root","******","ids");
gives
PHP Fatal error: Call to undefined function mysql_connect()
So, I found I needed to install some... (2 Replies)
Discussion started by: FreddoT
2 Replies
2. Red Hat
I have removed php-5.1.6-27.el5 from our system. Because I installed it without mysql before.
How can I install php together with mysql.
# rpm -qa | grep mysql*
libdbi-dbd-mysql-0.8.1a-1.2.2
mysql-5.0.77-4.el5_4.2
mysql-server-5.0.77-4.el5_4.2
mysql-connector-odbc-3.51.26r1127-1.el5
##... (5 Replies)
Discussion started by: getrue
5 Replies
3. UNIX for Advanced & Expert Users
How do I configure kickstart server to install workstation using centos image and other workstation using redhat enterprise image.
I configured my kickstart server to auto install centos 5.3 and it working fine.
However I would like to configure kickstart server, so that workstation with... (1 Reply)
Discussion started by: hassan1
1 Replies
4. Linux
Hi every body i m new using mandriva 2009 spring linux and i need to cofigure my wifi i have nexx card 54M 8085 it drivers in windows say realtec (1 Reply)
Discussion started by: aaa1
1 Replies
5. Solaris
Hi All,
I am New to Open SSH. I need to install OpenSSH on Solaris 10. We tried with Sun-SSH1.1, but not helpful. So, we need to install only OpenSSH.
Few questions..
1. Is OpenSSH-4.1 compatible with Solaris 10?
2. if so, which version do I need to install? is it Portable or OpenBSD?
3.... (2 Replies)
Discussion started by: venusunil
2 Replies
6. Solaris
i facing this problen when following the 15 min tutorial on amaddclient. (2 Replies)
Discussion started by: conandor
2 Replies
7. SCO
I'm new in SCO 6. I installed SCO 6 with NIC driver Properly.
But I cann't install and Configure USB Printer In SCO 6.
Any one help me?
email: address deleted by the moderator (0 Replies)
Discussion started by: karzon
0 Replies
8. Solaris
I hope someone out there can help. I'm trying to install & configure Openssh to my Solaris, I downloaded & Installed the following pkgs :
openssh-4.4p1-sol8-sparc-local.gz
openssl-0.9.8d-sol8-sparc-local.gz
tcp_wrappers-7.6-sol8-sparc-local.gz
zlib-1.2.1-sol8-sparc-local.gz... (6 Replies)
Discussion started by: Remi
6 Replies
9. UNIX for Dummies Questions & Answers
how do i install php & mysql with apache on suse linux ???
apache was installed and configured when i installed linux.
all its files are in different folders. e.g http files in usr/local/httpd/htdocs/ and its configs are in etc/httpd/
so how do i install php and get it to work with apache and... (4 Replies)
Discussion started by: perleo
4 Replies
CRM_RESOURCE(8) [FIXME: manual] CRM_RESOURCE(8)
NAME
crm_resource - interact with the Cluster Resource Manager
SYNOPSIS
crm_resource [-?|-V|-S] -L|-Q|-W|-D|-C|-P|-p [options]
DESCRIPTION
The crm_resource command performs various resource-related actions on the cluster. It can modify the definition of configured resources,
start and stop resources, and delete and migrate resources between nodes.
--help, -?
Print the help message.
--verbose, -V
Turn on debug information.
Note
Increase the level of verbosity by providing additional instances.
--quiet, -Q
Print only the value on stdout (for use with -W).
COMMANDS
--list, -L
List all resources.
--query-xml, -x
Query a resource.
Requires: -r
--locate, -W
Locate a resource.
Requires: -r
--migrate, -M
Migrate a resource from its current location.
Use -H to specify a destination.
If -H is not specified, the resource is forced to move by creating a rule for the current location and a score of -INFINITY.
Note
This prevents the resource from running on this node until the constraint is removed with -U.
Requires: -r, Optional: -H, -f
--un-migrate, -U
Remove all constraints created by -M
Requires: -r
--delete, -D
Delete a resource from the CIB.
Requires: -r, -t
--cleanup, -C
Delete a resource from the LRM.
Requires: -r. Optional: -H
--reprobe, -P
Recheck for resources started outside the CRM.
Optional: -H
--refresh, -R
Refresh the CIB from the LRM.
Optional: -H
--set-parameter string, -p string
Set the named parameter for a resource.
Requires: -r, -v. Optional: -i, -s
--get-parameter string, -g string
Get the named parameter for a resource.
Requires: -r. Optional: -i, -s
--delete-parameter string, -d string
Delete the named parameter for a resource.
Requires: -r. Optional: -i
--get-property string, -G string
Get the named property (such as class, type, or is_managed) of a resource.
Requires: -r
--set-property string, -S string
Set the named property (not parameter) for a resource.
Requires: -r, -t, -v
OPTIONS
--resource string, -r string
Specify the resource ID.
--resource-type string, -t string
Specify the resource type (primitive, clone, group, etc.).
--property-value string, -v string
Specify the property value.
--host-uname string, -H string
Specify the hostname.
--force-relocation, -f
Force the resource to move by creating a rule for the current location and a score of -INFINITY
This should be used if the resource's stickiness and constraint scores total more than INFINITY (currently 100,000).
Note
This prevents the resource from running on this node until the constraint is removed with -U.
-s string
(Advanced Use Only) Specify the ID of the instance_attributes object to change.
-i string
(Advanced Use Only) Specify the ID of the nvpair object to change or delete.
EXAMPLES
Listing all resources:
crm_resource -L
Checking where a resource is running (and if it is):
crm_resource -W -r my_first_ip
If the my_first_ip resource is running, the output of this command reveals the node on which it is running. If it is not running, the
output shows this.
Start or stop a resource:
crm_resource -r my_first_ip -p target_role -v started
crm_resource -r my_first_ip -p target_role -v stopped
Query the definition of a resource:
crm_resource -Q -r my_first_ip
Migrate a resource away from its current location:
crm_resource -M -r my_first_ip
Migrate a resource to a specific location:
crm_resource -M -r my_first_ip -H c001n02
Allow a resource to return to its normal location:
crm_resource -U -r my_first_ip
Note
The values of resource_stickiness and default_resource_stickiness may mean that it does not move back. In such cases, you should
use -M to move it back before running this command.
Delete a resource from the CRM:
crm_resource -D -r my_first_ip -t primitive
Delete a resource group from the CRM:
crm_resource -D -r my_first_group -t group
Disable resource management for a resource in the CRM:
crm_resource -p is_managed -r my_first_ip -t primitive -v off
Enable resource management for a resource in the CRM:
crm_resource -p is_managed -r my_first_ip -t primitive -v on
Reset a failed resource after having been manually cleaned up:
crm_resource -C -H c001n02 -r my_first_ip
Recheck all nodes for resources started outside the CRM:
crm_resource -P
Recheck one node for resources started outside the CRM:
crm_resource -P -H c001n02
FILES
/var/lib/heartbeat/crm/cib.xml--the CIB (minus status section) on disk. Editing this file directly is strongly discouraged.
SEE ALSO
???, ???, lrmadmin(8), heartbeat(8)
AUTHOR
crm_resource was written by Andrew Beekhof.
[FIXME: source] 07/05/2010 CRM_RESOURCE(8)