viernes, 29 de julio de 2016

Refresh RMC daemon (RMC Not working???)

On the LPAR:

# /usr/sbin/rsct/bin/rmcctrl -z
                            
# /usr/sbin/rsct/bin/rmcctrl -A
                            
# /usr/sbin/rsct/bin/rmcctrl -p

Wait for, at least, 5 minutes... Check DLPAR Operation...

If NOT WORKING, then run (on the LPAR):

# /usr/sbin/rsct/install/bin/recfgct

It should solve any RMC/DLPAR problems... 

You could also check free space on /var filesystem, cause if it's full, RMC could stop working: free some space, then run the above procedure.

jueves, 28 de julio de 2016

Enabling the debug boot image

    1. Back in the SSH console session window, wait for the Open Firmware prompt "0>"
    At the 0> prompt, enter "boot -s verbose"

    2. For cdrom boot debug enter:
    0> boot cdrom:\ppc\chrp\bootfile.exe -s verbose

    At this point, the LPAR will continue to boot and debug information will be sent to the console. While the LPAR is booted in this debug state, all commands that are run will output debug information, such as exec() system calls.

jueves, 14 de julio de 2016

The AIX chrctcp command (/etc/rc.tcpip)

This command is not documented, and is used to change /etc/rc.tcpip stanzas:

To enable xntpd in /etc/rc.tcpip, and to start xntpd: 
root@server:/home/root> chrctcp -S -a xntpd


To enable xntpd in /etc/rc.tcpip, but not start xntpd: 

root@server:/home/root> chrctcp -a xntpd


To disable xntpd in /etc/rc.tcpip, and to stop xntpd: 

root@server:/home/root> chrctcp -S -d xntpd

To disable xntpd in /etc/rc.tcpip, but to not stop xntpd: 
root@server:/home/root> chrctcp -d xntpd