[VMware] vRealize Operations Manager 6.3 ~ 7.5 Enable SSH service

vRealize Operations Manager 6.x 基本上OS底層是 SUSE Linux Enterprise 11。所以尚未像 vCenter Appliance 是以 VMware Photon OS ;所以不是用VMware式的按下 ALT + F2 進入啟用SSH。

step01. open vROM console

step02. ALT + F1

step03. 預設帳號 ‘ root ‘ ,密碼 ‘空白 (blank)’ 按下後立即輸設定新密碼。

step04. # service sshd start

step05. # chkconfig sshd on

step06. use like ‘putty’ testing

Reference :

VMware KB – Enabling SSH access in vRealize Operations Manager 6.x and later (210051

vGyan.in : vRealize Part 7 – Enable SSH on vROPS

[VMware] vRealize Operations Manager 6.0 ~ 7.0 change IP

更改IP不單單只是變更一組IP重啟服務即可。

Resolution :

step01. Guest shutdown vRealize Operations Manager machine

step02. Edit Settings > Options > vApp Options > Properties > 輸入新 IP / 新的Gateway

step03. Power-on vRealize Operations Manager machine

step04. /opt/vmware/share/vami/vami_config_net // 輸入新IP

step05. Guest Restart Realize Operations Manager machine

step06. service vmware-casa stop

step07. /storage/db/casa/webapp/hsqldb/casa.db.script

step08. service vmware-casa start

step09. cd /usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/bin

step10. $VMWARE_PYTHON_BIN ./vcopsConfigureRoles.py –adminCS=新的IP

step11. 更改以下三個位置有舊IP都置換成新IP
/usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/data/roleState.properties

/usr/lib/vmware-vcops/user/conf/gemfire.properties

/usr/lib/vmware-vcops/user/conf/persistence/persistence.properties

/usr/lib/vmware-vcops/user/conf/gemfire.locator.properties

/usr/lib/vmware-vcops/user/conf/gemfire.native.properties

step12. service vmware-casa stop

step13. cp /usr/lib/vmware-vcops/user/conf/cis.properties /usr/lib/vmware-vcops/user/conf/cis.properties.bak

step14. vi /usr/lib/vmware-vcops/user/conf/cis.properties 置換成新IP

step15. vi /etc/hosts 置換成新IP

step16. service vmware-casa start

step17. Log in to vRealize Operations Manager admin UI as the local admin user

step18. Click Bring Online under Cluster Status

** vROM 6.1 and up **
vi /usr/lib/vmware-vcops/user/conf/cassandra/cassandra.yaml 置換成新IP

** vROM 6.7 and up **
vi /etc/apache2/listen.conf 置換成新IP

Reference :
1. VMware KB – Change the IP Address of a vRealize Operations Manager 6.x or later Single Node Deployment (2108696)

[VMware] vRealize Operations Manager 6.x forgot root password or Device management admin password

<for Root>

step01.
reboot VM

step02.
boot loader iteme2 , boot options 最後面加入 " init=/bin/bash "

step03.
passwd // change root password

step04.
reboot VM.

Done.

<for Device management Admin>

PS: vRealize Operations Manager 密碼必須包含至少一個大寫字符、一個小寫字符、和一個特殊字符,新密碼還必須不同於前5個設置過的密碼。

step01.
pam_tally2 –user admin –reset // 開始重置管理員密碼之前,請通過運行以下命令確保該帳戶未鎖定

step02.
su root // 通过 SSH 或 控制台以 root 用户身份登录到主节点

step03.
passwd admin

step04.
$VMWARE_PYTHON_BIN $VCOPS_BASE/../vmware-vcopssuite/utilities/sliceConfiguration/bin/vcopsSetAdminPassword.py –reset<for Device management Admin>

若在 vROM console admin 還是無法登入請試著
vi /storage/vcops/user/conf/adminuser.properties.
刪除 " failed_attempts=
再試著登入 local user “admin"


Reference:

1. 重置 VMware vRealize Operations Manager 设备中的管理员密码 (2078313)
2. Log in to the Admin or Product UI of VMware vRealize Operations Manager 6.x or later as admin fails with the error: Incorrect User name/Password (2131633)

[VMware] vRealize Operations Manager 6.2 upgrade to 6.6.1

升級元件順序
1.vROM SuSe OS ( vRealize_Operations_Manager-VA-OS-6.6.1.6163041.pak )
2.vROM App ( vRealize_Operations_Manager-VA-6.6.1.6163041.pak )

Upgrade procedure

step01.
login vROM console
https://vROM-IP/admin ( id / password > admin / xxxxxxxx )

step02.
check current vROM OS version
> cat /etc/SuSE-release
> uname -a

step03.
軟體更新 > 安裝軟體更新 > vRealize_Operations_Manager-VA-OS-6.6.1.6163041.pak

step04.
> cat /etc/SuSE-release
> uname -a

step05.
軟體更新 > 安裝軟體更新 > vRealize_Operations_Manager-VA-6.6.1.6163041.pak

step06.
check after upgrade version
可以透過 https://vROM-IP/adminhttps://vROM-IP/ui

可以透過 https://vROM-IP/adminhttps://vROM-IP/ui
可以透過 https://vROM-IP/adminhttps://vROM-IP/ui