WiseCP modülü
Modül klasörünü WiseCP’ye şuraya kopyalayın:
coremio/modules/Servers/HstVm/
Product veya Addons altına değil, Servers altına konur.
Sunucu ekleme
WiseCP Yönetim → Sunucular → Yeni sunucu → Modül: HstVm
| Alan | Değer |
|---|---|
| İsim / Host | https://panel.musteri.com |
| Kullanıcı | Panel kullanıcısının e-postası |
| Access Hash | Panel API token’ı (Kullanıcı Yönetimi’nden) |
Ürün ayarı
Sanallaştırma ürününde sunucu grubuna HstVm sunucusunu bağlayın; formda Plan ID, IPv4 paket ve işletim sistemi seçilir. Host, vCenter, lokasyon ve ek kaynaklar plandan gelir.
Yaşam döngüsü
| WiseCP | Panel API |
|---|---|
| create | getCreate |
| suspend | getAction → getVMAction (stop) |
| unsuspend | getAction → getVMAction (start) |
| terminate | getAction → getVMAction (delete) |
| apply_updowngrade | getVMResize (CPU/RAM/disk; disk küçültme yok) |