Monday 15 July 2019

Virtual IP Address commands

[root@srv1 ~]# srvctl status nodeapps -n srv1
VIP srv1-vip.example.com is enabled
VIP srv1-vip.example.com is running on node: srv1
Network is enabled
Network is running on node: srv1
ONS is enabled
ONS daemon is running on node: srv1
[root@srv1 ~]# srvctl status nodeapps -n srv2
VIP srv2-vip.example.com is enabled
VIP srv2-vip.example.com is running on node: srv2
Network is enabled
Network is running on node: srv2
ONS is enabled
ONS daemon is running on node: srv2
[root@srv1 ~]# srvctl config nodepapps -n srv1 -a
Usage: srvctl <command> <object> [<options>]
    commands: enable|disable|export|import|start|stop|relocate|status|add|remove|modify|getenv|setenv|unsetenv|config|convert|update|upgrade|downgrade|predict
    objects: database|instance|service|nodeapps|vip|network|asm|diskgroup|listener|srvpool|server|scan|scan_listener|oc4j|home|filesystem|gns|cvu|havip|exportfs|rhpserver|rhpclient|mgmtdb|mgmtlsnr|volume|mountfs
For detailed help on each command and object and its options use:
  srvctl <command> -help [-compatible] or
  srvctl <command> <object> -help [-compatible]
PRKO-2001 : Invalid command line syntax
[root@srv1 ~]# srvctl config nodeapps -n srv1 -a
PRKO-2207 : Warning:-node option has been deprecated and will be ignored.
Network 1 exists
Subnet IPv4: 192.168.56.0/255.255.255.0/eth0, static
Subnet IPv6:
Ping Targets:
Network is enabled
Network is individually enabled on nodes:
Network is individually disabled on nodes:
VIP exists: network number 1, hosting node srv1
VIP Name: srv1-vip.example.com
VIP IPv4 Address: 192.168.56.81
VIP IPv6 Address:
VIP is enabled.
VIP is individually enabled on nodes:
VIP is individually disabled on nodes:
[root@srv1 ~]# srvctl config nodeapps -n srv2 -a
PRKO-2207 : Warning:-node option has been deprecated and will be ignored.
Network 1 exists
Subnet IPv4: 192.168.56.0/255.255.255.0/eth0, static
Subnet IPv6:
Ping Targets:
Network is enabled
Network is individually enabled on nodes:
Network is individually disabled on nodes:
VIP exists: network number 1, hosting node srv2
VIP Name: srv2-vip.example.com
VIP IPv4 Address: 192.168.56.82
VIP IPv6 Address:
VIP is enabled.
VIP is individually enabled on nodes:
VIP is individually disabled on nodes:
[root@srv1 ~]# olsnodes -i
srv1    srv1-vip.example.com
srv2    srv2-vip.example.com
[root@srv1 ~]# vipca -nodelist srv1,srv2
[root@srv1 ~]#

No comments:

Post a Comment