04-29-2013
I can have my old lun id (from old storage) and storage team can tell me, "hey, this is the lun-id from new storage, and its ol lun-id was this this this".
But I want to make my process easy, because there are more than two hundred file-systems.
Otherwise I have solution to edit fstab and mount them accordingly.
9 More Discussions You Might Find Interesting
1. Linux
We have a linux system at all locations that is not really used interactively. Well the users need to shutdown the box on weekends. to do this they usally call us to shut it down remotely with root. well i just came accross sudo. and i am unsure how to use it
i did
visudo
then i did
%mliu ... (2 Replies)
Discussion started by: deaconf19
2 Replies
2. Linux
Hi everyone,
I wonder if anyone ever came across the idea of unifying AD and Linux user accounts
We have a Linux machine with 'samba' 'winbind' service configured to let Windows AD users to logon locally using their AD accounts and passwords.
I can use 'su' to get to the local user privilege... (0 Replies)
Discussion started by: will_mike
0 Replies
3. UNIX for Dummies Questions & Answers
Hi! I'm very new to unix, so please keep that in mind with the level of language used if you choose to help :D Thanks!
When attempting to use sudo on and AIX machine with oslevel 5.1.0.0, I get the following error:
exec(): 0509-036 Cannot load program sudo because of the following errors:... (1 Reply)
Discussion started by: Chloe123
1 Replies
4. UNIX for Advanced & Expert Users
Hello! Can anyone please assist:
Question:
On Linux Server I have created two users John and Matt. I want to give both the users the ability to run 'more' and 'tail -f' commands on the log file in the directory /var/log/test.log. I do not want to give them SU rights.
Can any one please... (6 Replies)
Discussion started by: sureshcisco
6 Replies
5. AIX
Sudo In AIX, how to find out what commands have been run after a user sudo to another user? for example, user sam run 'sudo -u robert ksh' then run some commands, how can I (as root) find what commands have been run?
sudo.log only contains sudo event, no activity logging. (3 Replies)
Discussion started by: jalite19
3 Replies
6. Linux
Hi,
I am new in linux. Please help for create new user and also need to give sudo access in linux box. Please help me
Now i am having new access
Thanks,
Mani (2 Replies)
Discussion started by: Mani_apr08
2 Replies
7. Shell Programming and Scripting
I am writing a BASH script to update a webserver and then restart Apache. It looks basically like this:
#!/bin/bash
rsync /path/on/local/machine/ foo.com:path/on/remote/machine/
ssh foo.com sudo /etc/init.d/apache2 reloadrsync and ssh don't prompt for a password, because I have DSA encryption... (9 Replies)
Discussion started by: fluoborate
9 Replies
8. UNIX for Dummies Questions & Answers
Hi
I have an Oracle DBA that is trying to install an RPM from Stratavia which is a web based portal and it executes the following:
Instance Wrapper=sudo -u oracle /opt/datapalette/jython/jython
Server Wrapper=sudo -u root /opt/datapalette/jython/jython
I've compared the /etc/sudoers... (8 Replies)
Discussion started by: jeff-fafa
8 Replies
9. Shell Programming and Scripting
Hi, Have a need to run the below command as a "karuser" from a java class which will is running as "root" user. When we are trying to run the below command from java code getting the below error.
Command:
sudo -u karuser -s /bin/bash /bank/karunix/bin/build_cycles.sh
Error:
sudo: sorry,... (8 Replies)
Discussion started by: Satyak
8 Replies
LEARN ABOUT DEBIAN
o2cb_ctl
o2cb_ctl(8) OCFS2 Manual Pages o2cb_ctl(8)
NAME
o2cb_ctl - Control program for the O2CB cluster service.
SYNOPSIS
o2cb_ctl -C -n object -t type [-i] [-a attribute ]
o2cb_ctl -D -n object [-u]
o2cb_ctl -I [-o-z] -l manager> [-n object>] [-t type] [-a attribute]
o2cb_ctl -H [-n object] [-t type>] [-a attribute>]
o2cb_ctl -h
o2cb_ctl -V
DESCRIPTION
o2cb_ctl is the control program for the O2CB cluster service. Users are not advised to use this program directly but instead use the O2CB
init service and/or ocfs2console.
OPTIONS
-C Create an object in the OCFS2 Cluster Configuration.
-D Delete an object from the existing OCFS2 Cluster Configuration.
-I Print information about the OCFS2 Cluster Configuration.
-H Change an object or objects in the existing OCFS2 Cluster Configuration.
-h Displays help and exit.
-V Print version and exit.
OTHER OPTIONS
-a <attribute>
With -C, <attribute> is in format "parameter=value", where the parameter is a valid parameter that can be set in the file
/etc/ocfs2/cluster.conf. With -I, <attribute> may be "parameter", indicating an attribute to be listed in the output, or it may be
"parameter==value", indicating that only objects matching "parameter=value" are to be displayed.
-i Valid only with -C. When creating something (node or cluster), it will also install it in the live cluster. If the parameter is not
specified, then only update the /etc/ocfs2/cluster.conf.
-n object
object is usually the node name or cluster name. In the /etc/ocfs2/cluster.conf file, it would be the value of the name parameter
for any of the sections (cluster or node).
-o Valid only with -I. Using this parameter, if one asks o2cb_ctl to list all nodes, it will output it in a format suitable for shell
parsing.
-t type
type can be cluster, node or heartbeat.
-u Valid only with -D. When deleting something (node or cluster), it will also remove it from the live cluster. If the parameter is not
specified, then only update the /etc/ocfs2/cluster.conf.
-z Valid only with -I. This is the default. If one asks o2cb_ctl to list all nodes, it will give a verbose listing.
EXAMPLES
Add node5 to an offline cluster:
$ o2cb_ctl -C -n node5 -t node -a number=5
-a ip_address=192.168.0.5 -a ip_port=7777
-a cluster=mycluster
Add node10 to an online cluster:
$ o2cb_ctl -C -i -n node10 -t node -a number=10
-a ip_address=192.168.1.10 -a ip_port=7777
-a cluster=mycluster
Note the -i argument.
Query the IP address of node5:
$ o2cb_ctl -I -n node5 -a ip_address
Change the IP address of node5:
$ o2cb_ctl -H -n node5 -a ip_address=192.168.1.5
SEE ALSO
mkfs.ocfs2(8) fsck.ocfs2(8) tunefs.ocfs2(8) mounted.ocfs2(8) ocfs2console(8) o2cb(7)
AUTHORS
Oracle Corporation
COPYRIGHT
Copyright (C) 2004, 2010 Oracle. All rights reserved.
Version 1.6.4 September 2010 o2cb_ctl(8)