I 've got this retourn when i tape the commande lspv:
hdisk0 00c3fce454950416 rootvg active
hdisk1 00c3fce454950416 rootvg active
I want to verify if hdisk0 et hdisk1 have the same pvid (ex : 00c3fce454950416)?
Can... (8 Replies)
What's the easiest way to search a file for a specific string and then look for other instances after that? I want to search for all Virtual Hosts and print out the Server Name and Document Root (if it has that info), while discarding the rest of the info.
Basically my file looks like this:
...... (6 Replies)
I would like to search between two a string. I thought this would be easy. The is always at the beginning of a line.
The code:
gawk '/^/{d=$1},/searchstring/,/^(d+1)/'
or
gawk '/^/,/searchstring/,/^/'
did not return the desired result.
inputfile.txt
999 some text searchstring some... (6 Replies)
here is what i want to achieve... consider a file contains below contents. the file size is large about 60mb
cat dump.sql
INSERT INTO `table1` (`id`, `action`, `date`, `descrip`, `lastModified`) VALUES (1,'Change','2011-05-05 00:00:00','Account Updated','2012-02-10... (10 Replies)
I need to search the file using strings "Request Type" , " Request Method" , "Response Type" and by using result set find the xml tags and convert into a single line?. below are the scenarios.
Cat test
Nov 10, 2012 5:17:53 AM
INFO: Request Type
Line 1.... (5 Replies)
Hi,
Need your help for this scripting issue I have. I am not really good at this, so seeking your help.
I have a file looking similar to this:
Hello, i am human and name=ABCD.
How are you?
Hello, i am human and name=PQRS.
I am good.
Hello, i am human and name=ABCD.
Good bye.
Hello, i... (12 Replies)
Hi all,
When we run lpsv -free command on VIOS, it will take lot of time to display free disks i.e around 8 to 10 minutes. VIOS ioslevel is 2.2.1.4Can you have any solution for this problem?
Many Thanks (2 Replies)
I must have forgot how to do this, but, I am attempting to enter a variable into an awk / gawk search pattern.
I am getting a value from user input to place in a specific section of a 132 character string.
my default command is ....
gawk --re-interval '/^(.{3}P .{4}CYA.{8}1)/' ... (3 Replies)
Dear All
During one of mine script developemnt i am stuch at one sub part. Requiremnt is as below kindly help me.
IP file:
2015-02-28 10:10:15 AL M UtranCell UtranCell=RTE001X (unavailable)
2015-02-28 10:10:15 AL M UtranCell UtranCell=RTE001Y (unavailable)
2015-02-28 10:10:15 AL M... (6 Replies)
Hi all,
We have observed that lspv -free command tooks 15 to 20 minutes to display the free disks and we have only 77 MPIO disks on VIO Server. Our VIOS version is 2.2.1.4.
Please let us know what could be the reason that lspv -free command taking long time to display the output.
Thank (4 Replies)
Discussion started by: m_raheelahmed
4 Replies
LEARN ABOUT DEBIAN
crm_shadow
PACEMAKER(8) System Administration Utilities PACEMAKER(8)NAME
Pacemaker - Part of the Pacemaker cluster resource manager
SYNOPSIS
crm_shadow (query|command) [modifiers]
DESCRIPTION
crm_shadow - Perform configuration changes in a sandbox before updating the live cluster.
Sets up an environment in which configuration tools (cibadmin, crm_resource, etc) work offline instead of against a live cluster, allowing
changes to be previewed and tested for side-effects.
OPTIONS
-?, --help
This text
-$, --version
Version information
-V, --verbose
Increase debug output
Queries:
-w, --which
Indicate the active shadow copy
-p, --display
Display the contents of the active shadow copy
-E, --edit
Edit the contents of the active shadow copy with your favorite $EDITOR
-d, --diff
Display the changes in the active shadow copy
-F, --file
Display the location of the active shadow copy file
Commands:
-c, --create=value
Create the named shadow copy of the active cluster configuration
-e, --create-empty=value
Create the named shadow copy with an empty cluster configuration
-C, --commit=value
Upload the contents of the named shadow copy to the cluster
-D, --delete=value
Delete the contents of the named shadow copy
-r, --reset=value
Recreate the named shadow copy from the active cluster configuration
-s, --switch=value
(Advanced) Switch to the named shadow copy
Additional Options:
-f, --force
(Advanced) Force the action to be performed
-b, --batch
(Advanced) Don't spawn a new shell
-a, --all
(Advanced) Upload the entire CIB, including status, with --commit
EXAMPLES
Create a blank shadow configuration:
# crm_shadow --create-empty myShadow
Create a shadow configuration from the running cluster:
# crm_shadow --create myShadow
Display the current shadow configuration:
# crm_shadow --display
Discard the current shadow configuration (named myShadow):
# crm_shadow --delete myShadow
Upload the current shadow configuration (named myShadow) to the running cluster:
# crm_shadow --commit myShadow
AUTHOR
Written by Andrew Beekhof
REPORTING BUGS
Report bugs to pacemaker@oss.clusterlabs.org
Pacemaker 1.1.7 April 2012 PACEMAKER(8)