For the latest information please see - the codebase entry. (Requires an account there)
CloudBoot and Integrated Storage Checklist
Package install checks:
1. Are the cloudboot and CP server RPMs installed on the CP server?
rpm -qa | grep -E 'onapp-store|onapp-cp'
2. Are they the most up to date versions? (run 'yum update onapp-store-install' for latest updates)
Pre-Checks of Cloudboot environment:
1. Does CP server have an additional NIC configured for HV management?
2. What is the IP address of this HV management NIC?
3. Is cloud boot enabled in the Settings -> Configuration wizard?
4. Do the 2 fields: 'Static Config Target' and 'CP Server Cloudboot Target' have the IP address as determined in step 2 ?
5. Have the cloud boot IP addresses + netmask been entered in the Hypervisor Settings window? (Settings -> Hypervisors + Cloudboot IPs menu)
6. Does address of step 2 fall within the network IP address range?
Pre-check of dhcp, tftp and nfs server settings:
1. Verify the contents of the /home/onapp/dhcpd.conf. Does it contain the correct network settings as identified above? ( later versions may point to /onapp/configuration/dhcp/dhcpd.conf instead, should be include statement in /etc/dhcp/dhcpd.conf )
2. Is dhcpd running? (service dhcpd status)
3. Verify that tftpboot service is enabled and running ('grep disable /etc/xinetd.d/tftp' should be 'no', and 'service xinetd status')
4. Verify that ifs exports are setup correctly
PROMPT> cat /etc/exports
/onapp/templates <MGT SUBNET>(ro,no_root_squash)
/tftpboot/export <MGT SUBNET>(ro,no_root_squash)
/tftpboot/images/centos5/diskless/snapshot <MGT SUBNET>(rw,sync,no_root_squash)
where <MGT SUBNET> should match the HV management subnet setup in the first instance
5. Verify that nfs service is running correctly (service nfs status)
Pre-check of PXE boot templates:
1. Do the default template files exist?
PROMPT> ls -1 /tftpboot/pxelinux.cfg/template-*
2. Do the servers boot off a NIC other than eth0? If so, you should edit the default template and add the ETHERNET=<ETH DEV> parameter:
PROMPT> cat /tftpboot/pxelinux.cfg/default
append images/xen-images/xen-3.4.4.gz dom0_mem=819200 noreboot --- images/centos5/ramdisk-xen/vmlinuz ETHERNET=eth1 NFSNODEID=default NFSROOT=192.168.1.1:/tftpboot/export/centos5/xen CFGROOT=192.168.1.1:/tftpboot/images/centos5/diskless/snapshot onapp.permissive=1 pciback.hide= udevtimeout=10 --- images/centos5/ramdisk-xen/initrd.img
We recommend that you make the same change to the /tftpboot/pxelinux.cfg/template-default file to make the change persistent across CP UI updates
Boot time Visual check of a server from the server console:
1. Do you see the server attempting to PXE boot and acquire a DHCP address before looking for an internal storage drive?
2. Is it trying to DHCP off the correct ethernet device that is attached to the CP server management subnet?
3. Does it successfully acquire an IP address that matches one you entered in the UI?
4. Run 'grep DHCP /var/log/messages' and verify whether there is a recent entry in there for the new HV, it's mac address and the assigned IP address
5. Does the MAC address appear in the /var/lib/dhcpd/dhcp.leases file on the CP server?
Enabling additional debug for the PXE boot process:
1. Edit the /etc/xinetd.d/tftp file and adjust server args to match the following line
server_args = -v -v -s /tftpboot
2. service xinetd restart
You should now see additional logging submitted to the /var/log/messages log in the event of server bootup.
Enabling remote syslog to receive HV logs
1. Edit the /etc/sysconfig/syslog config file, change the SYSLOGD_OPTIONS line to:
SYSLOGD_OPTIONS="-m 0 -r -x"
2. Restart syslogd with '/etc/init.d/syslog restart'
Post-bootup analysis once server has successfully booted to a prompt:
1. What is output from ifconfig at the terminal?
2. Does the MAC address show up in the drop down menu in the 'Add new cloud boot hypervisor' wizard?
3. Can you login to the server over ssh from the CP server; using IP address of NIC in output from 1 above, issue:
ssh root@<IP ADDRESS>
after accepting the host key, it should login without requiring a password
4. If you can select the MAC address and go through to the next stage of the wizard, try booting the node as both xen and kvm in different tests, check that both nodes come up cleanly with the correct IP address assigned. Check also that after boot up they show as active in the CP server UI.
Verifying Integrated storage configuration and status
1. Verify that all servers in the same zone have all NICs assigned to the SAN attached to the same logical subnet
2. Ensure that all servers in the same zone are of the same type (Xen or KVM)
3. Use a different channel for the storage SAN between different zones to ensure connections are logically separate
4. When adding new servers, remember to select the 'Format disks' option in the UI to initialise all new drives
1. Check the UI to see if the expected number of drives have appeared
2. Logon to one of the Hypervisors and use the storage CLI to list the storage nodes that are visible ('onappstore nodes')
3. Make sure that all nodes are accessible over IP
Storagenodes not visible in the UI or from the CLI:
1. Start by disabling all hardware passthrough for the HVs and see if the drives appear. If they do, then the issue probably lies in the hardware configuration.
- Try each of the hardware enablement options: memory alignment, no_pci_disable and see if that makes a difference for detecting drives
- Contact the OnApp support team supplying detailed hardware description including motherboard, storage controllers, drives attached
2. When booted as KVM, logon to the Hypervisor and verify what drives are visible locally ('ls -lh /dev/sd; ls -lh /dev/cciss/')
3. When booted as KVM, logon to the hypervisor and verify whether the IO controller VM is running ('virsh dominfo STORAGENODE')
Storagenodes only partially visible:
1. Verify all network connections, make sure they are connected to the correct logical subnets
2. Verify any bonded connections, make sure that all members of the bond are connected to the same logical subnet
3. Make sure all HVs are utilising the same storage channel