Kebagian kerjaan orang lain lagi, pasti ga ada kerjaan. hahahahaha. Redshift menggunakan software license management dari Reprise Software, Inc. untuk me-manage floating servernya.
Apa sih floating server itu? Floating server di sini berfungsi sebagai server license management, jadi anda tidak usah memasukan lisensi Redshift di PC client, cukup arahkan ke IP server nya saja, nanti otomatis Redshift Floating License Tool akan mendeteksi key otomatis.
Berikut cara yang saya gunakan untuk setup server RLM:
-
Download RLM License Server untuk linux RLM License Server atau gunakan
curl -O http://d2uzpiuo72i7wr.cloudfront.net/rlm/redshift_rlm_server_linux64.tar.gz && mkdir redshift && tar -C redshift -xvf redshift_rlm_server_linux64.tar.gz
-
Untuk menjalankan file rlm (standalone server nya) secara otomatis saya menggunakan supervisor,
apt install supervisor
. Buat file supervisor config nya di /etc/supervisor/conf.d, beri nama redshift.conf. Jangan lupa buat folder untuk log nya,mkdir /var/log/custom-log/redshift/
. Isi dari redshift.conf:
[program:redshift_app]
autostart=True
command=sh -c 'home/useranda/apps/redshift/rlm -noudp -c FileLicDariRedshift.lic'
stdout_logfile=/var/log/custom-log/redshift/redshift-out.log
stderr_logfile=/var/log/custom-log/redshift/redshift-err.log
Jalankan Log File RLMsupervisorctl update
, redshift_app akan jalan secara otomatis (atau bisa cek log nya di /var/log/custom-log/redshift/redshift-out.log)
- Silahkan buka di browser IPserverRLM:5054, buka halaman statusnya

Halaman Status RLM
-
Jika sudah seperti gambar di atas, berarti RLM siap digunakan. Selanjutnya tinggal install & setup Redshift Floating di client. Redshift Floating client (tidak ada di halaman web, saya mendapatkannya dari sales Redshift langsung)
-
Agar Redshift tahu lokasi RLM License Server, terlebih dulu kita setup Environment Variables. Di OS Windows masuk ke menu Properties->Advanced system settings->Environment Variables->New, isi Variable name dengan “redshift_LICENSE” & Variable value dengan “5053:IPServerRLM”. Apabila anda menginstall Redshift di linux, silahkan ikuti how to add environment variables in ubuntu untuk menambahkan variabel

Tambah Environment Variable di Windows
- Jalankan Redshift Licensing Tool, cek apakah status nya sudah sesuai dengan RLM License Server

Redshift Client Sudah Terkoneksi dengan RLM Server