Procedure Adding Managed Service
This is flow how to add managed Service. Read carefully.
Table of Contents
1. Billing issued from ISPROVISION
Managed service provisioned through isprovision portal. And issued with subject “Managed Service”. However, there are times billing forgot to tag this into title. So make sure everytime provisioned server, we check thoroughly by opening WHMCS and see if there is any “Managed Service” status on particular server.
2. Adding to Nagios
This part is quite easy.
Add for Managed Service HERE
Add for PING VPS HERE
For Windows HERE
3. Update Managed Service List Docs
In this case I asked you guys everytime you found “Managed Service” server, please add into Managed Service list HERE. There are 3 parts there.
- ENID Managed Service
- Report documents
- MWN Managed Service
Any update needed or some parts that need to be upgraded, should be marked into that gdocs. Edit with carefully =)
4. Watch it every week
Part of managed service to make sure day-to-day basic operation server is running well. In this case, web, email, and firewall. Here are some part that we need to watch it.
- cPanel / Plesk upgrade should be done
- DB server
- ImunifyAV should be installed and running at least every week n give result to cust if found any malicious finding. Shift Saturday morning please initiate running ImunifyAV scan and shift Saturday Afternoon check the result scan.
- If there are malware script, please follow up with customer SEE TEMPLATE use tag enid_managed_scan_malware
- Check regulary cronjob for malicious task
cat /var/spool/cron/* | less
5. Enable Backup
Make sure every managed service has enabled at least 1 backup.
DISCLAIMER : If cust already had R1soft subscription, DO NOT proceed this. Please proceed to step c.
Make sure R1soft server is running and already added CHECK HERE.
a. For cPanel
- Enable backup under WHM > Backup > Backup Configuration
- Tick “Enable Backups”
- Backup Type > Compressed
- Scheduling and Retention > Weekly Backup > Friday/Saturday
- Retention > 1
- Backup User Accounts > tick “Backup Suspended Account”
- Save Configuration
b. For Plesk
c. Dump MySQL
This is dump MySQL backup script for cPanel. It will dump .sql file into .gz (which smaller size) and will keep backup retention for 7 days. Backup will start everyday at 20 pm server time.
mkdir /exabytes-id/ vi /root/backup_db.sh
The script :
#!/bin/bash
#
# backup all dbs to /exabytes-id
# emergency backup for db only for cpanel
#
cd /exabytes-id && mkdir `date +%Y_%m_%d` && cd `date +%Y_%m_%d` && for I in $(mysql -e 'show databases' -s --skip-column-names); do mysqldump $I | gzip > "$I.sql.gz"; done
find /exabytes-id/ -mtime +6 -exec rm -rf {} \;
#eof
Add into crontab.
0 20 * * * sh /root/backup_db.sh > /dev/null 2>&1
Done.
6. Adding into cdp backup server
- Install r1soft client for windows / linux
- check with huda / sabto for adding cdp server
7. Install RAID check
For both Linux / Windows now have to install RAID checker. Later DC Team will monitor check RAID via this link.
NOTE : Linux included install RAID check, for windows please check with huda to install one.
Adding into nagios with under check_raid hostgroup type. Depends what OS going to be added. Syntax here :
add_server_raid_lin add_server_raid_win
You are done.

