arqiva:isilon_as_ftp_server
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| arqiva:isilon_as_ftp_server [2015/10/15 11:47] – created ashley | arqiva:isilon_as_ftp_server [2016/09/24 17:59] (current) – [Setting home directories] ashley | ||
|---|---|---|---|
| Line 110: | Line 110: | ||
| This is basically the content of the '/ | This is basically the content of the '/ | ||
| + | |||
| + | ===== Force users into correct folder ===== | ||
| + | remove home directory | ||
| + | rm -rf / | ||
| + | create subdirectory in new location if required | ||
| + | mkdir / | ||
| + | create symlink to new location | ||
| + | ln -s / | ||
| + | re own folder | ||
| + | chown -R sony: | ||
| + | |||
| + | |||
| + | =====Cron jobs===== | ||
| + | A few points to keep in minds: | ||
| + | |||
| + | |||
| + | |||
| + | - of course your jobs will be light-weighted and do no harm to the cluster... | ||
| + | |||
| + | |||
| + | |||
| + | - the crontab might get wiped when installing OneFS updates (even minor ones) | ||
| + | |||
| + | |||
| + | |||
| + | - you can't execute files from /ifs | ||
| + | |||
| + | -- but you can execute scripts as /bin/bash / | ||
| + | |||
| + | -- if you put scripts or executables under a node's / or /var: these are small! and may get wiped, too. | ||
| + | |||
| + | |||
| + | |||
| + | - any node would do, but if it goes offline, there is no automated failover to another node (crontab is a basic UNIX thing) | ||
| + | |||
| + | Refer to this doc [[https:// | ||
| + | |||
| + | =====Configure a custom email quota notification template===== | ||
| + | If email notifications are enabled, you can configure custom templates for email | ||
| + | notifications. | ||
| + | |||
| + | If the default email notification templates do not meet your needs, you can configure your | ||
| + | own custom email notification templates using a combination of text and SmartQuotas | ||
| + | variables. | ||
| + | |||
| + | ====Procedure==== | ||
| + | - Open a text editor and create a .txt file that includes any combination of text and | ||
| + | OneFS email notification variables. | ||
| + | -Save the template file as ASCII text or in ISO-8859-1 format. | ||
| + | - Upload the file to an appropriate directory on the Isilon cluster. For example, / | ||
| + | |||
| + | **Example 1 Example of a custom quota email notification text file** | ||
| + | |||
| + | The following example illustrates a custom email template to notify recipients about an | ||
| + | exceeded quota. | ||
| + | |||
| + | ===Text-file contents with variables=== | ||
| + | |||
| + | The disk quota on directory < | ||
| + | The < | ||
| + | |||
| + | ===Map an email notification rule for a quota 325=== | ||
| + | |||
| + | **Example 1 Example of a custom quota email notification text file (continued)** | ||
| + | |||
| + | < | ||
| + | | ||
| + | For more information, | ||
| + | |||
| + | ===Email contents with resolved variables=== | ||
| + | |||
| + | The disk quota on directory / | ||
| + | The hard quota limit is 10 GB, and 11 GB is in use. Please free some disk space by deleting unnecessary files. | ||
| + | For more information, | ||
| + | ====After you finish==== | ||
| + | To use the custom template, click Cluster Managements > General Settings > Email | ||
| + | Settings, and select the custom template in the Event Notification Settings area. | ||
| + | |||
| + | =====Sync folder===== | ||
| + | rsync -av root@172.16.188.115:/ | ||
| + | =====Copy isilon node 1 into remote authorised keys===== | ||
| + | cat ~/ | ||
| + | |||
| + | =====Provision home directories with dot files===== | ||
| + | |||
| + | You can provision home directories. | ||
| + | |||
| + | Before you begin | ||
| + | |||
| + | To perform most configuration tasks, you must log on as a member of the SecurityAdmin role. | ||
| + | |||
| + | __The skeleton directory, which is located at / | ||
| + | |||
| + | For SMB shares that might use home directories that were provisioned with dot files, you can set an option to prevent users who connect to the share through SMB from viewing the dot files. | ||
| + | |||
| + | =====Setting home directories===== | ||
| + | isi auth users modify --user=bb | ||
| + | |||
| + | Command requires at least one argument. | ||
| + | |||
| + | Usage: | ||
| + | |||
| + | isi auth users modify { < | ||
| + | |||
| + | [--enabled < | ||
| + | |||
| + | [{--expiry | -x} < | ||
| + | |||
| + | [--locked < | ||
| + | |||
| + | [--email < | ||
| + | |||
| + | [--gecos < | ||
| + | |||
| + | [--home-directory < | ||
| + | |||
| + | [--password < | ||
| + | |||
| + | [--password-expires < | ||
| + | |||
| + | [--primary-group < | ||
| + | |||
| + | [--prompt-password-change < | ||
| + | |||
| + | [--shell < | ||
| + | |||
| + | [--new-uid < | ||
| + | |||
| + | [--zone < | ||
| + | |||
| + | [--add-group < | ||
| + | |||
| + | [--add-gid <id>] | ||
| + | |||
| + | [--remove-group < | ||
| + | |||
| + | [--remove-gid <id>] | ||
| + | |||
| + | [--provider < | ||
| + | |||
| + | [--set-password] | ||
| + | |||
| + | [{--verbose | -v}] | ||
| + | |||
| + | [{--force | -f}] | ||
| + | |||
| + | [{--help | -h}] | ||
| + | |||
| + | See 'isi auth users modify --help' | ||
| + | | ||
| + | =====Stop / Restart FTP===== | ||
| + | isi services vsftpd disable | ||
| + | isi services vsftpd enable | ||
arqiva/isilon_as_ftp_server.1444909639.txt.gz · Last modified: (external edit) · Currently locked by: 216.73.216.236,192.168.2.28
