Difference between revisions of "HowTo Setup AlphaCom NetworkDisk"
From Zenitel Wiki
(→Preparing the NetworkDisk shares) |
m (→Preparing the NetworkDisk shares) |
||
Line 51: | Line 51: | ||
=== Preparing the NetworkDisk shares === | === Preparing the NetworkDisk shares === | ||
+ | |||
+ | The script '''/opt/amc/scripts/netdiskprepare.sh''' is used to prepare the mount partitions for AlphaCom Extended Application support. | ||
+ | |||
+ | First the the disks has to be mounted on the AlphaCom: | ||
-bash-3.1# ./netdiskprepare.sh mount | -bash-3.1# ./netdiskprepare.sh mount |
Revision as of 19:24, 30 March 2008
The following services is supported on NetworkDisk:
- Extended Aphache/PHP/Mysql support
- Mysql Database storage
- Log storage
Contents
The only requirement for the sharing device is that is supports the SAMBA/CIFS protocol, and it has sufficient disk space.
On the sharing device tree separate shares needs to be setup:
Share Name | Description |
---|---|
local | The AlphaCom Extended Application packages. Mounted locally on /usr/local/ |
mysql | Storage space for the AlphaCom MySQL databases. Mounted locally on /var/mysql/ |
log | Storage space for AlphaCom system log. Mouned locally on /var/log/ |
Default:
user = ace passswd = alphacom
If other user/passwd is to be used the mounting scripts described below needs to be updated.
Required tools for setting up AlphaCom NetworkDisk
The setup procedure requires some manual steps using a ssh terminal and sftp file transfer.
Recommended tools to use:
SSH terminal: PuTTY (http://www.chiark.greenend.org.uk/~sgtatham/putty/) sftp client: WinSCP (http://winscp.net/eng/index.php)
Open a SSH terminal to the AlphaCom target and su to root (use "su -"):
-bash-3.1$ su - Password: {root password}
The script /opt/amc/scripts/netdiskprepare.sh is used to prepare the mount partitions for AlphaCom Extended Application support.
First the the disks has to be mounted on the AlphaCom:
-bash-3.1# ./netdiskprepare.sh mount ------------------- START ------------------------------- Trying to mount netdisk shares Disk sucsessfully mounted on /mnt/mini/local Disk sucsessfully mounted on /mnt/mini/log Disk sucsessfully mounted on /mnt/mini/mysql --------------------------------------------------------- Free space on shares: Filesystem Size Used Avail Use% Mounted on //10.5.2.165/alphalog 465G 178M 465G 1% /mnt/mini/log //10.5.2.165/alphalocal 465G 178M 465G 1% /mnt/mini/local //10.5.2.165/alphadb 465G 178M 465G 1% /mnt/mini/mysql --------------------------------------------------------- Used Space on shares: AlphaCom Extended Applications : 153M /mnt/mini/local AlphaCom MySQL Database : 21M /mnt/mini/mysql AlphaCom NetDisk logging : 0 /mnt/mini/log --------------------------------------------------------- Testing for a valid Extended Application share !! No AlphaCom Extended Applications found !! Use sftp to transfer and install a new packages to this mount Testing for a valid alphacom MySQL DB (simple test) AlphaCom MySQL DB folder found Use this script with option 'initdb' to re-initialiaze to an empty DB ------------------- END ---------------------------------