05-25-2012
There are some ways to solve this, but I think the most simple is to mount the windows-share so you can treat those files like local files.
Search this site for Samba (a part of this software package will enable you to mount the windows-share) to get an idea if this approach fits for your environment.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
HI All,
I need a script to reboot a linux box from a windows box.
The script needs to run automatically whenever a sitescope alerts with an error message.
Have searched for this in the forums, but could not get something relative.
Pls. let me know the various alternatives we have to do... (2 Replies)
Discussion started by: Crazy_murli
2 Replies
2. UNIX for Dummies Questions & Answers
I have a text list of about 3,000 file names (image files), which exist on a server and that I want to copy over to another location. I understand the Unix cp code, but what's the string to have it copy multiple files based on an external list?
Many thanks! (4 Replies)
Discussion started by: rebornhonest
4 Replies
3. Shell Programming and Scripting
Hi All,
I need a little help .I want to transfer a file from unix box to a windows box,but the problem i'm facing is that in windows box FTP is not enabled and currently it is nearly impssible to change setting on windows box,i can not use the ftp method ,in my shell script to transfer the file.... (2 Replies)
Discussion started by: Preet
2 Replies
4. Shell Programming and Scripting
Hi,
Please help me with script that does the following:
i)The script will be called from server path:- /apps/di/dev/scripts
ii)The script will copy all the files starting from SPCA_ALL_CPC*.csv from another server and move to /apps/di/dev/import/regrind_SPCA_new
Many thanks (1 Reply)
Discussion started by: Alok Ranjan
1 Replies
5. Shell Programming and Scripting
A) I would like to achive following actions using shell script. can someone help me with writing the shell script
1) Go to some dir ( say /xyz/logs ) and then perform find operation in this dir and list of subdir using
find . -name "*" -print | xargs grep -li 1367A49001CP0162 >... (1 Reply)
Discussion started by: GG2
1 Replies
6. Red Hat
Hi
I have a linux box and need to access from windows graphically
# uname -a
Linux pc-l416116 2.6.18-155.el5 #1 SMP Fri Jun 19 17:06:47 EDT 2009 i686 i686 i386 GNU/Linux
What components do I need to install on Linux and windows to do that?
TIA (6 Replies)
Discussion started by: magnus29
6 Replies
7. Shell Programming and Scripting
Hi,
I need to write a script the has to copy the files from folders and subfolders to the same folder structure located in another location.
Ex:
mainfolder1
file1,file2,file3 subfolder1(file1,etc) subfolder2(file1,etc) to another folder location of same folder structure.
rsync is not... (7 Replies)
Discussion started by: Raji Perumal
7 Replies
8. How to Post in the The UNIX and Linux Forums
Hello my dear friends,
Two file are auto generated from mon - fri at different directories on same windows box.Every day i have to copy the file, rename it (specific name)and ftp it to linux box specified directory.
is it possible to automate this process,If yes this has to be done from windows... (1 Reply)
Discussion started by: umesh yadav
1 Replies
9. UNIX for Beginners Questions & Answers
Hello All,
I want to copy all files from the list below to a path /qa0/repo/AS/CPY
(lnx17:qa0:/qa0/repo/AS>) ls -lrt | grep 'Feb 14'
-rw-rw-r-- 1 Ks1 qa0 39 Feb 14 20:11 HHH.dat
-rw-rw-r-- 1 Ks1 qa0 32 Feb 14 20:11 HHH1.dat
-rw-rw-r-- 1 Ks1 qa0 29 Feb 14 20:11... (3 Replies)
Discussion started by: arunkumar_mca
3 Replies
10. Shell Programming and Scripting
Hi All,
i'm trying to copy the 1.txt files (sample files) in to different path location using the below command.
But it is not copying the files , when i tried for single location able to copy the file.
can any one please assist here.
Please find the below path :-
/ckr_mkr1/licencekey... (2 Replies)
Discussion started by: venkat918
2 Replies
LEARN ABOUT SUSE
ocf_heartbeat_ctdb
OCF_HEARTBEAT_CTDB(7) OCF resource agents OCF_HEARTBEAT_CTDB(7)
NAME
ocf_heartbeat_CTDB - CTDB Resource Agent
SYNOPSIS
CTDB [start | stop | monitor | meta-data | validate-all]
DESCRIPTION
This resource agent manages CTDB, allowing one to use Clustered Samba in a Linux-HA/Pacemaker cluster. You need a shared filesystem (e.g.
OCFS2) on which CTDB lock and Samba state will be stored. Configure shares in smb.conf on all nodes, and create /etc/ctdb/nodes containing
a list of private IP addresses of each node in the cluster. Configure this RA as a clone, and it will take care of the rest. For more
information see http://linux-ha.org/wiki/CTDB_(resource_agent)
SUPPORTED PARAMETERS
ctdb_recovery_lock
The location of a shared lock file, common across all nodes. This must be on shared storage, e.g.: /shared-fs/samba/ctdb.lock
(required, string, no default)
smb_private_dir
The directory for smbd to use for storing such files as smbpasswd and secrets.tdb. This must be on shared storage, e.g.:
/shared-fs/samba/private (required, string, no default)
ctdb_config_dir
The directory containing various CTDB configuration files. The "nodes" and "notify.sh" scripts are expected to be in this directory, as
is the "events.d" subdirectory. (optional, string, default /etc/ctdb)
ctdb_binary
Full path to the CTDB binary. (optional, string, default /usr/bin/ctdb)
ctdbd_binary
Full path to the CTDB cluster daemon binary. (optional, string, default /usr/sbin/ctdbd)
ctdb_socket
Full path to the domain socket that ctdbd will create, used for local clients to attach and communicate with the ctdb daemon.
(optional, string, default /var/lib/ctdb/ctdb.socket)
ctdb_dbdir
The directory to put the local CTDB database files in. Persistent database files will be put in ctdb_dbdir/persistent. (optional,
string, default /var/lib/ctdb)
ctdb_logfile
Full path to log file. To log to syslog instead, use the value "syslog". (optional, string, default /var/log/ctdb/log.ctdb)
ctdb_debuglevel
What debug level to run at (0-10). Higher means more verbose. (optional, integer, default 2)
smb_conf
Path to default samba config file. (optional, string, default /etc/samba/smb.conf)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 90.
stop
Stops the resource. Suggested minimum timeout: 100.
monitor
Performs a detailed status check. Suggested minimum timeout: 20. Suggested interval: 10.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 30.
EXAMPLE
The following is an example configuration for a CTDB resource using the crm(8) shell:
primitive example_CTDB ocf:heartbeat:CTDB
params
ctdb_recovery_lock=string
smb_private_dir=string
op monitor timeout="20" interval="10" depth="0"
SEE ALSO
http://www.linux-ha.org/wiki/CTDB_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents 1.0.3 07/05/2010 OCF_HEARTBEAT_CTDB(7)