HMC Tips I - HMC and Managed System
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
AIX is short for Advanced Interactive eXecutive. AIX is the UNIX operating system from IBM for RS/6000, pSeries and the latest p5 & p5+ systems. Currently, it is called "System P". AIX/5L the 5L addition to AIX stands for version 5 and Linux affinity. AIX and RS/6000 was released on the 14th of February, 1990 in London. Currently, the latest release of AIX is version 6. AIX 7 beta will be released in Aug 2010, along with the new POWER7 hardware range.
Tanti Technology
- sandeep tanti
- Bangalore, karnataka, India
- Multi-platform UNIX systems consultant and administrator in mutualized and virtualized environments I have 4.5+ years experience in AIX system Administration field. This site will be helpful for system administrator in their day to day activities.Your comments on posts are welcome.This blog is all about IBM AIX Unix flavour. This blog will be used by System admins who will be using AIX in their work life. It can also be used for those newbies who want to get certifications in AIX Administration. This blog will be updated frequently to help the system admins and other new learners. DISCLAIMER: Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog. You may use the commands/method/scripts on your own responsibility. If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.
No comments:
Post a Comment