SSDs and SAN storage can provide many benefits over the traditional HDD. SSDs provide a much better read/write performance at the cost of being more expensive per GB. SAN storage can provide flexibility of storing data in one place at the cost of performance. For both set-ups, we prefer that AMP is installed on one filesystem to avoid complexity. If this is not feasible, we can use symbolic links to "map" the most commonly used files over to the secondary SSD or SAN storage. This will allow the AMP to function as normal while it offloads the majority of most accessed files to the secondary filesystem.Stop AMP services and disable Postgres before modifying files:# amp_disable# service postgresql stopMove two commonly accessed directories to the SAN filesystem. The SAN filesystem location is the place you have the SAN storage mounted such as /san:# mv /var/airwave [SSD or SAN STORAGE LOCATION i.e. /san]/var_airwave# mv /var/lib/pgsql [SSD or SAN STORAGE LOCATION i.e. /san]/var_lib_pgsqlSymbolically link the folders from the new location to their original location:# ln -s [SSD or SAN STORAGE LOCATION i.e. /san]/var_airwave /var/airwave# ln -s [SSD or SAN STORAGE LOCATION i.e. /san]/var_lib_pgsql /var/lib/pgsqlRe-enable the AMP:# service postgresql start# amp_enableYou can verify that your setup is accurate by viewing the created symbolic links. They should look like the following:# ls -ld /var/airwavelrwxrwxrwx 1 root root 14 Feb 3 15:56 /var/airwave -> /ssid/airwave/# ls -ld /var/lib/pgsqllrwxrwxrwx 1 root root 12 Feb 3 15:56 /var/lib/pgsql -> /ssid/pgsql/
At Aruba, we believe that the most dynamic customer experiences happen at the Edge. Our mission is to deliver innovative solutions that harness data at the Edge to drive powerful business outcomes.
© Copyright 2021 Hewlett Packard Enterprise Development LPAll Rights Reserved.