1. To enable ssh in a hmc :
# chhmc -c ssh -s enable
You can disable it by replacing the word 'enable' with 'disable'
2. To enable xntp in a hmc :
# chhmc -c xntp -s enable
You can disable it by replacing the word 'enable' with 'disable'
3. To add an entry in the syslog config file :
# chhmc -c syslog -s add -a IP_Addr ( or '-h host_name' )
You can remove an entry by replacing the word 'add' with 'remove'
4. To add an entry in the ntp config file :
# chhmc -c xntp -s add -a IP_Addr ( or 'h host_name' )
You can remove an entry by replacing the word 'add' with 'remove'
5. To configure the network as a startup device :
# chhmc -c netboot -s enable
You can disable it by replacing the word 'enable' with 'disable'
6. To permit IP addresses from utilizing HMC services :
# chhmc -s ssh ( or any_service) -s add -a IP_Addr
You can remove an entry by replacing the word 'add' with 'remove'
7. To add a DNC_server or domain_suffix :
chhmc -c network -s add [-ns DNS_Server] [-ds domain_suffix ]
You can remove an entry by replacing the word 'add' with 'remove'
8. To change network settings for a specific network interface :
# chhmc -c network -s modify -i interface_name
[-a IP_Addr] [-nm network_mask] [ --lparcomm on|off]
Note: Network settings for the s10 interface cannot be changed.
9. To change other network settings :
# chhmc -c network -s modify
[-h hostname] [-d network-domain-name]
[-g gateway]
10. To change the locale for the HMC :
# chhmc -c locale -s modify -l locale
11. To change the HMC date and time, time zone :
# chhmc -c date -s modify
[ --datetime]
[ --clock {local | utc} ]
[ --timezone {time-zone | none} ]
12. To list the BIOS Level of the HMC :
# lshmc -b
13. To list the current locale :
# lshmc -l
14. To list all of the locales supported by HMC :
# lshmc -L
15. To list network settings :
# lshmc -n
16. To list remote access settings :
# lshmc -r
17. To list VPD information :
# lshmc -v
18. To list version information :
# lshmc -V
19. List IP Connections to SP's and Bulk Power Controllers :
# lssysconn -r all
20. To list all machines configured in a hmc
# lssyscfg -r sys
21. To power on a managed system :
# chsysstate -r sys -m MANAGED_SYSTEM -o on -f SYS_PROF_NAME
22. To power on a managed system in standby mode :
# chsysstate -r sys -m MANAGED_SYSTEM -o onstandby -f SYS_PROF_NAME
23. To power off a managed system :
# chsysstate -r sys -m MANAGED_SYSTEM -o off --immed
24. To restart a managed system :
# chsysstate -r sys -m MANAGED_SYSTEM -o off --immed --restart
25. To recover partition data for a managed system :
# chsysstate -r sys -m MANAGED_SYSTEM -o recover
26. To initiate service processor failover for a managed system :
# chsysstate -r sys -m MANAGED_SYSTEM -o spfailover
27. To validate or activate a system profile :
# chsysstate -r sysprof -m MANAGED_SYSTEM -n SYS_PROF_NAME --test
28. To change the password of a managed system :
# chsyspwd -t {access | admin | general} -m MANAGED_SYSTEM --passwd Current_Password --newpassword New_Password
# chhmc -c ssh -s enable
You can disable it by replacing the word 'enable' with 'disable'
2. To enable xntp in a hmc :
# chhmc -c xntp -s enable
You can disable it by replacing the word 'enable' with 'disable'
3. To add an entry in the syslog config file :
# chhmc -c syslog -s add -a IP_Addr ( or '-h host_name' )
You can remove an entry by replacing the word 'add' with 'remove'
4. To add an entry in the ntp config file :
# chhmc -c xntp -s add -a IP_Addr ( or 'h host_name' )
You can remove an entry by replacing the word 'add' with 'remove'
5. To configure the network as a startup device :
# chhmc -c netboot -s enable
You can disable it by replacing the word 'enable' with 'disable'
6. To permit IP addresses from utilizing HMC services :
# chhmc -s ssh ( or any_service) -s add -a IP_Addr
You can remove an entry by replacing the word 'add' with 'remove'
7. To add a DNC_server or domain_suffix :
chhmc -c network -s add [-ns DNS_Server] [-ds domain_suffix ]
You can remove an entry by replacing the word 'add' with 'remove'
8. To change network settings for a specific network interface :
# chhmc -c network -s modify -i interface_name
[-a IP_Addr] [-nm network_mask] [ --lparcomm on|off]
Note: Network settings for the s10 interface cannot be changed.
9. To change other network settings :
# chhmc -c network -s modify
[-h hostname] [-d network-domain-name]
[-g gateway]
10. To change the locale for the HMC :
# chhmc -c locale -s modify -l locale
11. To change the HMC date and time, time zone :
# chhmc -c date -s modify
[ --datetime
[ --clock {local | utc} ]
[ --timezone {time-zone | none} ]
12. To list the BIOS Level of the HMC :
# lshmc -b
13. To list the current locale :
# lshmc -l
14. To list all of the locales supported by HMC :
# lshmc -L
15. To list network settings :
# lshmc -n
16. To list remote access settings :
# lshmc -r
17. To list VPD information :
# lshmc -v
18. To list version information :
# lshmc -V
19. List IP Connections to SP's and Bulk Power Controllers :
# lssysconn -r all
20. To list all machines configured in a hmc
# lssyscfg -r sys
21. To power on a managed system :
# chsysstate -r sys -m MANAGED_SYSTEM -o on -f SYS_PROF_NAME
22. To power on a managed system in standby mode :
# chsysstate -r sys -m MANAGED_SYSTEM -o onstandby -f SYS_PROF_NAME
23. To power off a managed system :
# chsysstate -r sys -m MANAGED_SYSTEM -o off --immed
24. To restart a managed system :
# chsysstate -r sys -m MANAGED_SYSTEM -o off --immed --restart
25. To recover partition data for a managed system :
# chsysstate -r sys -m MANAGED_SYSTEM -o recover
26. To initiate service processor failover for a managed system :
# chsysstate -r sys -m MANAGED_SYSTEM -o spfailover
27. To validate or activate a system profile :
# chsysstate -r sysprof -m MANAGED_SYSTEM -n SYS_PROF_NAME --test
28. To change the password of a managed system :
# chsyspwd -t {access | admin | general} -m MANAGED_SYSTEM --passwd Current_Password --newpassword New_Password
0 blogger-disqus:
Post a Comment