How to deploy ScaleArc v18.104.22.168 on Google Cloud Platform
How to deploy ScaleArc on Google Cloud Platform?
Installing ScaleArc on Google Cloud Platform
- Google Cloud Platform account.
- ScaleArc 22.214.171.124 rpm installer
Since the scalearc rpm installer checks for CentOS version, disk and ram size, we need to deploy a depricated version of CentOS from Google Cloud Platform and expand the disk:
- From Google Developers Console > Compute > Compute Engine > Images > depricated images > choose centos-6-v20150710
- Click "create instance"
- Fill in instance name
- Machine type: at lease n1-standard-4 (4 vCPUs, 15 GB memory)
- Boot disk: increase disk size to 100G
- Allow http, https traffic
- Add additional 500G disk > expand Management, disk, networking, etc. > Disks > Add item > Create a new disk
- Fill in disk name
- Source type: None (blank disk)
- Size 500G
- Access & Security > enable Cloud SQL if using Cloud SQL > add SSH keys if using SSH keys.
- Create Instance
Follow these steps to resize the root partition from 10GB to 100GB.
- Connect to newly created Instance through SSH and perform following proceudure.
- Check the size of your current root persistent disk and notice that although you alloted 100GB to root partition, only 10GB is seen.
- Run fdisk /dev/sda and then type these letters one by one 'c','u','p' & then 'd'. This will delete the existing partition.
- Create the new partition with Same partition id '1' with same ID 83. This way it uses all the sectors available with the disk. Choose default First Sector to Last Sector.
- Resize your new file system to the full size of the partition.
- Verify your root partition is of full size say 100GB.
Follow these steps to mount the 2nd disk used for logs.
- Run fdisk /dev/sda and then type these letters one by one 'c','u','n','p','1'.'Enter','Enter','p','w'.
- Make the newly created partition as ext4 partition.
- Create a mount point $mkdir /data
- Mount the new partition $mount /dev/sdb1 /data
- To make this partition sustain after reboot, we need to add the entry of this disk into /etc/fstab. See the last line of the Screenshot
- Check now you have disk added with ext4 partition as /data mount point of size 500GB.
- It is a good idea to take another snapshot at this point. Follow these instructions to download and install ScaleArc 126.96.36.199:
- SSH to the VM and download/copy the ScaleArc RPM using wget and extract the RPM. Do not forget to use inverted commas in between rpm downloader link.
- Install RPM downloaded
- Open a second SSH session to follow the install log for ScaleArc
- # tail -f /var/log/scalearc-install.log
- Run the custom installer as below
- # cd /opt/idb/bin/
- # ./custom_install.sh -c Rackspace
- Installer would fail at precheck if an RPM of higher version is found then what ScaleArc supports.
Below is the failure message
- From "/var/log/scalearc-install.log" determine the failed RPM
- RPM b43-openfwwf is not present on the system and it is mandatory to have this RPM to move ahead with the installation. Use yum install to install this RPM.
- Again run the custom installation and check ScaleArc-install.log
- Add "selinux-policy-3.7.19-260.el6_6.5.noarch.rpm","b43-openfwwf-5.2-10.el6.noarch.rpm" and "selinux-policy-targeted-3.7.19-260.el6_6.5.noarch.rpm" to "ignore_rpm_versions.conf" as below
- Please remove the unsupported version of this rpm with respect to ScaleArc installation "mysql-libs-5.1.73-5.el6_6.x86_64.rpm"
# rpm -e --nodeps mysql-libs-5.1.73-5.el6_6.x86_64
- Run the ScaleArc installer again and this time the installer installed ScaleArc and reboot is performed after that.
# ./custom_install.sh -c Rackspace
Hit 'y' and Enter
- Check ScaleArc-install.log After successful installation a instance reboot occured.
- Browse to the IP of the Instance to access the ScaleArc UI.
- Contact ScaleArc Support for the valid license required to move ahead with ScaleArc.
If you are experiencing issues with ScaleArc or with any of it's features, please contact ScaleArc Support. We are available 24x7 by phone at 855 800 7225 or +1 408 412 7315. For general support inquiries,
you can also e-mail us at firstname.lastname@example.org.